MASQUERADE + DHCP problem
David S. Miller
davem at davemloft.net
Mon Sep 12 05:07:26 CEST 2005
From: Patrick McHardy <kaber at trash.net>
Date: Mon, 12 Sep 2005 01:57:22 +0200
> Rusty Russell wrote:
> > If IP src is 0.0.0.0, let it through untouched. Those packets are
> > presumably not supposed to be masqueraded, so it's the Right Think
> > AFAICT.
> > Will that fix DHCP?
> Absolutely. Since these packets never get routed, the only possibility
> when they can occur is when a local raw socket with IP_HDRINCL chooses
> a source address of 0. In that case it definitely seems right to leave
> the packet alone.
That's a really great idea Rusty.
Patrick, I think this needs to go into -stable as well,
once you have a patch ready, right?
More information about the netfilter-devel