RFC tcp: Parallel SYN brownies patch series to mitigate SYN floods
Get series with b4
b4 am [email protected]Versions newest first
- v2 RFC Latest3 patches 0 repliesNew
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tcp: extract syncookie part of tcp_v4_conn_request()net/ | +98 | 0 replies | |
| 2/3 | tcp: Early SYN limit and SYN cookie handling to mitigate SYN floodsnet/ net/ | +55 | 0 replies | |
| 3/3 | tcp: SYN retransmits, fallback to slow-locked/no-cookie pathnet/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFC v2 PATCH 0/3] tcp: Parallel SYN brownies patch series to mitigate SYN floods
The following series is dubbed SYN brownies. The purpose is mitigate the effect of SYN flood DDoS attacks. This is done by making the SYN cookies stage parallel. In normal (non-overload) situations SYN packets are still processed under the bh_lock_sock().
This SYN brownies patch series will not be merged right away, as Eric Dumazet is working on a fully parallel SYN stage. Until that emerges and gets integrated, I recommend people with SYN flood issues, to use these patches to fix your immediate overload situations.
Thus, these patches can only be merged at Eric Dumazet's will/ACK, if he determines they don't conflict with his work.
Only IPv4 TCP is handled here. The IPv6 TCP code also need to be updated, but I'll deal with that part after, Eric Dumazet, have settled on a fully parallel SYN processing stage.
This is patch set have been tested on top Linus'es tree of commit v3.4-9209-gd590f9a.
---
Jesper Dangaard Brouer (3):
tcp: SYN retransmits, fallback to slow-locked/no-cookie path
tcp: Early SYN limit and SYN cookie handling to mitigate SYN floods
tcp: extract syncookie part of tcp_v4_conn_request()
net/ipv4/tcp_ipv4.c | 154 +++++++++++++++++++++++++++++++++++++++++-------- net/ipv4/tcp_output.c | 20 ++++-- 2 files changed, 144 insertions(+), 30 deletions(-)