Snort mailing list archives

Re: BPF problem


From: waldo kitty <wkitty42 () windstream net>
Date: Fri, 11 Jul 2014 13:49:00 -0400

On 7/11/2014 1:34 PM, Mike Patterson wrote:
Following up to myself: I’ve tried various permutations of my BPF filter to
no avail. I tried Snort versions 2.9.5.3 (which is what’s on my old sensor),
2.9.6.0, and 2.9.6.1. Always, Snort says it’s reading my BPF filter, and
always, it’s including alerts for IPs and networks that are in the filter.

My current filter is of the form:

not (net 1.2.3.4/8 or not net 10.0.0.0/24 or not 172.16.12.1)

this may not be related to your problem but i can't help seeing the double 
negatives in the above... are you wanting to include or exclude traffic to/from 
10.0.0.0/24 and 172.16.12.1?

if you want to exclude traffic from them, perhaps you mean to use

not (net 1.2.3.4/8 or net 10.0.0.0/24 or 172.16.12.1)

-- 
  NOTE: No off-list assistance is given without prior approval.
        Please *keep mailing list traffic on the list* unless
        private contact is specifically requested and granted.

------------------------------------------------------------------------------
_______________________________________________
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: