From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] logs.cgi/ids.dat: Proper display logged events. Date: Tue, 26 Jul 2022 19:31:06 +0200 Message-ID: <20220726173106.2905-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7170166718015951722==" List-Id: --===============7170166718015951722== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Fix the regular expression to proper display the logged IDS events. Fixes #12899. Signed-off-by: Stefan Schantl --- html/cgi-bin/logs.cgi/ids.dat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/logs.cgi/ids.dat b/html/cgi-bin/logs.cgi/ids.dat index 35c0dd1fd..7991e3936 100644 --- a/html/cgi-bin/logs.cgi/ids.dat +++ b/html/cgi-bin/logs.cgi/ids.dat @@ -414,7 +414,7 @@ sub processevent } ($title,$classification,$priority,$date,$time,$srcip,$srcport,$destip,$d= estport,$sid) =3D ("n/a","n/a","n/a","n/a","n/a","n/a","n/a","n/a","n/a", "n/= a"); @refs =3D (); - $_ =3D~ m/:([0-9]{1,5})\] (.*) \[\*\*\]/; + $_ =3D~ m/:([0-9]{1,10})\] (.*) \[\*\*\]/; $title =3D &Header::cleanhtml($2,"y"); } if ($_ =3D~ m/Classification: (.*)\] \[Priority: (\d)\]/) { --=20 2.30.2 --===============7170166718015951722==--