From a6afa3068f3dbab114c6bbee7e6b485f6a80bce4 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Tue, 12 Sep 2023 00:05:21 +0100 Subject: factory-default/sys-apps/baselayout: add ipv6 icmp ratelimit --- factory-default/sys-apps/baselayout/etc/sysctl.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'factory-default') diff --git a/factory-default/sys-apps/baselayout/etc/sysctl.conf b/factory-default/sys-apps/baselayout/etc/sysctl.conf index 6ecec665..40d8fa2a 100644 --- a/factory-default/sys-apps/baselayout/etc/sysctl.conf +++ b/factory-default/sys-apps/baselayout/etc/sysctl.conf @@ -178,7 +178,9 @@ net.ipv4.icmp_ignore_bogus_error_responses = 1 # Rate limit ICMP packets to 4 per second net.ipv4.icmp_ratemask = 0xFFFF +net.ipv6.icmp.ratemask = 0-255 net.ipv4.icmp_ratelimit = 25 +net.ipv6.icmp.ratelimit = 25 # Enable SYN cookies net.ipv4.tcp_syncookies = 1 -- cgit v1.2.3