tcp: TCP Fast Open, Server Side
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v13 patches 3 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tcp: TCP Fast Open Server - header & support functionsDocumentation/ include/ include/ +6 more | +276 | 0 replies | |
| 2/3 | tcp: TCP Fast Open Server - support TFO listenersinclude/ include/ net/ +10 more | +330 | 0 replies | |
| 3/3 | tcp: TCP Fast Open Server - main code pathnet/ net/ | +309 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] tcp: TCP Fast Open, Server Side
From: Jerry Chu <[email protected]>
This patch series provides the server (passive open) side code for TCP Fast Open. Together with the earlier client side patches it completes the TCP Fast Open implementation.
The server side Fast Open code accepts data carried in the SYN packet with a valid Fast Open cookie, and passes it to the application right away, allowing application to send back response data, all before TCP's 3-way handshake finishes.
A simple cookie scheme together with capping the number of outstanding TFO requests (still in TCP_SYN_RECV state) to a limit per listener forms the main line of defense against spoofed SYN attacks.
For more details about TCP Fast Open see our IETF internet draft at http://www.ietf.org/id/draft-ietf-tcpm-fastopen-01.txt
and a research paper at
http://conferences.sigcomm.org/co-next/2011/papers/1569470463.pdf
A prototype implementation was first developed by Sivasankar Radhakrishnan ([email protected]).
A patch based on an older version of Linux kernel has been undergoing internal tests at Google for the past few months.
Jerry Chu (3):
tcp: TCP Fast Open Server - header & support functions
tcp: TCP Fast Open Server - support TFO listeners
tcp: TCP Fast Open Server - main code path
Documentation/networking/ip-sysctl.txt | 29 +++- include/linux/snmp.h | 4 + include/linux/tcp.h | 45 +++++- include/net/request_sock.h | 49 +++++-- include/net/tcp.h | 52 +++++- net/core/request_sock.c | 95 +++++++++++ net/ipv4/af_inet.c | 28 ++++- net/ipv4/inet_connection_sock.c | 57 ++++++- net/ipv4/proc.c | 4 + net/ipv4/syncookies.c | 1 + net/ipv4/sysctl_net_ipv4.c | 45 ++++++ net/ipv4/tcp.c | 49 +++++- net/ipv4/tcp_fastopen.c | 83 ++++++++++- net/ipv4/tcp_input.c | 75 +++++++-- net/ipv4/tcp_ipv4.c | 269 ++++++++++++++++++++++++++++++-- net/ipv4/tcp_minisocks.c | 61 ++++++-- net/ipv4/tcp_output.c | 21 ++- net/ipv4/tcp_timer.c | 39 +++++- net/ipv6/syncookies.c | 1 + net/ipv6/tcp_ipv6.c | 5 +- 20 files changed, 915 insertions(+), 97 deletions(-)
Signature · 1 line
1.7.7.3