Re: [Openvpn-devel] [PATCH] Fix --mtu-disc option with IPv6 transport

2014-07-30 Thread Andre Valentin
Hi! I followed your discussion because I also tested the fragmentation with pmtu discovery and came to the results that it does not help me. Therefore I currently use fragmentation. On 30.07.2014 11:37, Gert Doering wrote: Hi, On Wed, Jul 30, 2014 at 11:29:18AM +0200, Julien Muchembled wrote

Re: [Openvpn-devel] [PATCH] Fix --mtu-disc option with IPv6 transport

2014-07-30 Thread Julien Muchembled
Le 07/30/14 11:37, Gert Doering a écrit : >> Although I didn't try all MTU-related options of OpenVPN, it seems to >> ignore EMSGSIZE. > > Well, handling that error will not lead anywhere, as it just tells us > "the packet got lost, because it was too big". Maybe not such a good idea but could

Re: [Openvpn-devel] [PATCH] Fix --mtu-disc option with IPv6 transport

2014-07-30 Thread Gert Doering
Hi, On Wed, Jul 30, 2014 at 11:29:18AM +0200, Julien Muchembled wrote: > > I know that part, but the ICMP packets are seen by the kernel, not by > > OpenVPN. So how does the information arrive in OpenVPN? sendto() fails, > > but how does OpenVPN know which max message size will be acceptable? >

Re: [Openvpn-devel] [PATCH] Fix --mtu-disc option with IPv6 transport

2014-07-30 Thread Julien Muchembled
Hello, Le 07/30/14 07:42, Gert Doering a écrit : > On Wed, Jul 30, 2014 at 03:15:53AM +0200, Julien Muchembled wrote: >> Le 07/29/14 23:05, Gert Doering a écrit : For example: A --[mtu=1500]-- B --[mtu=1400]-- C Given a UDP6 socket on A with IPV6_MTU_DISCOVER=IP_PMTUDISC_DO,

Re: [Openvpn-devel] [PATCH] Fix --mtu-disc option with IPv6 transport

2014-07-30 Thread Gert Doering
Hi, On Wed, Jul 30, 2014 at 03:15:53AM +0200, Julien Muchembled wrote: > Le 07/29/14 23:05, Gert Doering a écrit : > >> For example: > >> A --[mtu=1500]-- B --[mtu=1400]-- C > >> > >> Given a UDP6 socket on A with IPV6_MTU_DISCOVER=IP_PMTUDISC_DO, > >> sendto(1452 bytes, B) will succeed > >>

Re: [Openvpn-devel] [PATCH] Fix --mtu-disc option with IPv6 transport

2014-07-30 Thread Julien Muchembled
Le 07/29/14 23:05, Gert Doering a écrit : >> For example: >> A --[mtu=1500]-- B --[mtu=1400]-- C >> >> Given a UDP6 socket on A with IPV6_MTU_DISCOVER=IP_PMTUDISC_DO, >> sendto(1452 bytes, B) will succeed >> but sendto(1452 bytes, C) will return EMSGSIZE (except for the first send to >> C) >