[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081219101927.GA6898@gondor.apana.org.au>
Date: Fri, 19 Dec 2008 21:19:27 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Martin Willi <martin@...ongswan.org>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
sbergman@...hut.fi
Subject: Re: [PATCH] xfrm: Accept ESP packets regardless of UDP
encapsulation mode
On Fri, Dec 19, 2008 at 11:00:45AM +0100, Martin Willi wrote:
>
> I'll do some testing with a modified patch that accepts encapsulated
> packets on a non-encapsulating SA, but not vice-versa. This should solve
> that specific issue without introducing that (and hopefully no other)
> regression.
Yes this patch looks safe to me from ESP's point of view.
However, I still don't think this makes sense as ESP will no longer
react to an address change (since it may have no x->encap) should a
routing change cause NAT to occur.
Moreover, the fact that we need this patch in the first place
means that the two sides may be sending different encapsulations
to each other which should raise a big red flag since any stateful
firewall in the middle is going to break this completely.
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists