From: Michael Tremer Date: Mon, 14 Mar 2022 15:54:04 +0000 (+0000) Subject: core166: Rebuild IPS rules X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b28f36faa526bc829a34509ec1703e466b374a6a;p=people%2Fstevee%2Fipfire-2.x.git core166: Rebuild IPS rules Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/core/166/filelists/files b/config/rootfiles/core/166/filelists/files index 549d2fbcdd..1ba79d4bbc 100644 --- a/config/rootfiles/core/166/filelists/files +++ b/config/rootfiles/core/166/filelists/files @@ -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 diff --git a/config/rootfiles/core/166/update.sh b/config/rootfiles/core/166/update.sh index ab31ee4f95..164f97b8ee 100644 --- a/config/rootfiles/core/166/update.sh +++ b/config/rootfiles/core/166/update.sh @@ -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