Snort mailing list archives

doubt regarding a snort rule


From: Johny George Malayil <johnygeorgemalayil () yahoo co in>
Date: Fri, 20 Jun 2014 23:29:48 +0200

Hello All,

I am a newbie to Snort. I am not sure if this is the correct forum to 
post my doubt.

I was trying to write a rule for a simple HTML file detection. The head 
tag of the html file will always have a particular string,
for example <head>hello world<head> and also the html files follow a 
particular pattern for filename followed by year,
  for example filename2013.html.

I want to write a snort rule to detect this pattern.

I wrote the following rule.

alert tcp any any -> any any ( content :"filename\\d{4}.html"; msg:"page 
access"; sid:100002; rev:1;)

However I am not getting any alert in my console.

Can some one please help me out?

Thanks a lot in advance.:-)

-- 
Thanks,
Johny George


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

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


Current thread: