sets default route, although server doesn't push that route!

Bug #333150 reported by Ralf Hildebrandt
4
Affects Status Importance Assigned to Milestone
network-manager-openvpn (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Until recently, openvpn via network-manager was working fine (in jaunty). Now, all ove a sudden, network-manager-openvpn changes the default route to point into the tunnel, although the server doesn't push that route:

With a bare-bone openvpn call:

Mon Feb 23 07:02:32 2009 PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 141.42.1.11,dhcp-option DNS 141.42.2.22,dhcp-option DNS 141.42.3.33,dhcp-option DOMAIN charite.de,dhcp-option NTP 141.42.1.11,dhcp-option NTP 141.42.2.22,dhcp-option NTP 141.42.3.33,route 172.28.0.1,topology net30,ping 10,ping-restart 120,route 10.0.0.0 255.0.0.0,route 172.16.0.0 255.240.0.0,route 172.16.0.0 255.248.0.0,route 172.24.0.0 255.252.0.0,route 172.29.0.0 255.255.0.0,route 172.30.0.0 255.254.0.0,route 192.168.0.0 255.255.0.0,route 141.42.0.0 255.255.0.0,route 160.45.172.0 255.255.252.0,route 160.45.176.0 255.255.240.0,route 160.45.192.0 255.255.240.0,route 193.175.64.0 255.255.248.0,route 193.175.72.0 255.255.255.0,route 193.175.74.0 255.255.254.0,ifconfig 172.28.0.5 172.28.0.6'

...

Mon Feb 23 07:02:32 2009 ./client.sh up tun0 1500 1542 172.28.0.5 172.28.0.6 init
/etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /etc/resolvconf/run/resolv.conf
Mon Feb 23 07:02:43 2009 /sbin/route add -net 172.28.0.1 netmask 255.255.255.255 gw 172.28.0.6
Mon Feb 23 07:02:43 2009 /sbin/route add -net 10.0.0.0 netmask 255.0.0.0 gw 172.28.0.6
Mon Feb 23 07:02:43 2009 /sbin/route add -net 172.16.0.0 netmask 255.240.0.0 gw 172.28.0.6
Mon Feb 23 07:02:43 2009 /sbin/route add -net 172.16.0.0 netmask 255.248.0.0 gw 172.28.0.6
Mon Feb 23 07:02:43 2009 /sbin/route add -net 172.24.0.0 netmask 255.252.0.0 gw 172.28.0.6
Mon Feb 23 07:02:43 2009 /sbin/route add -net 172.29.0.0 netmask 255.255.0.0 gw 172.28.0.6
Mon Feb 23 07:02:43 2009 /sbin/route add -net 172.30.0.0 netmask 255.254.0.0 gw 172.28.0.6
Mon Feb 23 07:02:43 2009 WARNING: potential route subnet conflict between local LAN [192.168.1.0/255.255.255.0] and remote VPN [192.168.0.0/255.255.0.0]
Mon Feb 23 07:02:43 2009 /sbin/route add -net 192.168.0.0 netmask 255.255.0.0 gw 172.28.0.6
Mon Feb 23 07:02:43 2009 /sbin/route add -net 141.42.0.0 netmask 255.255.0.0 gw 172.28.0.6
Mon Feb 23 07:02:43 2009 /sbin/route add -net 160.45.172.0 netmask 255.255.252.0 gw 172.28.0.6
Mon Feb 23 07:02:43 2009 /sbin/route add -net 160.45.176.0 netmask 255.255.240.0 gw 172.28.0.6
Mon Feb 23 07:02:43 2009 /sbin/route add -net 160.45.192.0 netmask 255.255.240.0 gw 172.28.0.6
Mon Feb 23 07:02:43 2009 /sbin/route add -net 193.175.64.0 netmask 255.255.248.0 gw 172.28.0.6
Mon Feb 23 07:02:43 2009 /sbin/route add -net 193.175.72.0 netmask 255.255.255.0 gw 172.28.0.6
Mon Feb 23 07:02:43 2009 /sbin/route add -net 193.175.74.0 netmask 255.255.254.0 gw 172.28.0.6
Mon Feb 23 07:02:43 2009 Initialization Sequence Completed

network-manager-openvpn 0.7.1~20090213+bzr14-0ubuntu1 is broken
network-manager-openvpn 0.7-0ubuntu1 seemed to work

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

Seems to work with 2.6.28-8-generic #26-Ubuntu

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :

Turn out I was wrong, it's still there

Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

Looks like a duplicate of #279597, what do you think Ralf?

Changed in network-manager-openvpn (Ubuntu):
status: New → Incomplete
Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote : Re: [Bug 333150] Re: sets default route, although server doesn't push that route!

* Lionel Porcheron <email address hidden>:
> Looks like a duplicate of #279597, what do you think Ralf?
>
> ** Changed in: network-manager-openvpn (Ubuntu)
> Status: New => Incomplete

Yes, I would think so.
But it used to work for me in intrepid, so...

--
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12200 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  <email address hidden> | http://www.charite.de

Revision history for this message
Patrick Ben Koetter (p-state-of-mind) wrote :

Same here. When I connect to an openVPN network using my Jaunty machine the default route is replaced for the VPN address.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.