Our company is frequently involved in troubleshooting connection issues after a firewall implementation. Most of the times the firewall is blocking connections on ports which we were not aware of during investigation. Is it possible to have a filter which displays all TCP connection attempts , being [SYN] packages, which are NOT followed by a {SYN,ACK] acknowledgment from the destination host? This way we can quickly filter on connection attempts being blocked by the firewall. Regards, Fred van der Hoorn asked 24 May '13, 11:24 Fred van der... |
2 Answers:
I have not found a way (yet) to find a single SYN that does not get answered by a SYN/ACK. However, usually these are followed by a retransmission which can be found by using the filter:
(You need to enable "Conversation Timestamps" in the TCP protocol preferences for this to work) answered 24 May '13, 11:55 SYN-bit ♦♦ |
tcp.flags==0x0002 in your display filter will display only "SINs" (or) tcp[13:1]==02 answered 24 May '13, 11:30 krishnayeddula edited 24 May '13, 11:38 True but it does not tell me whether the host the syn package has as destination responds with a syn,ack. I want to see all packages which are NOT followed by a syn,ack from the destination host. In that way I can quickly see to which hosts packages are send but for which NO response is received. (24 May '13, 11:37) Fred van der... Follow tcp stream option on syn packet will tell the whole story of that particular conversation. On syn packet right click and do a follow tcp stream to figure out on which conversation the syn-acks are missing. (OR) Apply this display filter tcp.flags==0x0002 || tcp.flags==0x0012 (24 May '13, 11:42) krishnayeddula |
Superb!This is a classic example for rookie's answer vs seasoned person...
This might be something where a expert message could be added in the future since they help a lot when searching for things that depend on packet relations. Something like "[lonely SYN]" :-)
Hi,
Your help is highly appreciated.
I will give it a try...where can I find the option enable "Conversation Timestamps" in the TCP protocol preferences ?
FYI Me question looks a lot like the question asked in "How to filter out streams that contain multiple SYN packets".
regards,
fred
Edit>Preferences>Protocols>TCP and you can check mark conversation timestamps box
Solved...
The trick of enabling tcp timestamps AND the filter "tcp.flags==2 && tcp.time_relative>0" did the trick . Many thanks..this makes troubleshooting so much easier.
regards
fred