diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-08-30 05:21:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-15 20:49:43 +0200 |
commit | 946cedccbd7387488d2cee5da92cdfeb28d2e670 (patch) | |
tree | fbb0d9c8dc11d6efee64e2a077a4951831932058 /net/econet | |
parent | pkt_sched: cls_rsvp.h was outdated (diff) | |
download | linux-946cedccbd7387488d2cee5da92cdfeb28d2e670.tar.xz linux-946cedccbd7387488d2cee5da92cdfeb28d2e670.zip |
tcp: Change possible SYN flooding messages
"Possible SYN flooding on port xxxx " messages can fill logs on servers.
Change logic to log the message only once per listener, and add two new
SNMP counters to track :
TCPReqQFullDoCookies : number of times a SYNCOOKIE was replied to client
TCPReqQFullDrop : number of times a SYN request was dropped because
syncookies were not enabled.
Based on a prior patch from Tom Herbert, and suggestions from David.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/econet')
0 files changed, 0 insertions, 0 deletions