[Pkg-utopia-maintainers] Bug#584578: network-manager-vpnc: incorrectly adds a route through the current network gateway

Teodor mteodor at gmail.com
Fri Jun 4 18:43:48 UTC 2010


Package: network-manager-vpnc
Version: 0.8-1
Severity: normal

Hi,

I've added for now two Cisco VPN connections and I've noticed that it adds a route
to the VPN server through the current network gateway like this:
| root at frost:~# ip route list
| [..]
| t.x.y.18 via CURRENT_GW dev eth0  proto static	[1]
| t.x.y.18 via ANOTHER_VPN dev tun0			[2]
| [..]
| default via CURRENT_GW dev eth0  proto static

The problem is that the Cisco VPN server is only reachable through another VPN
connection which was established first and listed as the second route above:
| t.x.y.18 via ANOTHER_VPN dev tun0

But this route is ignored because it was overriden by the first route added by
network-manager-vpnc at connection time even if the Cisco VPN connection was
configured with "Use this connection only on resources on this network" (does
not became the default route). The direct result of this route is that the VPN
connection is not working at all unless the route [1] is manually deleted.

The fix is to not add a new route to the VPN server through CURRENT_GW unless
the new Cisco VPN connection will become the default route.

Thanks


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages network-manager-vpnc depends on:
ii  libc6                        2.10.2-9    Embedded GNU C Library: Shared lib
ii  libdbus-1-3                  1.2.24-1    simple interprocess messaging syst
ii  libdbus-glib-1-2             0.86-1      simple interprocess messaging syst
ii  libglib2.0-0                 2.24.1-1    The GLib library of C routines
ii  libnm-glib-vpn1              0.8-1       network management framework (GLib
ii  libnm-glib2                  0.8-1       network management framework (GLib
ii  libnm-util1                  0.8-1       network management framework (shar
ii  vpnc                         0.5.3r449-2 Cisco-compatible VPN client

network-manager-vpnc recommends no packages.

network-manager-vpnc suggests no packages.

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list