]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
core155: Disable all connection tracking helpers
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 2 Mar 2021 18:35:13 +0000 (18:35 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 2 Mar 2021 18:35:13 +0000 (18:35 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/155/update.sh

index 5c7a3d3a9c761d0f3c6ad3d2c5d2616831afe41d..b0e8f9ad84a2a6c49f49057ac544b0897d8a9758 100644 (file)
@@ -60,6 +60,10 @@ extract_files
 # update linker config
 ldconfig
 
+# Disable all connection tracking helper
+sed -E -e "s/^CONNTRACK_(.*?)=on/CONNTRACK_\1=off/g" \
+       -i /var/ipfire/firewall/optionsfw
+
 # Update Language cache
 /usr/local/bin/update-lang-cache