Snort mailing list archives
Re: Rules Question
From: Erek Adams <erek () snort org>
Date: Wed, 6 Aug 2003 14:58:30 -0400 (EDT)
On Wed, 6 Aug 2003, Stevo wrote:
Okay so I think I'm working this out... let's say I capture packet X and then want to see the content of the next 3 packets... how would I modify my rule to grab that extra info?? Is that where I'd use a dynamic rule??
Nope. Tagging. http://www.snort.org/docs/writing_rules/chap2.html#tth_sEc2.3.31 And to cut and paste... alert tcp !$HOME_NET any -> $HOME_NET 23 (flags: S; \ tag: session, 10, seconds; msg: "incoming telnet session";) That's it. :) Cheers! ----- Erek Adams "When things get weird, the weird turn pro." H.S. Thompson ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Rules Question Stevo (Aug 05)
- Re: Rules Question Stevo (Aug 05)
- Re: Rules Question Jon Baer (Aug 05)
- Re: Rules Question Erek Adams (Aug 06)
- Re: Rules Question Jon Baer (Aug 06)
- Re: Rules Question Stevo (Aug 06)
- Re: Rules Question Erek Adams (Aug 06)
- <Possible follow-ups>
- RE: Rules Question Nelson, Ben (Aug 05)
- RE: Rules Question Nelson, Ben (Aug 05)
- Re: Rules Question Stevo (Aug 05)