Re: Network manager vpnc changing the Script
- From: Dan Williams <dcbw redhat com>
- To: Syed Mushtaq <syed1 mushtaq gmail com>
- Cc: networkmanager-list gnome org
- Subject: Re: Network manager vpnc changing the Script
- Date: Tue, 30 Jun 2009 17:14:11 -0400
On Thu, 2009-06-25 at 16:53 +0530, Syed Mushtaq wrote:
> Hi
> I have a vpn connection which requires Auth mode as hybrid and a
> certificate file . so I had to compile vpnc
> with ssl support . Now vpnc on command line works fine but vpnc using
> the network manager
> failed so I edited the code to add a new config options that were
> missing from the orignal one
NetworkManager-vpnc does not currently implement hybrid auth mode,
because it's not legal to combine vpnc and openssl. Since hybrid auth
is a build-time option and not a runtime option either, we can't
reliably autodetect whether hybrid auth is being used.
In any case, I ported the hybrid auth code to gnutls (which doesn't have
the licensing problems that openssl does) last month and haven't quite
had time to follow up and fix some of the reported bugs, but when that
happens, we can just allow hybrid auth mode unconditionally.
Dan
> ie
>
> CA-file
> Authmode
>
> I edited in the function nm_vpnc_config_write() of file
> nm-vpnc-service.c and added these options . vpn connect through
> network manager still failed
> even though vpnc __was working__ on the command line . I figured out
> that a config option call "Script" was causing
> the problem . By default the Script is /etc/vpnc/vpnc-script , Network
> manager replaced that with its own
> helper script . I changed it to /etc/vpnc/vpnc-script . Now vpnc was
> connecting(through network manager) but I could not find a way
> to notify network manager about it hence it would timeout and say that
> vpn connection failed . Is there any way
> that i can use the default script and tell network manager to not
> manage the connections .
>
> Cheers
> -Syed
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]