vpnc drops connection with reason "connection terminated by dead peer detection" after few minutes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vpnc (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: vpnc
Hi,
I'm using vpnc to connect to a Pix 501. vpnc drops the connection after few minutes.
Starting vpnc in no detach mode with debug level 2, I can see that the connection is dropped with reason "connection terminated by dead peer detection".
NOTE: On the pix side I have enabled debugging feature : "debug crypto isakmp"
After connection is initiated successfully the first notification works fine.
On the Pix side :
ISAMKP (0): received DPD_R_U_THERE from peer <client IP>
ISAKMP (0): sending NOTIFY message 36137 protocol 1
On client side :
got r-u-there ack
But after a couple of minutes, the client display the following message : "dead peer detected, terminating" and finally "connection terminated by dead peer detection".
On the pix side :
ISAMKP (0): received DPD_R_U_THERE from peer <client IP>
ISAMKP (0): DPD_R_U_THERE: received seq_no 3848362003 out of range, expected 3831584788
I found the reason here, this is a known issue :
http://
It is fix by this patch http://
I recompiled vpnc with the patch and it works fine after this.
I hope it helps.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: vpnc 0.5.3r449-2
ProcVersionSign
Uname: Linux 2.6.35-24-generic x86_64
Architecture: amd64
Date: Sun Jan 9 19:06:10 2011
ProcEnviron:
LANG=en_GB.utf8
SHELL=/bin/bash
SourcePackage: vpnc
Changed in vpnc (Ubuntu): | |
status: | New → Confirmed |
The same bug.
lifetime status: 331 of 28800 seconds used, 17|11 of 4608000 kbytes used
dead peer detected, terminating
lifetime status: 336 of 28800 seconds used, 17|11 of 4608000 kbytes used
vpnc[17956]: connection terminated by dead peer detection
vpnc version: 0.5.3r449-2
$ uname -a
Linux ... 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011 i686 GNU/Linux
DISTRIB_ RELEASE= 10.10