Snort mailing list archives
AW: (Snort-users) (no subject)
From: <sandro.poppi () wacker com>
Date: Thu, 17 Jan 2002 10:44:00 +0100
Hello
Hi,
I have some difficulties to write a rule that raise an alert for all cases except one. For instance : There is a rule in web-cgi.rules : it says : alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS,!212.180.75.34/32 80 (msg:"WEB-CGI calendar access";flags:A+; uricontent:"/calendar"; nocase; classtype:attempted-recon; sid:882; rev:1;) BUT I have a site with a "Calendar.gif file" . What I want is uricontent "/calendar" but NOT Calendar.gif In the same way there is a rule on Names.nsf , but Names.nsf?Login is Legal ( it is the Only legal access )
In such a case I would suggest to use a pass rule to filter that special content, e.g. pass tcp $EXTERNAL_NET any -> <ip of webserver> 80 (flags:A+; uricontent:"/Calendar.gif"; case;) Be as restrictive as you can when defining pass rules to not allow to pass something which shouldn't pass! Don't forget to restart snort with the -o option! HTH, Sandro _______________________________________________ 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:
- AW: (Snort-users) (no subject) sandro.poppi (Jan 17)