Re: IP Masq weirdness

Juanjo Ciarlante (jjo@mendoza.gov.ar)
Mon, 25 Oct 1999 12:52:20 -0300


On Mon, Oct 25, 1999 at 12:05:33AM -0400, Joseph Gooch wrote:
> > ...
> >
> > I wanted to say two things:
> >
> > 1. Those two lines in ip_forward.c must be deleted. They are wrong
> > as soon as ip_masq become more clever.
> > 2. ip_masq_user does not get maddr, which is wrong.
>
> 1) Right, my most recent patch killed those, ip_fw_masq is smarter.
> 2) It looks like ip_masq_user is passed a control struct, which contains a
> user struct, that has the maddr in it, which is further relayed down the
> chain.
ip_masq_user calls are intended for masq-tunnel creation from USER space,
no bit there is called from bh processing (ip_forward, ip_input).

Currently the actual only code used in ip_masq_user.c are the /proc
hooks.

Juanjo

-
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/