From 82a57bc41c8dc77ba8e67ae2c7cd1c2d1b96ec3c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 30 Nov 2016 17:04:56 +0000 Subject: [PATCH] Don't accept redirects --- src/freedombone-utils-firewall | 1 - 1 file changed, 1 deletion(-) diff --git a/src/freedombone-utils-firewall b/src/freedombone-utils-firewall index 9c21932b..03f18033 100755 --- a/src/freedombone-utils-firewall +++ b/src/freedombone-utils-firewall @@ -184,7 +184,6 @@ function configure_internet_protocol { sed -i "s|#net.ipv4.conf.default.secure_redirects.*|net.ipv4.conf.default.secure_redirects = 0|g" /etc/sysctl.conf sed -i "s|net.ipv4.conf.default.secure_redirects.*|net.ipv4.conf.default.secure_redirects = 0|g" /etc/sysctl.conf fi - net.ipv4.conf.default.accept_redirects = 0 if ! grep -q "net.ipv4.conf.default.accept_redirects" /etc/sysctl.conf; then echo "net.ipv4.conf.default.accept_redirects = 0" >> /etc/sysctl.conf else