summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2013-11-04 04:48:23 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:50:40 +0200
commit89fd6c4ac7c1a0c2b8529c644caeaa79159e81fe (patch)
tree13af958b5baf3703c136884fa22ec191f8be569b
parentb48755386073c7245c221c3108290473ae1b279e (diff)
We are not using nf_conntrack.
-rw-r--r--roles/common/tasks/sysctl.yml3
1 files changed, 0 insertions, 3 deletions
diff --git a/roles/common/tasks/sysctl.yml b/roles/common/tasks/sysctl.yml
index 4f52d3e..9adeece 100644
--- a/roles/common/tasks/sysctl.yml
+++ b/roles/common/tasks/sysctl.yml
@@ -30,23 +30,20 @@
# Do not accept ICMP redirects (prevent MITM attacks).
- { name: 'net.ipv4.conf.all.accept_redirects', value: 0 }
- { name: 'net.ipv6.conf.all.accept_redirects', value: 0 }
# Do not send ICMP redirects (we are not a router).
- { name: 'net.ipv4.conf.default.send_redirects', value: 0 }
- { name: 'net.ipv4.conf.all.send_redirects', value: 0 }
# Do not accept IP source route packets (we are not a router).
- { name: 'net.ipv4.conf.all.accept_source_route', value: 0 }
- { name: 'net.ipv6.conf.all.accept_source_route', value: 0 }
# Log Martian Packets.
- { name: 'net.ipv4.conf.all.log_martians', value: 1 }
# Ignore ICMP broadcasts.
- { name: 'net.ipv4.icmp_echo_ignore_broadcasts', value: 1 }
# Ignore bogus ICMP errors.
- { name: 'net.ipv4.icmp_ignore_bogus_error_responses', value: 1 }
-
- # Enable connection tracking flow accounting.
- - { name: 'net.netfilter.nf_conntrack_acct', value: 1 }