Snort mailing list archives

Re: logging entire sessions


From: Erek Adams <erek () theadamsfamily net>
Date: Tue, 21 Aug 2001 20:00:39 -0700 (PDT)


Have a look at this message from a few days ago....

-----
Erek Adams
Nifty-Type-Guy
TheAdamsFamily.Net

---------- Forwarded message ----------
Date: Sat, 18 Aug 2001 10:45:24 -0400
From: Martin Roesch <roesch () sourcefire com>
To: Jason Haar <Jason.Haar () trimble co nz>
Cc: snort users <snort-users () lists sourceforge net>
Subject: Re: [Snort-users] Any examples of logging via dynamic rules out
    there?

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.

     -Marty

Jason Haar wrote:

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

--
Martin Roesch
roesch () sourcefire com
http://www.sourcefire.com - http://www.snort.org

_______________________________________________
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





_______________________________________________
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: