]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Core Update 171: Ship and restart Suricata
authorPeter Müller <peter.mueller@ipfire.org>
Fri, 30 Sep 2022 15:48:03 +0000 (15:48 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Fri, 30 Sep 2022 15:48:03 +0000 (15:48 +0000)
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
config/rootfiles/core/171/filelists/libhtp [new symlink]
config/rootfiles/core/171/filelists/suricata [new symlink]
config/rootfiles/core/171/update.sh

diff --git a/config/rootfiles/core/171/filelists/libhtp b/config/rootfiles/core/171/filelists/libhtp
new file mode 120000 (symlink)
index 0000000..676e2c5
--- /dev/null
@@ -0,0 +1 @@
+../../../common/libhtp
\ No newline at end of file
diff --git a/config/rootfiles/core/171/filelists/suricata b/config/rootfiles/core/171/filelists/suricata
new file mode 120000 (symlink)
index 0000000..f671f69
--- /dev/null
@@ -0,0 +1 @@
+../../../common/suricata
\ No newline at end of file
index 38aa57a65bce3902650579ac63baeafcaae7d08d..a8172a929852622172be4eb4dc224e31c51f3f85 100644 (file)
@@ -50,6 +50,7 @@ done
 /usr/local/bin/openvpnctrl -k
 /usr/local/bin/openvpnctrl -kn2n
 /etc/rc.d/init.d/ipsec stop
+/etc/init.d/rc.d/suricata stop
 /etc/rc.d/init.d/collectd stop
 
 KVER="xxxKVERxxx"
@@ -226,6 +227,9 @@ chown -v root:root /var/ipfire/backup/{in,ex}clude*
 
 # Start services
 /etc/rc.d/init.d/collectd start
+if grep -q "ENABLED=on" /var/ipfire/suricata/settings; then
+       /etc/rc.d/init.d/suricata start
+fi
 /etc/rc.d/init.d/unbound start
 /etc/rc.d/init.d/apache start
 if grep -q "ENABLED=on" /var/ipfire/ovpn/settings; then