]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: make global challenge ack rate limitation per net-ns and default disabled
authorEric Dumazet <edumazet@google.com>
Tue, 30 Aug 2022 18:56:56 +0000 (11:56 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 1 Sep 2022 02:56:48 +0000 (19:56 -0700)
commit99f9e220afdae39194b25fc12b4da7729f272f7d
tree639b61f605e41a495d774f43c4e3062296bd3836
parentcfb642efb8478a64499231cc1d79b80e29cfe766
tcp: make global challenge ack rate limitation per net-ns and default disabled

Because per host rate limiting has been proven problematic (side channel
attacks can be based on it), per host rate limiting of challenge acks ideally
should be per netns and turned off by default.

This is a long due followup of following commits:

761ece095c43 ("tcp: enable per-socket rate limiting of all 'challenge acks'")
2354123cb772 ("tcp: mitigate ACK loops for connections as tcp_sock")
5525ed03c404 ("tcp: make challenge acks less predictable")

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jason Baron <jbaron@akamai.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/ip-sysctl.rst
include/net/netns/ipv4.h
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c