I want to list the start of every TCP connection on a pcap file. I know that in order to detect the end of the connection I can use this filter But I can't seem to find what flags are set when a TCP connection is started. Can anyone help me? asked 08 Apr '16, 10:47 twistedx edited 08 Apr '16, 10:48 |
One Answer:
tcp.flags.syn==1 answered 08 Apr '16, 11:02 Jim Aragon |
Thank you!
That filter will show the first two packets of the TCP handshake. Perhaps better, the following filter will show only the first packet of the handshake, the one that is actually requesting that a connection be established:
tcp.flags.syn==1 && tcp.flags.ack==0