mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-01 15:52:55 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user