Snort mailing list archives

Re: writing rule with uricontent keyword


From: Matt Kettler <mkettler () evi-inc com>
Date: Mon, 28 Feb 2005 14:58:35 -0500

At 02:39 PM 2/28/2005, Jiju Menon wrote:
I tried to get an alert with a test rule using uricontent:

alert tcp $HOME_NET any -> $EXTERNAL_NET 80 (msg:"yahoo.com";
uricontent:"yahoo.com";nocase;)

The rule seems not to detect a connection made to yahoo.com. Can
anyone help me to get this rule working?

At casual glance, it looks OK...

As a sanity check, can you try a rule using "any any -> any 80" instead of HOME_NET and EXTERNAL_NET?

You also might need http_inspect enabled for the uricontent keyword to work.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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: