Strange thing with iptables

Martin Josefsson gandalf at wlug.westbo.se
Thu Sep 9 14:18:15 CEST 2004


On Thu, 2004-09-09 at 13:49, Szabolcs Gyurko wrote:
> Hi all,
> 
> 
> I found a strange issue with the iptables. One of my friend showed me a  
> rule
> which looked like:
> 
> iptables -A FORWARD -s $machine/255.255.0.255 -j ACCEPT
> 
> 
> What I was surprised on is the netmask. Is this a feature or a bug? I mean
> this is quite strange netmask for me.

It's a feature :)
It doesn't make the current code any more complicated.
And ther are actually people using it to do weird stuff...

-- 
/Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : /pipermail/netfilter-devel/attachments/20040909/a8a30cb6/attachment.bin


More information about the netfilter-devel mailing list