From 830dfc978c00ac2134f6f4bcd26227182fd3212f Mon Sep 17 00:00:00 2001 From: Erik Kapfer Date: Sun, 19 May 2019 15:54:32 +0200 Subject: [PATCH] suricata: Fixed logs.dat regex for suricata Fixes: #12084 Since the Suricata regex did not match the messages output, Suricata was not displayed in the "System Logs" section in the WUI. Signed-off-by: Erik Kapfer Signed-off-by: Arne Fitzenreiter --- html/cgi-bin/logs.cgi/log.dat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/logs.cgi/log.dat b/html/cgi-bin/logs.cgi/log.dat index 136fed77c0..061525382e 100644 --- a/html/cgi-bin/logs.cgi/log.dat +++ b/html/cgi-bin/logs.cgi/log.dat @@ -67,7 +67,7 @@ my %sections = ( 'openvpn' => '(openvpnserver\[.*\]: |.*n2n\[.*\]: )', 'pakfire' => '(pakfire:)', 'red' => '(red:|pppd\[.*\]: |chat\[.*\]|pppoe\[.*\]|pptp\[.*\]|pppoa\[.*\]|pppoa3\[.*\]|pppoeci\[.*\]|ipppd|ipppd\[.*\]|kernel: ippp\d|kernel: isdn.*|ibod\[.*\]|dhcpcd\[.*\]|modem_run\[.*\])', - 'suricata' => '(suricata\[.*\]: )', + 'suricata' => '(suricata: )', 'squid' => '(squid\[.*\]: |squid: )', 'ssh' => '(sshd(?:\(.*\))?\[.*\]: )', 'unbound' => '(unbound: \[.*:.*\])(.*:.*$)', -- 2.39.2