core45: disable snort packet decode alerts also on update.
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 31 Jan 2011 18:10:49 +0000 (19:10 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 31 Jan 2011 18:10:49 +0000 (19:10 +0100)
config/rootfiles/core/45/update.sh

index 64be6d3..228ada4 100644 (file)
@@ -48,6 +48,10 @@ extract_files
 sed "s|MAILTO=root|MAILTO=|g" < /var/spool/cron/root.orig > /var/tmp/root.tmp
 fcrontab /var/tmp/root.tmp
 
+# Disable snort packet decoding alerts
+sed -i "s|#config disable_decode_alerts|config disable_decode_alerts|g" /etc/snort/snort.conf
+sed -i "s|#config disable_tcpopt_alerts|config disable_tcpopt_alerts|g" /etc/snort/snort.conf
+
 #
 #Start services
 echo Starting Proxy