Use it when connections time out without a reset or an ICMP message, or succeed only after a delay of exactly one or three seconds.
TCP SYN Retransmission Evidence
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.
1. Capture on the server while the client tries.
2. No SYN arrives → forward path: routing or a firewall; TCP traceroute shows where.
3. SYN arrives, no SYN-ACK → host firewall, wrong listen address, or a full listen queue.
4. SYN-ACK leaves, client never sees it → return route or a stateful firewall seeing one direction.
5. Connects after exactly 1 s or 3 s → first SYN dropped, retry accepted.
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
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
tcpdump -ni eth0 'tcp[tcpflags] == tcp-syn' and host 192.0.2.10Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational verification Verify boundary
tcpdump -ni eth0 'tcp[tcpflags] == tcp-syn' and host 192.0.2.10
tcpdump -ni eth0 host 198.51.100.20 and tcp port 443
ss -ltn
nstat -az TcpExtListenOverflows TcpExtListenDrops
traceroute -T -p 443 192.0.2.10
Run the first on the client: it shows the SYNs leaving and their timing. Run the second on the server, filtering on the client's address: it shows whether the SYN arrives and whether a SYN-ACK goes out. ss -ltn confirms a listener on the port and address. nstat on a Linux server counts connection attempts dropped because the listen queue was full. A TCP traceroute to the port shows how far SYNs get.
Known-good: one SYN, answered by a SYN-ACK within the path's round-trip time, seen at both ends.
Step 2 Failure isolation workflow Narrow the fault
- SYNs leave the client; none reach the server. A firewall or routing problem on the forward path; the TCP traceroute shows where they stop.
- SYNs reach the server; no SYN-ACK leaves. The server's own firewall, or the service listens on another address or only on localhost.
- SYN-ACKs leave the server; none reach the client. The return path: a missing route back, or a stateful firewall seeing only one direction.
- Connections succeed, but take exactly 1 or 3 seconds. The first SYN is being dropped and the retry accepted — a full listen queue or an intermittently lossy path.
- The listen-overflow counters are rising. The application accepts connections too slowly; raise its capacity or backlog.
- It works from some sources and not from others. A filter based on source address, or a return route that exists for some networks only.
- A SYN-ACK arrives and the client sends a reset. The reply does not match what the client sent — typically a translated address.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
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.
- 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.
ReferenceWhat it is1 section · depth on demand
Mechanics & mental model
When a client tries to open a TCP connection and gets no answer, it sends the SYN again — after one second, then two, four and so on — before giving up. A capture showing the same SYN repeated at growing intervals is the picture of a connection attempt that is going unanswered.
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
Repeated SYNs are what a "connection timed out" error looks like on the wire. They prove only that the client is trying and hearing nothing. Whether the SYN never reached the server, the server chose not to answer, or the answer was lost on the way back are three different faults — and they can only be told apart by looking at the server's end as well.
ReferenceHow it works1 section · depth on demand
How it works
The pattern. The first SYN is followed by retransmissions with the same sequence number at doubling intervals. Linux sends the SYN again after about 1, 2, 4, 8, 16 and 32 seconds and gives up after roughly two minutes; Windows makes fewer attempts and gives up after about twenty seconds. The application then reports a timeout.
Contrast with the other outcomes: a reset in reply means the host is reachable and refuses; an ICMP unreachable means a router or firewall reports the failure. Silence is the least informative answer.
Three places the exchange can break.
| Seen at the server | Meaning |
|---|---|
| No SYN arrives | Lost or dropped on the way there: no route, a firewall dropping silently, or the wrong destination address |
| The SYN arrives, no SYN-ACK is sent | The server itself discards it: a host firewall, nothing bound to that address, or a full connection queue |
| The SYN arrives and a SYN-ACK is sent | The reply is lost on the way back: no return route, a firewall that only saw one direction, or a reverse-path check |
Details worth knowing.
- Asymmetric routing. If the SYN-ACK returns by another path through a stateful firewall that never saw the SYN, the firewall drops it.
- A full queue. A server that is not accepting connections fast enough fills its backlog and silently ignores further SYNs. The client's retry a second later often succeeds, which shows as connections that take exactly one or three seconds to open.
- A host that is down. The last router cannot resolve the server's MAC address. It may return an ICMP host-unreachable message after a few seconds, or nothing.
- Reply to the wrong place. With address translation in the path, the SYN-ACK may come from an address the client does not expect; the client ignores it and keeps retrying.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
SYN retransmission timing as evidence
When a SYN gets no answer, the client retransmits it with exponential backoff. RFC 6298 sets the initial retransmission timeout at 1 second before any RTT is measured, and doubles it on each expiry. RFC 9293 requires a TCP to keep retrying a SYN for at least 3 minutes before giving up, unless the application sets a shorter limit. If the SYN timer has expired, RFC 6298 resets the RTO to 3 seconds once the connection is established, because the path has proved slow or lossy.
What the retry pattern looks like
| Attempt | Time after first SYN (1 s initial RTO, doubling) |
|---|---|
| 1 | 0 s |
| 2 | 1 s |
| 3 | 3 s |
| 4 | 7 s |
| 5 | 15 s |
| 6 | 31 s |
| 7 | 63 s |
Linux uses this pattern with net.ipv4.tcp_syn_retries (default 6). It gives up about 127 seconds after the first SYN. Windows and macOS use fewer, differently spaced retries.
Reading SYN captures
| Pattern | Meaning |
|---|---|
| SYNs at 0, 1, 3, 7 s with no reply | Dropped silently: a firewall, routing, or the host is down |
| SYN, then RST | Port closed, or a firewall rejecting |
| SYN, then ICMP unreachable | A router or firewall reporting why |
| SYN-ACK arrives after the second SYN | A slow server or a lossy first SYN; connection still succeeds |
| SYN-ACK reaches the server's side but not the client | Return path or asymmetric firewall problem |
host$ sudo tcpdump -ni eth0 'tcp[tcpflags] == tcp-syn and host 198.51.100.20'
11:10:00.000 IP 10.110.0.64.50600 > 198.51.100.20.8443: Flags [S], seq 22801, win 64240, length 0
11:10:01.012 IP 10.110.0.64.50600 > 198.51.100.20.8443: Flags [S], seq 22801, win 64240, length 0
11:10:03.044 IP 10.110.0.64.50600 > 198.51.100.20.8443: Flags [S], seq 22801, win 64240, length 0
11:10:07.108 IP 10.110.0.64.50600 > 198.51.100.20.8443: Flags [S], seq 22801, win 64240, length 0
host$ sysctl net.ipv4.tcp_syn_retries
host$ curl -v --connect-timeout 5 https://198.51.100.20:8443/
fw# show logging | include 198.51.100.20
The same sequence number in each SYN shows these are retransmissions of one attempt, not new connections. Connect timeouts of 3, 9 or 21 seconds in applications usually correspond to the number of SYN retries they allow.
Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → TCP SYN Retransmission Evidence. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc9293.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Operational notes
Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.