[Openvpn-devel] IPv6 pool and handling CIDR masks

2014-08-18 Thread Josh Cepek
First, an overview of IPv6 pool and CIDR handling. The handling of the --ifconfig-ipv6-pool `bits` CIDR netmask value seems to need adjustment. Today, if this value does not exactly match the same CIDR mask applied to --ifconfig-ipv6, clients connectivity breaks in odd ways. I am proposing that w

[Openvpn-devel] [PATCH] Push an IPv6 CIDR mask used by the server, not the pool's size

2014-08-18 Thread Josh Cepek
Correctly handle CIDR masks when pushing clients addressing from an IPv6 pool. This change ignores the incorrectly used `bits` argument to the --ifconfig-ipv6-pool option. The code to save any provided CIDR mask after the pool IP is left in; this may someday become useful when we move to allow IPv

[Openvpn-devel] [PATCH] Fix compiler warnings in ssl_polarssl.c.

2014-08-18 Thread Steffan Karger
No functional changes, just add missing includes and make casts explicit. Signed-off-by: Steffan Karger --- src/openvpn/ssl_polarssl.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/src/openvpn/ssl_polarssl.c b/src/openvpn/ssl_polarssl.c index dd