Hi Paul & all,
the port redirection in the -preX netfilter code seems broken.
I fixed redirect_target() to also use the multirange struct,
and then found strange things with the port byte order.
See the attached diff - applied to -pre5 it works now (tested for
the case of capturing remote connections to local ports; without
the patch they do go to localhost, but keep the original port
instead of using the --to-port).
Exhibit B shows syslog output for the nonworking case (already using
multirange), Exhibit C shows the working case (with this patch applied).
regards
Patrick
(I'm not on linux-kernel right now, but maybe the patch is helpful
to other people. Please Cc: me on discussions)
-
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 : Sat Apr 15 2000 - 21:00:26 EST