property 'Disable NAT Traversal' invalid or not supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
knetworkmanager (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: knetworkmanager
This is Intrepid beta with these packages:
network-manager-kde 1:0.7svn864988-
network-
vpnc 0.5.1r275-1ubuntu1
Trying to connect to a vpn using network-
NetworkManager: <info> Starting VPN service 'org.freedeskto
NetworkManager: <info> VPN service 'org.freedeskto
NetworkManager: <info> VPN service 'org.freedeskto
NetworkManager: <info> VPN plugin state changed: 1
NetworkManager: <info> VPN plugin state changed: 3
NetworkManager: <info> VPN connection 'ConnectionName' (Connect) reply received.
NetworkManager: <WARN> nm_vpn_
NetworkManager: <debug> [1223576517.524329] ensure_killed(): waiting for vpn service pid 8161 to exit
NetworkManager: <debug> [1223576517.524943] ensure_killed(): vpn service pid 8161 cleaned up
Looking at the sources for all the packages in volved, I found that network-
Looking at the vpnc svn repository, this option was last seen in the 0.3.3 release of vpnc, dating from 2005. It was removed from trunk in r98. An online diff is availavle from http://
The correct replacement string would probably be "NAT Traversal Mode none" for the case of disabled NAT traversal and "NAT Traversal Mode natt" for the default enabled NAT traversal. A dropdown to select values from might provide more flexibility, but also make it harder for novice users to understand. Once that string is fixed, knetworkmanager will next complain about "Enable Single DES", for which the values "yes" and "no" are expected, not "1" and "0":
'invalid boolean property 'Enable Single DES' (not yes or no)'
Users who want to work around this issue might edit their .kde/share/
I could not connect to my vpnc at work through kubuntu Intrepid, all worked in Hardy before.
Thanks to this bug entry i got it to work works, however I had to delete in .kde/share/ config/ knetworkmanager rc the problematic settings, so from
Type=vpn /string> \n <string> none</string> \n </entry>\n <entry>\n <string>Enable Single DES</string>\n <string> no</string> \n </entry>\n <entry>\n <string>IPSec ID</string>\n <string> ipsecclient< /string> \n </entry>\n <entry>\n <string>IPSec gateway</string>\n ....
Value_data=<map>\n <entry>\n <string>Disable NAT Traversal<
to
Type=vpn ipsecclient< /string> \n </entry>\n <entry>\n <string>IPSec gateway</string>\n .....
Value_data=<map>\n <entry>\n <string>IPSec ID</string>\n <string>
So no longer the entries Disable NAT Traversal and Enable Single Des
With 'none' and 'no' my connection still did not come up. The error was the same as in the bug entry:
cristina@mccdell:~$ tail /var/log/syslog p.NetworkManage r.vpnc' just appeared, activating connections connection_ connect_ cb(): VPN connection 'VPN UGent' failed to connect: 'property 'Disable NAT Traversal' invalid or not supported'. state_changed( ): Could not process the request because no VPN connection was active.
Nov 2 19:00:57 mccdell NetworkManager: <info> VPN service 'org.freedeskto
Nov 2 19:00:57 mccdell NetworkManager: <info> VPN plugin state changed: 1
Nov 2 19:01:10 mccdell NetworkManager: <info> VPN plugin state changed: 3
Nov 2 19:01:10 mccdell NetworkManager: <info> VPN connection 'VPN UGent' (Connect) reply received.
Nov 2 19:01:10 mccdell NetworkManager: <WARN> nm_vpn_
Nov 2 19:01:10 mccdell NetworkManager: <WARN> connection_
Nov 2 19:01:10 mccdell NetworkManager: <info> (eth0): writing resolv.conf to /sbin/resolvconf
Nov 2 19:01:10 mccdell NetworkManager: <info> Policy set 'Auto eth0' (eth0) as default for routing and DNS.
Nov 2 19:01:22 mccdell NetworkManager: <debug> [1225648882.261584] ensure_killed(): waiting for vpn service pid 9125 to exit
Nov 2 19:01:22 mccdell NetworkManager: <debug> [1225648882.261927] ensure_killed(): vpn service pid 9125 cleaned up
after the change to the config file, all was ok:
Nov 2 19:05:01 mccdell NetworkManager: <info> Starting VPN service 'org.freedeskto p.NetworkManage r.vpnc' ... p.NetworkManage r.vpnc' started (org.freedeskto p.NetworkManage r.vpnc) , PID 9418 p.NetworkManage r.vpnc' just appeared, activating connections
Nov 2 19:05:01 mccdell NetworkManager: <info> VPN service 'org.freedeskto
Nov 2 19:05:01 mccdell NetworkManager: <info> VPN service 'org.freedeskto
Nov 2 19:05:01 mccdell NetworkManager: <info> VPN plugin state changed: 1
Nov 2 19:05:16 mccdell NetworkMana...