Re: [Openvpn-devel] git master proto udp6+multihome is broken

2014-01-19 Thread Gert Doering
Hi, On Sat, Jan 11, 2014 at 12:59:02AM +0100, Tore Anderson wrote: > FWIW: Now I also got to test git master with what I wanted to in the > first place, namely to see whether or not all the nice dualstack changes > had also made "multihome" work for IPv4-mapped clients coming in to the > server on

Re: [Openvpn-devel] git master proto udp6+multihome is broken

2014-01-19 Thread Gert Doering
Hi, On Sun, Jan 19, 2014 at 03:04:17PM +0100, Gert Doering wrote: > In case you want to test yourself, the code is appended. ... it was not. As always when people say "I have attached..." :-/ gert -- USENET is *not* the non-clickable part of WWW!

[Openvpn-devel] [PATCH] Repair --multihome on FreeBSD for IPv4 sockets.

2014-01-19 Thread Gert Doering
The code in link_socket_write_udp_posix_sendmsg() for the IP_RECVDESTADDR case was sending a too-large control message (sizeof openvpn_pktinfo, which is a union for IPv4+IPv6) instead of just openvpn_in4_pktinfo, leading to sendmsg() refusing to send the packet. Use RFC 2292 macros for alignment +

Re: [Openvpn-devel] git master proto udp6+multihome is broken

2014-01-19 Thread Gert Doering
Hi, On Sun, Jan 19, 2014 at 03:04:17PM +0100, Gert Doering wrote: > In case you want to test yourself, the code is appended. It's not pretty, > but gets the job done :-) Here's the latest iteration of the code. The changes compared to openvpn's socket.c are actually bigger than I expected, as w