• E
    tcp: Change possible SYN flooding messages · 946cedcc
    Eric Dumazet 提交于
    "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: NEric Dumazet <eric.dumazet@gmail.com>
    CC: Tom Herbert <therbert@google.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    946cedcc
tcp_ipv6.c 58.0 KB