Re: 2.3.99-pre5 netfilter -j REDIRECT broken

From: Rusty Russell (rusty@linuxcare.com.au)
Date: Sun Apr 16 2000 - 21:50:12 EST


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.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:09 EST