Thank you for taking the time to report this bug and helping to make
Ubuntu better. We are sorry that we do not always have the capacity to
look at all reported bugs in a timely manner. There have been many
changes in Ubuntu since that time you reported the bug and your problem
may have been fixed with some of the updates. It would help us a lot if
you could test it on a currently supported Ubuntu version. When you test
it and it is still an issue, kindly upload the updated logs by running
apport-collect 391849 and any other logs that are relevant for this
particular issue.

** Changed in: network-manager (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/391849

Title:
  helper adds route to my inner gateway too late

Status in “network-manager” package in Ubuntu:
  Incomplete

Bug description:
  i configure nm-openvpn, that way :

  root     16705  2.0  0.2   4760  2664 ?        S    02:32   0:00 
/usr/sbin/openvpn --remote vpn-unix.yandex.net --nobind --dev tun --proto udp 
--port 1194 --cipher AES-128-CBC --tls-auth /home/vany/cert/tls.key --syslog 
nm-openvpn --script-security 2 --up 
/usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper --up-restart 
--persist-key --persist-tun --management 127.0.0.1 1194 
--management-query-passwords --route-noexec --client --ca 
/home/vany/cert/cachain.pem --cert /home/vany/cert/cert.pem --key 
/home/vany/cert/privkey.pem
  root     16712  0.0  0.0   1872   532 ?        S    02:33   0:00 /bin/sh 
/usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper tun0 1500 
1557 87.250.229.163 10.0.1.1 init

  and when it established connection i has this:

  eth1      Link encap:Ethernet  HWaddr 00:16:6f:a9:d6:9a  
            inet addr:192.168.1.77  Bcast:192.168.1.255  Mask:255.255.255.0
            inet6 addr: fe80::216:6fff:fea9:d69a/64 Scope:Link
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:146904 errors:59 dropped:59 overruns:0 frame:0
            TX packets:79339 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000 
            RX bytes:226827719 (226.8 MB)  TX bytes:13453593 (13.4 MB)
            Interrupt:18 Base address:0xc000 Memory:b0102000-b0102fff

  tun0      Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
            inet addr:87.250.229.163  P-t-P:10.0.1.1  Mask:255.255.255.255
            UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:100 
            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


  Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
  213.180.194.73  192.168.1.1     255.255.255.255 UGH       0 0          0 eth1
  213.180.194.73  192.168.1.1     255.255.255.255 UGH       0 0          0 tun0
  >>>>>>> 192.168.1.1     0.0.0.0         255.255.255.255 UH        0 0         
 0 tun0
  91.197.112.7    10.0.1.1        255.255.255.255 UGH       0 0          0 tun0
  91.197.114.28   10.0.1.1        255.255.255.255 UGH       0 0          0 tun0
  10.0.1.1        0.0.0.0         255.255.255.255 UH        0 0          0 tun0
  213.180.194.74  10.0.1.1        255.255.255.254 UG        0 0          0 tun0
  213.180.194.76  10.0.1.1        255.255.255.252 UG        0 0          0 tun0
  213.180.194.64  10.0.1.1        255.255.255.248 UG        0 0          0 tun0
  213.180.194.80  10.0.1.1        255.255.255.240 UG        0 0          0 tun0
  213.180.194.96  10.0.1.1        255.255.255.224 UG        0 0          0 tun0
  213.180.194.0   10.0.1.1        255.255.255.192 UG        0 0          0 tun0
  213.180.194.128 10.0.1.1        255.255.255.128 UG        0 0          0 tun0
  192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth1
  213.180.195.0   10.0.1.1        255.255.255.0   UG        0 0          0 tun0
  213.180.192.0   10.0.1.1        255.255.254.0   UG        0 0          0 tun0
  213.180.196.0   10.0.1.1        255.255.252.0   UG        0 0          0 tun0
  213.180.200.0   10.0.1.1        255.255.248.0   UG        0 0          0 tun0
  213.180.208.0   10.0.1.1        255.255.240.0   UG        0 0          0 tun0
  87.250.224.0    10.0.1.1        255.255.224.0   UG        0 0          0 tun0
  77.88.0.0       10.0.1.1        255.255.192.0   UG        0 0          0 tun0
  93.158.128.0    10.0.1.1        255.255.192.0   UG        0 0          0 tun0
  95.108.128.0    10.0.1.1        255.255.128.0   UG        0 0          0 tun0
  169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 tun0
  0.0.0.0         10.0.1.1        0.0.0.0         UG        0 0          0 tun0


  highlighted route is through tun0, but must be throught eth1
  when i manually change it to eth1 - all works.

  I think - this happens because default route at thius moment is
  through tun0, and in route command explicit iface definition is not
  present.

  I cant understand how this helper and dbus works together and i can't
  fix this bug.  Please help me.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/391849/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to