[Openvpn-devel] Use redirect-gateway when no default gateway defined

2009-02-03 Thread CROKAERT Pierre
Hello, I have a system connected to VPN through a local proxy, and I would like to use the -redirect-gateway option. I have selected the 'local' and 'def1' options to prevent any access to the net_gateway member, but the line: else if (!rl->spec.net_gateway_defined) -- > in redirect

Re: [Openvpn-devel] [PATCH] Fix for "Cannot read current defaultgateway" problem on Linux

2009-02-03 Thread Alon Bar-Lev
James, I guess you take over. There are many lines that does not change anything. Also, maybe it would be better to have one string variable and one type, (gateway, device) (gateway, address), so that it would be easier to manage if new type comes up. Alon. On 2/3/09, David Balazic wrote: > Jame

Re: [Openvpn-devel] Diff format

2009-02-03 Thread Alon Bar-Lev
There had been multiple issues. You can investigate last posting and find what exactly was the problem. I truly don't care. It did not apply. Alon. On 2/3/09, David Balazic wrote: > They must be using a custom version or something strange like that. > The > TAB is placed there by the routine

[Openvpn-devel] Question about interactive authentication with OpenVPN

2009-02-03 Thread Clement Digital People
Good afternoon! First and foremost, I want to apologize for my poor English, I'm just French... Actually, I'm working on a challenge/response authentication scheme with OpenVPN and I'm wondering if it's possible to do an interactive authentication (dialogue between the OpenVPN server and the clie

[Openvpn-devel] Diff format

2009-02-03 Thread David Balazic
Alon Bar-Lev wrote: Subject: Fix for "Cannot read current default gateway" problem on Linux > On Monday 02 February 2009 11:49:50 David Balazic wrote: > > diff -u openvpn_trunk/route.c openvpn_patched/route.c > > --- openvpn_trunk/route.c 2009-01-29 15:00:04.525034400 +0100 > > +++ openvpn_patc

Re: [Openvpn-devel] [PATCH] Fix for "Cannot read current defaultgateway" problem on Linux

2009-02-03 Thread David Balazic
James Yonan wrote: > David, > > A couple issues with the patch: > > * sscanf usage doesn't check for buffer overflow. See below. > * You use gw_if_name in some places and gw_ifname in other > places. To > eliminate confusion it would be best to use a consistent form. Done. > Also, to rei