[Snort-users] I must be think why can't I use bpf filters?

Tom Sevy tsevy at ...1701...
Wed Jul 10 12:01:15 EDT 2002

Does the BPF interpretation get handled in snort code or passed along to

When I built a bpf filter, I had to add escape chars in front of the parens:

  .... not \(src net 1.2.3 and dst net 1.2.3\)

In this case to ignore inside-to-inside traffic.....

-----Original Message-----
From: Erek Adams [mailto:erek at ...577...]
Sent: Wednesday, July 10, 2002 2:45 PM
To: Michael Scheidell
Cc: snort-users at lists.sourceforge.net
Subject: Re: [Snort-users] I must be think why can't I use bpf filters?

On Wed, 10 Jul 2002, Michael Scheidell wrote:

> I guess something is wrong with me and the way I thought I should use bpf
> ifliters (snort 1.86, 1.87beta and 1.87 release)
> If I use a bpf filter I don't get ANY alerts.
> Starting snort like this:
> /usr/local/bin/snort -doDI -m 022 -z \
> -c /usr/local/etc/snort.conf -i rl0 -l /var/log/snort \
> -F /usr/local/share/snort/snort.bpf
> cat /usr/local/share/snort/snort.bpf:
> not src host
> someone answered, and I guess it wasn't clear, I thought they said that it
> was a bug and was being addressed.
> What I want is to filter out all events, alerts (at the bpf level)
> from host
> (no, pass ip any -> any any is not what I want... Im looking to
> eliminate stream, fran ang syn alerts as well).

Have you tried not using a 'bpf file'?  Just with

	snort <options> 'not src host'
	snort <options> 'not (src host'


Erek Adams

This sf.net email is sponsored by:ThinkGeek
Two, two, TWO treats in one.
Snort-users mailing list
Snort-users at lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
Snort-users list archive:

More information about the Snort-users mailing list