Snort mailing list archives
Re: wildcards in rules?
From: Matt Kettler <mkettler () evi-inc com>
Date: Wed, 26 May 2004 16:49:50 -0400
At 02:07 PM 5/26/2004, Sheahan, Paul wrote:
I'm looking to use Snort to find a string of numbers that begin with a known group of numbers, but end with unknown numbers.Example:I want Snort to alert if it sees a number like 8976**** in a packet where **** can be any numbers. Can this be done with Snort? I couldn't find much on wildcards but did read in a few places that Snort has limited wildcard support.
Using pcre, yes. The regex would look like: 8976\d{4}\d means "any numeric digit" and {4} means "repeat 4 times" in regex notation.
------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10gGet certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ 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:
- wildcards in rules? Sheahan, Paul (May 26)
- Message not available
- Re: wildcards in rules? Matt Kettler (May 26)
- Message not available