From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Kapfer To: development@lists.ipfire.org Subject: [PATCH] suricata: Fixed logs.dat regex for suricata Date: Sun, 19 May 2019 15:54:32 +0200 Message-ID: <20190519135432.10771-1-ummeegge@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8322477121508133116==" List-Id: --===============8322477121508133116== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 --- 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 136fed77c..061525382 100644 --- a/html/cgi-bin/logs.cgi/log.dat +++ b/html/cgi-bin/logs.cgi/log.dat @@ -67,7 +67,7 @@ my %sections =3D ( 'openvpn' =3D> '(openvpnserver\[.*\]: |.*n2n\[.*\]: )', 'pakfire' =3D> '(pakfire:)', 'red' =3D> '(red:|pppd\[.*\]: |chat\[.*\]|pppoe\[.*\]|pptp\[.*\]|ppp= oa\[.*\]|pppoa3\[.*\]|pppoeci\[.*\]|ipppd|ipppd\[.*\]|kernel: ippp\d|kernel: = isdn.*|ibod\[.*\]|dhcpcd\[.*\]|modem_run\[.*\])', - 'suricata' =3D> '(suricata\[.*\]: )', + 'suricata' =3D> '(suricata: )', 'squid' =3D> '(squid\[.*\]: |squid: )', 'ssh' =3D> '(sshd(?:\(.*\))?\[.*\]: )', 'unbound' =3D> '(unbound: \[.*:.*\])(.*:.*$)', --=20 2.12.2 --===============8322477121508133116==--