mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 10:52:57 +02:00
firewall: Disable all connection tracking helpers by default
This will mitigate exploiting networks secured by IPFire using NAT Slipstreaming: https://lists.ipfire.org/pipermail/development/2021-February/009303.html Suggested-by: Peter Müller <peter.mueller@ipfire.org> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -139,12 +139,7 @@ $(TARGET) :
|
||||
cp $(DIR_SRC)/config/suricata/convert-ids-modifysids-file /usr/sbin/convert-ids-modifysids-file
|
||||
|
||||
# Add conntrack helper default settings
|
||||
for proto in FTP H323 IRC SIP TFTP; do \
|
||||
echo "CONNTRACK_$${proto}=on" >> $(CONFIG_ROOT)/optionsfw/settings; \
|
||||
done
|
||||
|
||||
# Do not enable these by default because these are broken
|
||||
for proto in AMANDA PPTP; do \
|
||||
for proto in AMANDA FTP H323 IRC PPTP SIP TFTP; do \
|
||||
echo "CONNTRACK_$${proto}=off" >> $(CONFIG_ROOT)/optionsfw/settings; \
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user