Subject: Re: Passive OS fingerprint xtables match (iptables part)

From: Evgeniy Polyakov <[email-masked]>
Date: Sun, 15 Feb 2009 20:35:03 +0300

On Fri, Feb 13, 2009 at 02:54:25PM +0100, Jan Engelhardt ([email-masked]) wrote:
> >'! --genre Linux' means this option was not specified,
> >'--genre ! Linux' means everything but Linux.
> 
> Well not in iptables. Not specifying an option is represented by 
> voidness/absence of any string. (E.g. iptables -d 192.168.0.0/16  vs.
> iptables ! -s 172.16.0.0/12 -d 192.168.0.0/16)
> Also, (!(--genre == "linux")) is eqv. (--genre != "linux")
> is equivalent in boolean logic  ;-)

And that's not what should be :)
In the code it is intended to be:
(--genre && (--genre != Linux))

But I really do not care where to put a '!' sign in the documentation
string :)

-- 
	Evgeniy Polyakov