Browse Source

Don't accept redirects

Bob Mottram 8 years ago
parent
commit
82a57bc41c
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      src/freedombone-utils-firewall

+ 0
- 1
src/freedombone-utils-firewall View File

@@ -184,7 +184,6 @@ function configure_internet_protocol {
184 184
         sed -i "s|#net.ipv4.conf.default.secure_redirects.*|net.ipv4.conf.default.secure_redirects = 0|g" /etc/sysctl.conf
185 185
         sed -i "s|net.ipv4.conf.default.secure_redirects.*|net.ipv4.conf.default.secure_redirects = 0|g" /etc/sysctl.conf
186 186
     fi
187
-    net.ipv4.conf.default.accept_redirects = 0
188 187
     if ! grep -q "net.ipv4.conf.default.accept_redirects" /etc/sysctl.conf; then
189 188
         echo "net.ipv4.conf.default.accept_redirects = 0" >> /etc/sysctl.conf
190 189
     else