netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* xfrm: is pmtu broken with ESP tunneling?
@ 2014-02-10  8:41 Ortwin Glück
  2014-02-11  2:32 ` Hannes Frederic Sowa
  0 siblings, 1 reply; 5+ messages in thread
From: Ortwin Glück @ 2014-02-10  8:41 UTC (permalink / raw)
  To: linux-kernel, netdev

Hi,

I am using Openswan to configure an IPSec VPN (using the xfrm/netkey 
backend). Large HTTP POST requests from the client seem to get stuck, 
because the outgoing packets are 1530 bytes (before being wrapped into 
ESP packets). The problem goes away by setting sysctl 
net.ipv4.ip_no_pmtu_disc=1.

May have something to do with it:
The tunneled network is 10.6.6.6/32 and I am SNAT'ing some destinations 
to that IP, so they get routed through the tunnel. Any other networks 
are not to go through the tunnel.

iptables -t nat -A POSTROUTING -d "${R}" -j SNAT --to-source 10.6.6.6

It seems quite clear to me that xfrm is doing something wrong here.

Ortwin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-02-13 19:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-10  8:41 xfrm: is pmtu broken with ESP tunneling? Ortwin Glück
2014-02-11  2:32 ` Hannes Frederic Sowa
2014-02-11 20:20   ` Ortwin Glück
2014-02-13  0:01     ` Hannes Frederic Sowa
2014-02-13 19:53       ` Ortwin Glück

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).