2.3.99-pre5 netfilter -j REDIRECT broken
Rusty Russell
rusty@linuxcare.com.au
Mon, 17 Apr 2000 12:20:12 +0930
In message <20000415113409.281.qmail@oknodo.bof.de> you write:
> Hi Paul & all,
>
> the port redirection in the -preX netfilter code seems broken.
> I fixed redirect_target() to also use the multirange struct,
This fix is correct: amazed that noone ran across this before (I've
added it to the test suite).
> and then found strange things with the port byte order.
This is actually a bug in the userspace library (same exists in
masquerading). Port ranges are in network order, for consistency with
everything else.
Rusty.
--
Hacking time.