Re: [Openvpn-devel] [PATCH] ifconfig-ipv6(-push): allow using hostnames

2017-02-10 Thread Antonio Quartulli
On Fri, Feb 10, 2017 at 10:36:07PM +0800, Antonio Quartulli wrote: > diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c > index 82d0967d..55ff7737 100644 > --- a/src/openvpn/socket.c > +++ b/src/openvpn/socket.c > @@ -75,12 +75,102 @@ sf2gaf(const unsigned int getaddr_flags, > /* > * Funct

Re: [Openvpn-devel] [PATCH] Fix building with LibreSSL 2.5.1 by cleaning a hack.

2017-02-10 Thread Steffan Karger
Hi, On 09-02-17 21:04, Olivier W wrote: > Hello, > Please find the new version of the patch. > > So, I added back the comment I had removed and new versions of OpenSSL > will use SSL_CTX_get0_privatekey() instead of SSL_new() + > SSL_get_privatekey() + SSL_free(). > > It successfully compile wit

[Openvpn-devel] [PATCH] ifconfig-ipv6(-push): allow using hostnames

2017-02-10 Thread Antonio Quartulli
Similarly to ifconfig(-push), its IPv6 counterpart is now able to accept hostnames as well instead of IP addresses in numeric form. Basically this means that the user is now allowed to specify something like this: ifconfig-ipv6-push my.hostname.cx/64 This is exactly the same behaviour that we al