From: Stefan Schantl Date: Tue, 26 Jul 2022 17:31:06 +0000 (+0200) Subject: logs.cgi/ids.dat: Proper display logged events. X-Git-Tag: v2.27-core170~4^2~113 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d0ee27149d53fff6c9701c554a690e422240e9e0;p=ipfire-2.x.git logs.cgi/ids.dat: Proper display logged events. Fix the regular expression to proper display the logged IDS events. Fixes #12899. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/logs.cgi/ids.dat b/html/cgi-bin/logs.cgi/ids.dat index 35c0dd1fd6..7991e3936b 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,$destport,$sid) = ("n/a","n/a","n/a","n/a","n/a","n/a","n/a","n/a","n/a", "n/a"); @refs = (); - $_ =~ m/:([0-9]{1,5})\] (.*) \[\*\*\]/; + $_ =~ m/:([0-9]{1,10})\] (.*) \[\*\*\]/; $title = &Header::cleanhtml($2,"y"); } if ($_ =~ m/Classification: (.*)\] \[Priority: (\d)\]/) {