How do you read tcpdump output for a TCP handshake and a reset?
AdvancedConceptCommand-Line Tools & Diagnostics
Answer
IP 10.0.1.5.51234 > 10.0.2.9.443: Flags [S], seq 100, win 64240
IP 10.0.2.9.443 > 10.0.1.5.51234: Flags [S.], seq 500, ack 101
IP 10.0.1.5.51234 > 10.0.2.9.443: Flags [.], ack 501
S SYN, . ACK, P PSH, F FIN, R RST. SYN with no SYN-ACK suggests filtering. SYN followed by R. means connection refused. Repeated retransmitted SYNs are a path problem.
More on Command-Line Tools & Diagnostics
How do you check if a remote port is open?BeginnerHow do you list listening ports and the processes that own them?BeginnerWhat does `ping` tell you and what does it not?BeginnerHow does traceroute work and how do you read the output?BeginnerWhat is mtr and why is it better than traceroute?IntermediateHow do you query DNS with dig and read the answer?Beginner