Skip to content

net/tcp_fastopen: Fix for various TFO firewall issues

Wei Wang netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net/tcp_fastopen: Disable active side TFO in certain scenariosDocumentation/networking/ip-sysctl.txt include/linux/tcp.h include/net/tcp.h +5 more+160 -42 replies
2/3net/tcp_fastopen: Add snmp counter for blackhole detectioninclude/net/tcp.h include/uapi/linux/snmp.h net/ipv4/proc.c +2 more+8 -52 replies
3/3net/tcp_fastopen: Remove mss check in tcp_write_timeout()net/ipv4/tcp_timer.c+3 -42 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchYuchung ChengNeal Cardwell
1/3A-b A-b
2/3A-b A-b
3/3A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] net/tcp_fastopen: Fix for various TFO firewall issues

From: Wei Wang <[email protected]>

Currently there are still some firewall issues in the middlebox which make the middlebox drop packets silently for TFO sockets. This kind of issue is hard to be detected by the end client.

This patch series tries to detect such issues in the kernel and disable TFO temporarily.
More details about the issues and the fixes are included in the following patches.

Wei Wang (3):
net-tcp_fastopen: Disable active side TFO in certain scenarios
net-tcp_fastopen: Add snmp counter for blackhole detection
net-tcp_fastopen: Remove mss check in tcp_write_timeout()

 Documentation/networking/ip-sysctl.txt |   8 +++
 include/linux/tcp.h                    |   1 +
 include/net/tcp.h                      |   6 ++
 include/uapi/linux/snmp.h              |   1 +
 net/ipv4/proc.c                        |   1 +
 net/ipv4/sysctl_net_ipv4.c             |  21 +++++++
 net/ipv4/tcp.c                         |   1 +
 net/ipv4/tcp_fastopen.c                | 102 +++++++++++++++++++++++++++++++++
 net/ipv4/tcp_input.c                   |  23 ++++++--
 net/ipv4/tcp_ipv4.c                    |   3 +
 net/ipv4/tcp_timer.c                   |   7 +--
 11 files changed, 166 insertions(+), 8 deletions(-)
Signature · 1 line
2.12.2.816.g2cccc81164-goog