Jump to content

TCP Fast Open

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 2602:306:308b:aea0:bc51:95c9:92d1:417f (talk) at 04:47, 20 August 2016 (Apple's operating systems currently support TFO.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer networking, TCP Fast Open (TFO) is an extension to speed up the opening of successive Transmission Control Protocol (TCP) connections between two endpoints. It works by using a TFO cookie (a TCP option), which is a cryptographic cookie stored on the client and set upon the initial connection with the server.[1] When the client later reconnects, it sends the initial SYN packet along with the TFO cookie data to authenticate itself. If successful, the server may start sending data to the client even before the reception of the final ACK packet of the three-way handshake, skipping that way a round-trip delay and lowering the latency in the start of data transmission.

The cookie is generated by applying a block cipher keyed on a key held secret by the server to the client's IP address, generating an authentication tag that is difficult for third parties to spoof, even if they can forge a source IP address or make two-way connections to the same server from other IP addresses. Although it uses cryptographic techniques to generate the cookie, TFO is not intended to provide more security than the three-way handshake it replaces, and does not give any form of cryptographic protection to the resulting TCP connection, or provide identity assurance about either endpoint. It also is not intended to be resistant to man-in-the-middle attacks.

The TFO proposal was originally presented in 2011[2] and was, as of February 2012, an IETF Internet Draft.[3] The specification was published as RFC 7413 in December 2014.[4] TCP Fast Open shares the goal of bypassing the three-way handshake of TCP with an earlier proposal from 1994, called T/TCP (RFC 1644). In contrast to TCP Fast Open, T/TCP paid no attention to security,[4] opening a path for vulnerabilities and failing to gain traction.

TFO implementations include the following:

See also

References

  1. ^ Kerrisk, Michael (2012-08-01). "TCP Fast Open: expediting web services". LWN.net.
  2. ^ Radhakrishnan S, Cheng Y, Chu J, Jain A, Raghavan B (2011-12-06). "TCP Fast Open" (PDF). ACM CoNEXT.
  3. ^ Cheng Y, Chu J, Radhakrishnan S, Jain A (2013-01-26). TCP Fast Open. IETF. I-D draft-ietf-tcpm-fastopen-06.{{citation}}: CS1 maint: multiple names: authors list (link)
  4. ^ a b Yuchung Cheng; Jerry Chu; Sivasankar Radhakrishnan; Arvind Jain (December 2014). "TCP Fast Open". IETF. Retrieved 10 January 2015. {{cite web}}: Unknown parameter |last-author-amp= ignored (|name-list-style= suggested) (help)
  5. ^ Kerrisk, Michael (2012-08-01). "TCP Fast Open: expediting web services". LWN.net. The client-side support has been merged for Linux 3.6
  6. ^ Vaughan-Nichols, Steven J (2012-12-11). "Linux 3.7 arrives, ARM developers rejoice". Linux and Open Source. ZDNet. Linux 3.7. TCP Fast Open will now be supported on servers
  7. ^ "Linux Kernel 3.13, Section 1.10. TCP Fast Open enabled by default". kernelnewbies.org. 19 January 2014. Retrieved 11 February 2014.
  8. ^ "Linux Kernel 3.16, Section 1.4. TCP Fast Open server mode on IPv6 support". kernelnewbies.org. 3 August 2014. Retrieved 14 September 2014.
  9. ^ "Your App and Next Generation Networks". Apple Inc. 2015.
  10. ^ "Windows 10 build 14352 - New web platform features". Microsoft. Retrieved 2016-05-27.
  • RFC 7413 specification