From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] show IDS rule names correctly in WebUI log
Date: Mon, 20 Nov 2017 15:49:44 +0000 [thread overview]
Message-ID: <1511192984.4838.541.camel@ipfire.org> (raw)
In-Reply-To: <20171119180410.4d2727aa.peter.mueller@link38.eu>
[-- Attachment #1: Type: text/plain, Size: 939 bytes --]
Hello,
can you explain what this patch is supposed to change?
-Michael
On Sun, 2017-11-19 at 18:04 +0100, Peter Müller wrote:
> Fixes #11519.
>
> Signed-off-by: Peter Müller <peter.mueller(a)link38.eu>
> ---
> 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 44b3abdac..98176d690 100644
> --- a/html/cgi-bin/logs.cgi/ids.dat
> +++ b/html/cgi-bin/logs.cgi/ids.dat
> @@ -387,7 +387,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,4})\] (.*) \[\*\*\]/;
> + $_ =~ m/:([0-9]{1,5})\] (.*) \[\*\*\]/;
> $title = &Header::cleanhtml($2,"y");
> }
> if ($_ =~ m/Classification: (.*)\] \[Priority:
> (\d)\]/) {
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-11-20 15:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-19 17:04 Peter Müller
2017-11-20 15:49 ` Michael Tremer [this message]
2017-11-20 18:13 ` Peter Müller
2017-11-21 12:06 ` Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1511192984.4838.541.camel@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox