diff options
| author | Eric Dumazet <edumazet@google.com> | 2020-10-15 11:42:00 -0700 |
|---|---|---|
| committer | urevanth <urevanth@codeaurora.org> | 2021-04-08 12:24:09 +0530 |
| commit | eb318583f0d0c76a8100972439ddb6467b613e34 (patch) | |
| tree | c85a9f0ba46da31be4f0c91b86f86e5760f27f0e /include/linux/compiler-gcc.h | |
| parent | 4d293172a96b856e0f7915ee157f176f41b5539f (diff) | |
icmp: randomize the global rate limiter
[ Upstream commit b38e7819cae946e2edf869e604af1e65a5d241c5 ]
Keyu Man reported that the ICMP rate limiter could be used
by attackers to get useful signal. Details will be provided
in an upcoming academic publication.
Our solution is to add some noise, so that the attackers
no longer can get help from the predictable token bucket limiter.
Fixes: 4cdf507d5452 ("icmp: add a global rate limitation")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Keyu Man <kman001@ucr.edu>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Change-Id: I8373925e50fd35fd35d59fd32b8a0e7da9257683
Git-commit: d6c552505c0d1719dda42b4af2def0618bd7bf54
Git-repo: https://android.googlesource.com/kernel/msm
Signed-off-by: urevanth <urevanth@codeaurora.org>
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions
