mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-19 15:32:59 +02:00
core166: Rebuild IPS rules
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
etc/rc.d/init.d/firewall
|
||||
srv/web/ipfire/cgi-bin/ids.cgi
|
||||
usr/lib/firewall/rules.pl
|
||||
var/ipfire/ids-functions.pl
|
||||
|
||||
@@ -55,6 +55,10 @@ ldconfig
|
||||
# Regenerate all initrds
|
||||
dracut --regenerate-all --force
|
||||
|
||||
# Rebuild IPS rules
|
||||
perl -e "require '/var/ipfire/ids-functions.pl'; &IDS::oinkmaster();"
|
||||
/etc/init.d/suricata reload
|
||||
|
||||
# Start services
|
||||
/etc/init.d/sshd restart
|
||||
|
||||
|
||||
Reference in New Issue
Block a user