Get the latest tech news

TCP Fast Open? Not so fast (2021)


As TCP becomes more important to DNS, overhead is becoming an issue.

If a client never communicated before with the target server it will add a TCP option requesting a TFO cookie to the initial SYN packet. Figure 3 —SYN with request and (rejected) TFO cookie causes resend of request.After some head scratching it turns out that I was using the wrong servers to test. This is a known issue since 2017 and is caused by the anycast cluster not sharing the secret used to generate cookies between nodes, but this can be done by setting a sysctl or a specific option on the listening socket.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of TCP

TCP

Related news:

News photo

Why TCP needs 3 handshakes

News photo

Notes and Receipts (PCAPs) for TCP and ICMP Noise Storms

News photo

Falsehoods programmers believe about TCP