• Eric Dumazet's avatar
    tcp: implement RFC 5961 4.2 · 0c24604b
    Eric Dumazet authored
    Implement the RFC 5691 mitigation against Blind
    Reset attack using SYN bit.
    
    Section 4.2 of RFC 5961 advises to send a Challenge ACK and drop
    incoming packet, instead of resetting the session.
    
    Add a new SNMP counter to count number of challenge acks sent
    in response to SYN packets.
    (netstat -s | grep TCPSYNChallenge)
    
    Remove obsolete TCPAbortOnSyn, since we no longer abort a TCP session
    because of a SYN flag.
    Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
    Cc: Kiran Kumar Kella <kkiran@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    0c24604b
proc.c 17.8 KB