public inbox for gentoo-security@lists.gentoo.org
 help / color / mirror / Atom feed
From: Chris <chris@services-4u.net>
To: gentoo-security@lists.gentoo.org
Subject: Re: [gentoo-security] prelude-lml and log_prefix_regex
Date: Sat, 15 Oct 2005 11:45:54 +0200	[thread overview]
Message-ID: <4350CFD2.3060600@services-4u.net> (raw)
In-Reply-To: <E1EQiQ5-0006HN-5Y@cp02.buyhttp.com>

Yeah, this did the trick :)
Thanks alot Sheran, now i'm able to get some sleep *smiling from one ear
to the other*

Greets, Chris






Sheran Gunasekera wrote:

>Hi Chris,
>Give this a go:
>(?P<timestamp>.{15}).*?\>\s(?P<hostname>.*?)\s(?:(?P<process>\S+?)(?:\[(?P<pid>[0-9]+)\])?:)
>
>I'm not using either Snort or Prelude, but I tried this on Python and I
>think it
>yields the results you require.  I wonder about only capturing the first 15
>characters for the timestamp, though.  It comes up a bit short.  As I am
>unsure
>of the context it is being used, I cannot comment, but I would capture
>at least
>19 characters:
>
>(?P<timestamp>.{19}).*?\>\s(?P<hostname>.*?)\s(?:(?P<process>\S+?)(?:\[(?P<pid>[0-9]+)\])?:)
>
>Take care,
>Sheran 
>  
>
-- 
gentoo-security@gentoo.org mailing list



  reply	other threads:[~2005-10-15  9:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-15  9:33 [gentoo-security] prelude-lml and log_prefix_regex Sheran Gunasekera
2005-10-15  9:45 ` Chris [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-10-13 19:17 [gentoo-security] hosts.{allow,deny} vs. iptables Łukasz C. Jokiel
2005-10-15  8:10 ` [gentoo-security] prelude-lml and log_prefix_regex Chris

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=4350CFD2.3060600@services-4u.net \
    --to=chris@services-4u.net \
    --cc=gentoo-security@lists.gentoo.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