Skip to content

Commit fdd75f6

Browse files
committed
Disable conntrack on proxies
1 parent 56f2a3a commit fdd75f6

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

ansible/files/conntrack

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[fw_conntrack]
2+
command /bin/false
3+
[fw_forwarded_local]
4+
command /bin/false

ansible/roles/proxy-network/tasks/main.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,4 @@
4141
net.ipv4.tcp_max_tw_buckets = 262144
4242
# Allow reusing a 5-tuple in TIME_WAIT for new connections
4343
net.ipv4.tcp_tw_reuse = 1
44-
# Maximum number of connections netfilter is tracking
45-
# TODO: Why are we using conntrack at all?
46-
net.netfilter.nf_conntrack_max = 8388608
4744
notify: apply sysctl

ansible/scripts-proxy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
name:
99
- open-vm-tools
1010
state: present
11+
- name: Disable Munin conntrack plugins
12+
copy:
13+
dest: /etc/munin/plugin-conf.d/
14+
src: files/conntrack
1115
roles:
1216
- ansible-config-me
1317
- k5login

0 commit comments

Comments
 (0)