[PATCH] Make it easy to decline resolv.conf updates

2018-02-21 Thread Daniel Kahn Gillmor
There are situations where the user wants to use the routing information offered by the VPN, but does not want to use the DNS recommendations. In this case, it'd be nice to be able to tell vpnc this preference. With this change, a vpnc configfile line should do the right thing: Script

Re: Issue with download exe of OpenConnect GUI

2018-02-21 Thread Ľubomír Carik
2018-02-06 19:30 GMT+01:00 Jay Sartoris : > The only place I can find the exe is at: > > https://github.com/openconnect/openconnect-gui/releases > > However, when I download the exe (e.g. openconnect-gui-1.5.2-win32.exe > ) my Symantec anti virus immediately pops up and says

Re: [PATCH 3/3] Require administrator privileges (UAC)

2018-02-21 Thread Ľubomír Carik
2018-02-22 0:27 GMT+01:00 : > On 22/02/18 00:12, Ľubomír Carik wrote: >> The application requires higher run privileges to be able modify >> network settings. With this change, there is no need to start >> the tool explicitly in console with administrator rights. > > I have not

[PATCH 0/3] MinGW app improvements

2018-02-21 Thread Ľubomír Carik
Hi David, few changes/improvements; please review/comments/apply if u are fine with them ... :-) Thanks & Best Regards, Lubomir. Ľubomír Carik (3): Solve few fall-trough warnings Windows application icon Require administrator privileges (UAC) Makefile.am | 7 +++

[PATCH 1/3] Solve few fall-trough warnings

2018-02-21 Thread Ľubomír Carik
Signed-off-by: Ľubomír Carik --- main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.c b/main.c index 935147f..86ba8cb 100644 --- a/main.c +++ b/main.c @@ -610,6 +610,7 @@ static void print_build_opts(void) case 2: printf("%sHOTP

[PATCH 3/3] Require administrator privileges (UAC)

2018-02-21 Thread Ľubomír Carik
The application requires higher run privileges to be able modify network settings. With this change, there is no need to start the tool explicitly in console with administrator rights. Signed-off-by: Ľubomír Carik --- openconnect.exe.manifest | 11 +++

Re: [PATCH 3/3] Require administrator privileges (UAC)

2018-02-21 Thread Rondom
On 22/02/18 00:12, Ľubomír Carik wrote: > The application requires higher run privileges to be able modify > network settings. With this change, there is no need to start > the tool explicitly in console with administrator rights. I have not tested this patch (and I am no Windows expert,

[PATCH v3 3/3] Support routes with different devs and gateways

2018-02-21 Thread Gernot Hillier
Extend the *_network_route helper functions by parameters to specify device and, optionally, gateway for the route. Signed-off-by: Gernot Hillier Tested-by: Thomas Zander --- vpnc-script | 69

[PATCH v3 0/3] [vpnc-scripts] Support for Pulse's split-exclude routes

2018-02-21 Thread Gernot Hillier
OpenConnect already sets the according environment variables when the Pulse gateway sends "split-exclude" routes, so we only need to handle them in vpnc-script. Sorry for the delay in sending v3. We hopefully get an official Siemens approval for OpenConnect on Linux clients soon, so it would be

real Pulse support (was: Re: [PATCH v2 0/3] Support for Pulse's split-exclude routes)

2018-02-21 Thread Gernot Hillier
Hi there! Am 12.12.2017 um 16:52 schrieb David Woodhouse: > On Tue, 2017-12-12 at 16:38 +0100, Gernot Hillier wrote: >> As these changes are relevant for many Siemens colleagues using Linux, >> I'm definitely willing to continue improving them  - given that you are >> (in principle) interested in

Re: [PATCH v3 1/3] Support split-exclude rules from Pulse gateway

2018-02-21 Thread Kevin Cernekee
On Wed, Feb 21, 2018 at 8:46 AM, Gernot Hillier wrote: > The vpnc-script used by OpenConnect only supports "split include" rules > (default > route unchanged, specific VPN routes added). We add support for Pulse's "split > exclude" rules (default route to VPN, exclude

Re: [PATCH v3 1/3] Support split-exclude rules from Pulse gateway

2018-02-21 Thread Gernot Hillier
Hi! (Sorry for the duplicated answer, hit the wrong button while sitting in a shaky train... :-( ) Am 21.02.2018 um 18:19 schrieb Kevin Cernekee: > On Wed, Feb 21, 2018 at 8:46 AM, Gernot Hillier > wrote: >> The vpnc-script used by OpenConnect only supports "split