Bug 205923 - New version of iproute broke vpnc-script
Summary: New version of iproute broke vpnc-script
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: vpnc
Version: 5
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-10 06:10 UTC by Cory Bell
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version: vpnc-0.3.3-7.3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-12 16:40:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to strip hoplimit from output of ip route get (335 bytes, patch)
2006-09-10 06:10 UTC, Cory Bell
no flags Details | Diff

Description Cory Bell 2006-09-10 06:10:56 UTC
Description of problem:
The recent update to iproute-2.6.16-1.fc5 broke vpnc (more accurately, it broke
/etc/vpnc/vpnc-script). The new iproute adds a "hoplimit" value to the output of
"ip route get <ipsec_gw_address>". Because fix_ip_get_output doesn't know to
remove it (and it isn't a valid parameter to "ip route add"), the attempt to add
a route to the VPN concentrator fails with "Error: either "to" is duplicate, or
"hoplimit" is a garbage."

The fix is easy, just modify fix_ip_get_output to strip the hoplimit value.
Patch will be attached shortly.

Version-Release number of selected component (if applicable):
vpnc-0.3.3-7.2

How reproducible:
100% since updating to iproute-2.6.16-1.fc5.

Steps to Reproduce:
1. Update to iproute-2.6.16-1.fc5
2. Try to connect to a VPN concentrator
3. Enjoy not being able to pass any packets
  
Actual results:
Error adding route to VPN concentrator

Expected results:
Sucessful addition of route to VPN concentrator

Comment 1 Cory Bell 2006-09-10 06:10:56 UTC
Created attachment 135916 [details]
Patch to strip hoplimit from output of ip route get

Comment 2 Alessandro Suardi 2006-09-11 01:15:42 UTC
Bug reproduces for me on two different VPN concentrators.
Reverted for now to iproute-2.6.15-1.2.

Comment 3 Alessandro Suardi 2006-09-18 00:57:08 UTC
Just to confirm that vpnc-0.3.3-7.3 and newer iproute work fine together.

Comment 4 Lans Carstensen 2006-10-10 04:32:13 UTC
This is confirmation that vpnc-0.3.3-7.3 works properly on RHEL5 beta 1, whereas
-7.2 does not.


Note You need to log in before you can comment on or make changes to this bug.