[Snort-users] Help with a new rule to detect web traffic
revoohc at ...10743...
Tue Feb 3 17:20:04 EST 2004
I need some help writing a new rule. Where I work, we are running an
internet proxy server (running squid). However, we also have an open
firewall allowing anyone who configures their browser to bypass the
proxy can go anywhere they want (don't ask on this choice).
Anyway, we are working a plan to close this open hole to the internet.
In order to get a scope on the problem, I need to get some sort of a
count as to how many machines are bypassing the proxy. Please help me
get this rule written.
Basicaly, I need the rule to state:
anyone not using the proxy on any port going to the internet, but not a
extra_net on port 80 -> log
Here is what I have tried. - EXTRA_NET is internet sites anyone can get
to (ip's changed to bogus ip's to protect the guilty and the innocent.
var EXTRA_NET [22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206,
220.127.116.11, 18.104.22.168, 10.30.0.0/16, 22.214.171.124/16, 126.96.36.199/24,
var PROXY_SERVER [188.8.131.52]
alert ip $HOME_NET!$PROXY_SERVER any -> $EXTERNAL_NET!$EXTRA_NET 80
(msg:"NON PROXY WEB ACCESS";)
Thanks for any help getting this rule to work.
More information about the Snort-users