[Openvpn-devel] Summary of the IRC meeting (29th Nov 2012)

2012-11-30 Thread Samuli Seppänen
Hi, Here's the summary of the previous IRC meeting. --- COMMUNITY MEETING Place: #openvpn-devel on irc.freenode.net List-Post: openvpn-devel@lists.sourceforge.net Date: Thursday 29th Nov 2012 Time: 18:00 UTC Planned meeting topics for this meeting were on this page:

[Openvpn-devel] [PATCH 01/10] Remove dnsflags_to_socktype, it is not used anywhere

2012-11-30 Thread Arne Schwabe
--- src/openvpn/socket.c |2 +- src/openvpn/socket.h |5 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c index 505cf3b..21a4b2b 100644 --- a/src/openvpn/socket.c +++ b/src/openvpn/socket.c @@ -158,7 +158,7 @@ openvpn_getaddrin

[Openvpn-devel] [PATCH 07/10] change the type of remote to addrinfo.

2012-11-30 Thread Arne Schwabe
--- src/openvpn/init.c |5 +-- src/openvpn/route.c |1 + src/openvpn/socket.c | 52 -- src/openvpn/socket.h | 85 +++--- src/openvpn/tun.c| 16 ++ src/openvpn/tun.h|2 +- 6 files changed, 1

[Openvpn-devel] [PATCH 09/10] When resolving fails print the error message from socket layer

2012-11-30 Thread Arne Schwabe
--- src/openvpn/socket.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c index b4d7ea7..7b4a4fb 100644 --- a/src/openvpn/socket.c +++ b/src/openvpn/socket.c @@ -186,15 +186,15 @@ openvpn_getaddrinfo (unsigned int flags,

[Openvpn-devel] [PATCH 06/10] Remove the ip-remote-hint option.

2012-11-30 Thread Arne Schwabe
The ip-remote-hint option overrides the remote hostname of every remote/connection entry unless management-query-remote is also defined and the management interfaces overrides the option with remote MOD … The remote name is even overridden when when management interface issues remote ACCEPT afte

[Openvpn-devel] [PATCH 05/10] Split link_socket_init_phase2 into smaller more managable/readable functions. No functional changes

2012-11-30 Thread Arne Schwabe
Signed-off-by: Arne Schwabe --- src/openvpn/socket.c | 509 -- 1 file changed, 282 insertions(+), 227 deletions(-) diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c index 31d05eb..3a9af65 100644 --- a/src/openvpn/socket.c +++ b/src/openvpn/

[Openvpn-devel] [PATCH 03/10] Simplify print_sockaddr_ex function, merge duplicate ipv4/ipv6 logic

2012-11-30 Thread Arne Schwabe
--- src/openvpn/socket.c | 68 ++ 1 file changed, 30 insertions(+), 38 deletions(-) diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c index 5a99de5..8a3301f 100644 --- a/src/openvpn/socket.c +++ b/src/openvpn/socket.c @@ -2152,60 +2152,52 @

[Openvpn-devel] [PATCH 02/10] Change the type of all ports in openvpn to const char* and let getaddrinfo resolve the port together with the hostname.

2012-11-30 Thread Arne Schwabe
This delays error reporting from config parsing to resolving of host addresses. But it allows statements like remote openvpn.example.org openvpn port https management localhost ntp Signed-off-by: Arne Schwabe --- doc/openvpn.8 |8 +-- src/openvpn/init.c| 20 +++- src/open

[Openvpn-devel] [PATCH 10/10] Implement dual stack client support for OpenVPN

2012-11-30 Thread Arne Schwabe
This patch contains a number of changes. I did not further spit this since some changes make only sense being changed together. Always use connection_list, simplifies the reconnection logic. Change meaning of --connect-retry-max and --connect-retry to be used all connections. This now allows Op

[Openvpn-devel] [PATCH 08/10] Fix print_sockaddr part 2

2012-11-30 Thread Arne Schwabe
--- src/openvpn/ps.c |4 +-- src/openvpn/socket.c | 66 -- src/openvpn/socket.h | 16 ++-- 3 files changed, 47 insertions(+), 39 deletions(-) diff --git a/src/openvpn/ps.c b/src/openvpn/ps.c index 44eda89..98d6580 100644 --- a/sr

[Openvpn-devel] [PATCH 04/10] Split the PROTO_UDP_xx options into AF_INET/AF_INET6 and PROTO_TCP/PROTO_UDP part.

2012-11-30 Thread Arne Schwabe
Splitting will make the code a little bit cleaner and prepares for dual stack Signed-off-by: Arne Schwabe --- src/openvpn/error.c |6 +- src/openvpn/forward.c |8 +-- src/openvpn/init.c| 21 +++ src/openvpn/options.c | 69 ++--- src/openvpn/options.h |2