Snort mailing list archives

Re: Any examples of logging via dynamic rules out there?


From: Jason Haar <Jason.Haar () trimble co nz>
Date: Thu, 23 Aug 2001 20:31:06 +1200

On Sat, Aug 18, 2001 at 10:45:24AM -0400, Martin Roesch wrote:
Use tagging:

alert tcp !$HOME_NET any -> $!HOME_NET 143 (flags: S; tag: session, 60,
seconds; msg: "Tracking inbound IMAP session";)

That'll do it.

Not quite what I was after. Currently I log to syslog and MySQL. I'm wanting
to capture suspusious sessions for post-analysis.

i.e. I want to turn on logging to a tcpdump logfile for specific rule
matches, but want the "default" to still be syslog and MySQL.

I've tried setting up a dynamic rule so that I could catch (say), a whole
IMAP session. I want it saved in tcpdump format, but can't get it to work.

Any ideas?

ruletype catchimap
{
 type dynamic
 output log_tcpdump: imapsessions.log
}

activate tcp !$HOME_NET any -> $HOME_NET 143 (flags: PA; activates: 1;)
catchimap tcp !$HOME_NET any -> $HOME_NET 143 (activated_by: 1;)

-- 
Cheers

Jason Haar

Unix/Special Projects, Trimble NZ
Phone: +64 3 9635 377 Fax: +64 3 9635 417

_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
http://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: