Bug 134480 - vpnc does not support rekeying
Summary: vpnc does not support rekeying
Status: RESOLVED FIXED
: 201664 (view as bug list)
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Network (show other bugs)
Version: Final
Hardware: All SUSE Other
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Lars Müller
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-18 21:29 UTC by JP Rosevear
Modified: 2008-01-15 09:54 UTC (History)
7 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
support vpnc rekeying (15.29 KB, patch)
2006-07-11 16:16 UTC, Robert Love
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description JP Rosevear 2005-11-18 21:29:05 UTC
Every so often my network stops working if I'm using VPN.  sys log says:

Nov 18 16:11:06 knight syslog-ng[2690]: STATS: dropped 0
Nov 18 16:24:48 knight vpnc[23401]: unknown spi 0
Nov 18 16:24:48 knight vpnc[23401]: unknown spi from 130.57.170.98
Nov 18 16:24:56 knight vpnc[23401]: unknown spi 0
Nov 18 16:24:56 knight vpnc[23401]: unknown spi from 130.57.170.98
Nov 18 16:25:04 knight vpnc[23401]: unknown spi 0
Nov 18 16:25:04 knight vpnc[23401]: unknown spi from 130.57.170.98
Nov 18 16:25:12 knight vpnc[23401]: unknown spi 0
Nov 18 16:25:12 knight vpnc[23401]: unknown spi from 130.57.170.98
Nov 18 16:25:18 knight vpnc[23401]: unknown spi 0
Nov 18 16:25:18 knight vpnc[23401]: unknown spi from 130.57.170.98
Nov 18 16:25:18 knight vpnc[23401]: unknown spi 0
Nov 18 16:25:18 knight vpnc[23401]: unknown spi from 130.57.170.98
Nov 18 16:25:18 knight vpnc[23401]: unknown spi 0
Nov 18 16:25:18 knight vpnc[23401]: unknown spi from 130.57.170.98
Nov 18 16:25:18 knight vpnc[23401]: unknown spi 0
Nov 18 16:25:18 knight vpnc[23401]: unknown spi from 130.57.170.98
Nov 18 16:25:20 knight vpnc[23401]: unknown spi 0
Nov 18 16:25:20 knight vpnc[23401]: unknown spi from 130.57.170.98
Nov 18 16:25:20 knight vpnc[23401]: unknown spi 0
Nov 18 16:25:20 knight vpnc[23401]: unknown spi from 130.57.170.98
Nov 18 16:25:27 knight dhclient: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Nov 18 16:25:27 knight dhclient: DHCPACK from 192.168.1.1
Nov 18 16:25:27 knight NetworkManager: <information>    DHCP daemon state now 3 for interface eth0

Name lookups fail and my network goes dead
Comment 1 Robert Love 2005-12-05 20:08:47 UTC
Alright, I have spent some time investigating this bug.

It is caused by a Cisco VPN feature called "rekeying" where every 6-9 hours the VPN and client basically negotiate a new key and reestablish the connection.

Unfortunately, vpnc, the Cisco VPN client backend that NM uses, does not support rekeying.  The feature is on their TODO list but does not have an ETA.
Comment 2 JP Rosevear 2005-12-05 20:21:44 UTC
Can we at least recognize this condition and bring down the tun0 interface gracefully and remove the lock emblem from the nm-applet tray icon?
Comment 3 Robert Love 2005-12-05 20:33:09 UTC
Not right now, no.

You'd think vpnc would handle that (maybe it is nontrivial to detect, or the client's responsibility?) but I will investigate to see if that is possible.
Comment 4 Michael Gross 2006-02-15 14:47:10 UTC
Lars: Can you provide a comment here? Should I assign this to you?
Comment 5 Lars Müller 2006-02-15 14:54:23 UTC
I can't add anything more than Robert did in comment #1.

But I have a contact to the maintainer of vpnc.

If this is required to work we might ask him to implement it for us as a contract work.

Micahel: No further action required from your side.
Comment 6 Michael Gross 2006-02-15 17:11:52 UTC
I assign this to Lars now - as the maintainer he should decide about this.
Comment 7 Lars Müller 2006-02-15 17:21:05 UTC
JP: How important is "rekeying" for the desktop product?
Comment 8 Robert Love 2006-02-15 18:17:35 UTC
mgross: Thank you for reassigning.  Good idea.

Lars: I cannot speak for JP, but rekeying support is important because without it, the VPN connection dies every 7~8 hours with notification.  This makes the user experience rather annoying.
Comment 9 JP Rosevear 2006-03-09 18:47:25 UTC
Yes, it is reasonably important.
Comment 10 Lars Müller 2006-03-09 20:07:57 UTC
I don't have the knowledge and even not the time to develop this.  Therfore I reassign the bug to Pete as the desktop product manager.

Pete: Who might have a cost center to finance the rekeying feature? 
Comment 11 Stefan Brüns 2006-03-14 07:47:22 UTC
Have a look at
http://lists.unix-ag.uni-kl.de/pipermail/vpnc-devel/2006-March/000864.html
Comment 12 Robert Love 2006-07-11 16:15:57 UTC
Let's bump this to SUSE 10.2 and get it in.  I have a patch.  ;-)

Who maintains the package, lmuelle?
Comment 13 Robert Love 2006-07-11 16:16:44 UTC
Created attachment 93186 [details]
support vpnc rekeying
Comment 14 JP Rosevear 2006-08-09 19:49:32 UTC
Lars maintains it.

I'd like to see this for SLE SP1 as well.
Comment 15 Robert Love 2006-09-29 17:58:49 UTC
Gary, let's get this into SP1 (or sooner).
Comment 16 Forgotten User --EoyBps8f 2006-10-24 11:24:24 UTC
Before I file a new bug, I wanted to check here first: I use kvpnc with vpnc 0.3.3 on 10.1. The kvpnc and vpnc version are the same in 10.2 alpha 5 yet I I get disconnected every minute. The cisco-client works, so it has to be a client issue.

Since kvpnc and vpnc are the same version in both systems, could this patch be the cause, or is it not part of alpha 5?

I'll try to copy my kvpnc config from 10.1 and test, but if it happens with that old config, I think it's this patch. If not, the bug has to be in kvpnc generating the new config.
Comment 17 JP Rosevear 2007-01-15 21:45:15 UTC
*** Bug 201664 has been marked as a duplicate of this bug. ***
Comment 18 Joachim Deguara 2007-05-26 05:33:15 UTC
As of vpnc 0.4.0, rekeying is being supported.  The openSUSE 10.3 could use the bump to the newer vpnc version.
Comment 19 Felix Möller 2007-07-05 14:09:36 UTC
Just wanted to report this. Why is http://www.unix-ag.uni-kl.de/~massar/vpnc/vpnc-0.4.0.tar.gz not included in factory? Factory still has vpnc 0.3.3 from 2005!
Comment 20 Gary Ekker 2007-07-10 19:14:55 UTC
Lars, can we get vpnc updated to the new version for 10.3 before feature freeze?
Comment 21 Felix Möller 2007-09-21 16:05:34 UTC
somehow this bug seems to be lost. Giving NEEDINFO to Lars to see what can be done.

"vpnc-0.5.1.tar.gz  Mon Sep 10 23:16:41 CEST 2007" is the current version!

Probably the Product and Version should be updated and we could target openSUSE 11.
Comment 22 Stephan Kulow 2007-10-06 16:16:29 UTC
removing useless info provider on assignee
Comment 23 Felix Möller 2007-10-14 22:00:03 UTC
For anybody still waiting for the package to be updated I want to mention here that a recent version of vpnc can be retrieved here: 
http://download.opensuse.org/repositories/home:/dannori/

This version allows me to be connected more than 1 hour, great!

Lars if you are not responsible for this anymore please assign it to the appropriate person!
Comment 24 Lars Müller 2008-01-14 19:07:16 UTC
I've updated the vpnc to version 0.5.1 as suggested in comment #21.
Comment 26 Gary Ekker 2008-01-14 23:07:02 UTC
did you submit this to /work/src/done/SLES1-SP2? If not could you do submit it there as well?
Comment 27 Lars Müller 2008-01-15 09:54:12 UTC
Submitted to SLES10-SP2 too as requested by comment #26.