[Snort-users] Question about !HOME_NET

Nick Baronian kvetch at ...11827...
Wed Oct 11 10:47:00 EDT 2006

I am trying to setup a simple rule but it doesn't appear to be
working. We have has some issues with people plugging in their laptops
to our corp. network. Some of these folks have static addresses and
try to send some traffic outbound, while the traffic gets dropped at a
firewall I want to log and alert on any non Home_NET IP's trying to go
out. I thought it would be fairly easy just set home_net to something
var HOME_NET [,,] and var HOME_NET
[,,] then comment out other rules
in snort.conf except local.rule.
In local rule set it to something like
alert ip !HOME_NET any -> $EXTERNAL_NET any (msg:"nonwork routable IP

I then start snort like
snort -e -i eth1 -l /u01/snort -s -D &

When I look at the log down /u01/snort it lists tons of IP's going
from an IP like 10.30 or 172.x.x.x going to some random IP.  How do I
get my rules to only log the packets for non-Home_Net IP's trying to
talk to other non-Home_Net IP's?


More information about the Snort-users mailing list