In TCP header, what happens when both SYN and FIN flags are set to 1? Or, can both even be simultaneously set to 1 ?
What Happens When SYN and FIN Flags in TCP Headers Are Both Set to 1?
layer4protocol-theorytcptransport-protocol
layer4protocol-theorytcptransport-protocol
In TCP header, what happens when both SYN and FIN flags are set to 1? Or, can both even be simultaneously set to 1 ?
Best Answer
In normal TCP behavior, they should never both be set to 1 (on) in the same packet. There are many tools that exist that let you craft TCP packets, and the typical response to a packet with SYN and FIN bits set to one is a RST, since you are violating the rules of TCP.