Eric Dumazet 946cedccbd 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>
2011-09-15 14:49:43 -04:00
..
2011-04-22 11:04:14 -07:00
2011-07-26 16:49:47 -07:00
2011-04-22 11:04:14 -07:00
2011-03-12 15:08:49 -08:00
2011-07-23 20:06:00 -07:00
2011-07-21 13:47:54 -07:00
2011-05-12 23:03:46 -04:00
2011-07-01 16:11:15 -07:00
2011-02-01 15:35:25 -08:00
2011-06-08 17:05:30 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-07-07 00:27:05 -07:00
2010-10-27 11:37:32 -07:00
2010-07-12 12:57:54 -07:00