snort: update to 2.9.5.

add VRT/GPLv2 community rules.
fix wrong oinkcode warning if no oinkcode is needed.
This commit is contained in:
Arne Fitzenreiter
2013-07-15 17:05:44 +02:00
parent 1043cb0ae9
commit a0fa489f2f
20 changed files with 129 additions and 38 deletions

View File

@@ -32,8 +32,13 @@ do
rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
done
#
# Backup snort.conf
cp -f /etc/snort/snort.conf /etc/snort/snort.conf.backup
#
#Stop services
/etc/init.d/snort stop
#
#Extract files
@@ -44,8 +49,13 @@ extract_files
touch /var/ipfire/ethernet/wireless
chown nobody:nobody /var/ipfire/ethernet/wireless
#
# Import active rules to new snort.conf
grep "^include $RULE_PATH" /etc/snort/snort.conf.backup >> /etc/snort/snort.conf
#
#Start services
/etc/init.d/snort start
#
#Update Language cache