Re: Passive OS fingerprint xtables match (iptables part)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 13, 2009 at 02:54:25PM +0100, Jan Engelhardt (jengelh@xxxxxxxxxx) 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
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux