Skip to content

Commit

Permalink
remove setting conntrack values a second time
Browse files Browse the repository at this point in the history
The setting
```net.ipv4.netfilter.ip_conntrack_max = 1048576```
is already set at /etc/sysctl.d/conntrack.conf
and is configurable at
[$conntrack_max](https://github.com/ffnord/ffnord-puppet-gateway/blob/master/manifests/params.pp#L11)
That the values are not set at boot are track at [issue 168](ffnord/ffnord-puppet-gateway#168)
The file creation via puppet is tracked at issue [issue 172](ffnord/ffnord-puppet-gateway#172)
  • Loading branch information
fsteinel committed Jan 16, 2017
1 parent a3c9ea1 commit 325a4e4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions post-puppet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ interface br-$TLD
EOF
cp /etc/radvd.conf /etc/radvd.conf.d/interface-br-$TLD.conf

# set conntrack_max higher so more connections are possible:
/sbin/sysctl -w net.netfilter.nf_conntrack_max=1048576 && echo net.ipv4.netfilter.ip_conntrack_max = 1048576 >> /etc/sysctl.conf

# increase the hop penalty
echo "60">/sys/class/net/bat-$TLD/mesh/hop_penalty

Expand Down

0 comments on commit 325a4e4

Please sign in to comment.