Snort mailing list archives

Re: PCRE and cross packet matching


From: Joel Esler <jesler () sourcefire com>
Date: Mon, 6 Aug 2012 09:36:35 -0400

On Aug 5, 2012, at 5:51 PM, Jason Haar <Jason_Haar () trimble com> wrote:

In a similar vein, "distance" only applies at the packet level: is there
an equivalent keyword that applies at the stream level?

Incorrect.  It applies for both.


<snip>

The "distance:0" is the problem: the *intent* of the rule is to match
against the first chars in a TCP stream, whereas it's hitting the first
chars in any packet of an existing stream. So is there a better way of
doing that?

BTW, if there are no "stream-based" equivalent to such keywords due to
resource/complexity issues, how about creating keywords explicitly for
the first packet of a stream - that is probably 99% of the problem area?

http://manual.snort.org/node33.html#SECTION00469000000000000000

no_stream

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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

Please visit http://blog.snort.org to stay current on all the latest Snort news!


Current thread: