Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2004 13:17:06 +0300
From:      freebsd@tern.ru
To:        freebsd-security@freebsd.org
Subject:   ipfw question
Message-ID:  <614479869.20040206131706@tern.ru>

next in thread | raw e-mail | index | archive | help
Dear All.

I want to use 'not' for 2 addresses (for both) in ipfw2 rule.
The only way that looks like what I need is

# ipfw add count from IP1 to not IP2,IP3

But does this rule indeed makes what I want? Does it count all
packets destined to addresses other then IP2 AND IP3?!

No other syntax works.
For example more logically correct
not IP2 AND not IP3
or even
not { IP2 or IP3 }
are understood by ipfw2

man does not contain the good description of this

Can somebody clear this up for me?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?614479869.20040206131706>