icmp: better deal with DDOS
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 0 repliesApplied 5/5
- v15 patches 6 repliesSuperseded
Patches in v2 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | icmp: prevent possible overflow in icmp_global_allow()net/ | +2 | 0 replies | Applied |
| 2/5 | inet: move icmp_global_{credit,stamp} to a separate cache lineinclude/ | +7 | 0 replies | Applied |
| 3/5 | ipv6: icmp: remove obsolete code in icmpv6_xrlim_allow()Documentation/ net/ net/ | +6 | 0 replies | Applied |
| 4/5 | ipv4: icmp: icmpv4_xrlim_allow() optimization if net.ipv4.icmp_ratelimit is zeronet/ | +10 | 0 replies | Applied |
| 5/5 | ipv6: icmp: icmpv6_xrlim_allow() optimization if net.ipv6.icmp.ratelimit is zeronet/ | +6 | 0 replies | Applied |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Kuniyuki Iwashima |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 net 0/5] icmp: better deal with DDOS
When dealing with death of big UDP servers, admins might want to increase net.ipv4.icmp_msgs_per_sec and net.ipv4.icmp_msgs_burst to big values (2,000,000 or more).
They also might need to tune the per-host ratelimit to 1ms or 0ms in favor of the global rate limit.
This series fixes bugs showing up in all these needs.
Eric Dumazet (5):
icmp: prevent possible overflow in icmp_global_allow()
inet: move icmp_global_{credit,stamp} to a separate cache line
ipv6: icmp: remove obsolete code in icmpv6_xrlim_allow()
ipv4: icmp: icmpv4_xrlim_allow() optimization if
net.ipv4.icmp_ratelimit is zero
ipv6: icmp: icmpv6_xrlim_allow() optimization if
net.ipv6.icmp.ratelimit is zero
Documentation/networking/ip-sysctl.rst | 7 ++++--- include/net/netns/ipv4.h | 9 +++++++-- net/ipv4/icmp.c | 17 ++++++++++++----- net/ipv6/af_inet6.c | 2 +- net/ipv6/icmp.c | 15 +++++++-------- 5 files changed, 31 insertions(+), 19 deletions(-)
Signature · 1 line
2.53.0.310.g728cabbaf7-goog