Public bug reported:

Binary package hint: vpnc

Hi,

I have 10.04 official, fresh installation. My vpnc "disconnects" after
about 16 minutes.

Environment:

ca...@cashy-laptop:~$ lsb_release -rd
Description:    Ubuntu 10.04.1 LTS
Release:        10.04

ca...@cashy-laptop:~$ uname -a
Linux cashy-laptop 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:24:04 UTC 
2010 i686 GNU/Linux

ca...@cashy-laptop:~$ apt-cache policy vpnc
vpnc:
  Telepítve: 0.5.3r449-2
  Jelölt: 0.5.3r449-2
  Verziótáblázat:
 *** 0.5.3r449-2 0
        500 http://hu.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

ca...@cashy-laptop:~$ apt-cache policy network-manager-vpnc
network-manager-vpnc:
  Telepítve: 0.8-0ubuntu3
  Jelölt: 0.8-0ubuntu3
  Verziótáblázat:
 *** 0.8-0ubuntu3 0
        500 http://hu.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

ca...@cashy-laptop:~$ apt-cache policy network-manager-vpnc-gnome 
network-manager-vpnc-gnome:
  Telepítve: 0.8-0ubuntu3
  Jelölt: 0.8-0ubuntu3
  Verziótáblázat:
 *** 0.8-0ubuntu3 0
        500 http://hu.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

I am working using cisco vpn, and the connection aborts every time in
the 16-17th minute. In windows, with native Cisco VPN client it is okay.

I tried various setups, tried Makovick-patches, and I reached the point,
where there are no error messages, everything seems to be okay, but the
other side of the vpn is not reachable...

With nm-applet:
Connection successful, got the login banner. Everything is okay, speed is right.
Syslog says:
--
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> Starting VPN service 
'org.freedesktop.NetworkManager.vpnc'...
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> VPN service 
'org.freedesktop.NetworkManager.vpnc' started 
(org.freedesktop.NetworkManager.vpnc), PID 9690
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> VPN service 
'org.freedesktop.NetworkManager.vpnc' just appeared, activating connections
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> VPN plugin state changed: 1
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> VPN plugin state changed: 3
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> VPN connection 'WORK' 
(Connect) reply received.
Aug 25 14:09:40 cashy-laptop NetworkManager: SCPlugin-Ifupdown: devices added 
(path: /sys/devices/virtual/net/tun0, iface: tun0)
Aug 25 14:09:40 cashy-laptop kernel: [63073.336892] tun0: Disabled Privacy 
Extensions
Aug 25 14:09:40 cashy-laptop NetworkManager: SCPlugin-Ifupdown: device added 
(path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration 
found.
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> VPN connection 'WORK' (IP 
Config Get) reply received.
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> VPN Gateway: xxx.xxx.xxx.xxx
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> Tunnel Device: tun0
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> Internal IP4 Address: 
10.100.101.239
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> Internal IP4 Prefix: 24
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> Internal IP4 Point-to-Point 
Address: 10.100.101.239
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> Maximum Segment Size (MSS): 0
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> Static Route: 
192.168.110.0/24 Next Hop: 192.168.110.0
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> Internal IP4 DNS: 84.2.44.1
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> Internal IP4 DNS: 84.2.46.1
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> DNS Domain: '(none)'
Aug 25 14:09:40 cashy-laptop NetworkManager: <info> Login Banner:
---
And not so suddenly, after 16 minutes:
---
Aug 25 14:09:41 cashy-laptop NetworkManager: <info> VPN connection WORK' (IP 
Config Get) complete.
Aug 25 14:09:41 cashy-laptop NetworkManager: <info> Policy set 'Auto HOME' 
(wlan0) as default for routing and DNS.
Aug 25 14:09:41 cashy-laptop NetworkManager: <info> VPN plugin state changed: 4
Aug 25 14:09:41 cashy-laptop nm-dispatcher.action: Script 
'/etc/NetworkManager/dispatcher.d/01ifupdown' exited with error status 1.
---

With patched vpnc (vpnc-0.5.3r449) nearly the same:
Login, and login banner, counter starts to tick.
Ticks and ticks, but after 16 minutes ping works with 100% packet loss.

Earlier I tried vpnc-nortel (0.5.3) and the unpatched vpnc (vpnc-0.5.3r449). 
Brought the same. There was some error messages.
First the "tun0: Disabled Privacy Extensions" informational, and when the 
connection begun to hang up, I got two kinds of error messages: "got late ike 
packet" and "got packet with wrong cookies". They came about 3-4 times, and 
then the connection completely stopped.

Here is the config file, which I tried:
--
IPSec ID WORKDOMAIN
IPSec secret WORKDOMAINPASSWORD
IPSec gateway xxx.xxx.xxx.xxx
Xauth username MYUSERNAME
Xauth password MYUSERPASSWORD
Domain WORKDOMAIN
IKE Authmode psk
Target Networks 192.168.110.0/24
DNSUpdate No
DPD Idle timeout (our side) 0
NAT Traversal Mode cisco-udp
#NAT Traversal Mode force-natt
Enable Single DES
Local Port 10000
---

Got remote stuff:
---
   got save password setting: 0
   got 1 acls for split include
   acl 0:    addr: 192.168.110.0/   255.255.255.0    (24),    protocol: 0,    
sport: 0,    dport: 0
   got pfs setting: 0
   Remote Application Version:    Cisco Systems, Inc ASA5510 Version 7.2(4) 
built by builders on Sun 06-Apr-08 13:39   
   got address 10.100.101.229
---

Sorry about my "not-so-fluent" English.
Anybody can help?

cashy

** Affects: vpnc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
vpnc connection terminates
https://bugs.launchpad.net/bugs/624046
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to