TCP SYN Retransmission Evidence
Cheat sheet · https://pcornel.dk/topic.php?topic=314
Answer
A client that gets no answer to its SYN sends it again at doubling intervals — 1, 2, 4 seconds and so on — before giving up. Repeated SYNs in a capture are what a "connection timed out" looks like.
Remember
Repeated SYNs prove only that the client hears nothing. The break is in one of three places: the SYN never reaches the server, the server does not answer it, or the SYN-ACK is lost on the way back. Only a capture at the server tells which.
First checks
- Client:
tcpdump -ni <if> 'tcp[tcpflags] == tcp-syn' and host <server>— SYNs leaving and their timing. - Server:
tcpdump -ni <if> host <client> and tcp port <port>— does the SYN arrive, does a SYN-ACK leave? - Server:
ss -ltn— a listener on that port and address? - Server:
nstat -az TcpExtListenOverflows TcpExtListenDrops— listen queue full? traceroute -T -p <port> <server>— how far SYNs get.
Commands
ss -ltn
Verify in this order
SYN leaves the client → SYN arrives at the server → listener accepts it → SYN-ACK leaves the server → SYN-ACK reaches the client → ACK completes the handshake
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=314