08-09-2018 05:22 AM - edited 02-21-2020 08:05 AM
Hi,
how do I enable the support for TFO (RFC 7413) in Cisco Adaptive Security Appliance Software Version 9.2 ?
It seems not to work out of the box, i.e. normal connection establishment (handshake without application data bytes) works well while TFO (syn,syn-ack with application data bytes) connection establishment is rejected.
Regards,
CaB
Solved! Go to Solution.
08-09-2018 08:58 AM
Hi
ASA can do TCP normalization :
You can modify it with TCP map :
but as far as I see, per default, SYN with data is supported but not SYN/ACK with data:
Regards
08-09-2018 06:44 AM
Hi, I don't see this RFC supported by ASA
https://www.cisco.com/c/en/us/td/docs/security/asa/roadmap/asa_new_features.html
As workaround/test I think you could try with TCP state bypass.
Regards.-
08-09-2018 08:58 AM
Hi
ASA can do TCP normalization :
You can modify it with TCP map :
but as far as I see, per default, SYN with data is supported but not SYN/ACK with data:
Regards
08-10-2018 07:10 AM
Hi Jerome,
that was a very helpfull hint. I have started to modify the tcp normalization by allowing data in syn-acks.
syn-ack allow
As this did not fix the problem I configured the tcp map to be most liberal, i.e.:
tcp-map tcp-map-test
synack-data allow
invalid-ack allow
tcp-options range 6 7 allow
tcp-options range 9 255 allow
urgent-flag allow
Next week I will try to figure out which of the options are necessary in order to allow TFO.
Regards,
CaB
02-15-2019 07:20 AM
Did you ever get this to work, or is it maybe anyway supported now?
02-18-2019 12:05 AM
Hi patoberli,
yes, I got it to work. Here are the code snippets:
tcp-map tcp-map-fastopen
synack-data allow
tcp-options range 6 7 allow
tcp-options range 9 255 allow
You will need a class map to match the tcp stream:
class-map TCP
match port tcp range 1 65535
And you have to apply it in the policy section:
policy-map global_policy
class inspection_default
inspect ftp
...
inspect dns dns-map-60
class TCP
set connection random-sequence-number disable
set connection advanced-options tcp-map-fastopen
So the example above will apply the support for tcp fastopen to all tcp connections as the class map (TCP) matches any tcp port.
Regards,
CaB
02-18-2019 06:57 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide