aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-07-17 04:13:05 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-17 04:36:20 -0400
commit282f23c6ee343126156dd41218b22ece96d747e3 (patch)
tree9a306d99ed77d760078d29699edd3007507d709b /Documentation
parenta858d64b7709ca7bd2ee71d66ef3b7190cdcbb7d (diff)
tcp: implement RFC 5961 3.2
Implement the RFC 5691 mitigation against Blind Reset attack using RST bit. Idea is to validate incoming RST sequence, to match RCV.NXT value, instead of previouly accepted window : (RCV.NXT <= SEG.SEQ < RCV.NXT+RCV.WND) If sequence is in window but not an exact match, send a "challenge ACK", so that the other part can resend an RST with the appropriate sequence. Add a new sysctl, tcp_challenge_ack_limit, to limit number of challenge ACK sent per second. Add a new SNMP counter to count number of challenge acks sent. (netstat -s | grep TCPChallengeACK) Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Kiran Kumar Kella <kkiran@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/networking/ip-sysctl.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
index e20c17a7d34..e1e021594cf 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -565,6 +565,11 @@ tcp_limit_output_bytes - INTEGER
565 reduce the size of individual GSO packet (64KB being the max) 565 reduce the size of individual GSO packet (64KB being the max)
566 Default: 131072 566 Default: 131072
567 567
568tcp_challenge_ack_limit - INTEGER
569 Limits number of Challenge ACK sent per second, as recommended
570 in RFC 5961 (Improving TCP's Robustness to Blind In-Window Attacks)
571 Default: 100
572
568UDP variables: 573UDP variables:
569 574
570udp_mem - vector of 3 INTEGERs: min, pressure, max 575udp_mem - vector of 3 INTEGERs: min, pressure, max