Periodically drops Tx frames and requires disconnect/reconnect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openconnect (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I use openconnect / network-
Since upgrading to 17.10, however, at least once an hour all traffic suddenly halts and the network becomes unreachable. Running "ifconfig" from the terminal shows something like this:
vpn0: flags=4305<
inet XXX.XXX.XXX.XXX netmask 255.255.0.0 destination XXX.XXX.XXX.XXX
inet6 XXXX::XXXX:
unspec 00-00-00-
RX packets 537872 bytes 385640344 (385.6 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 426702 bytes 82214569 (82.2 MB)
TX errors 0 dropped 7071 overruns 0 carrier 0 collisions 0
the "dropped" column of TX errors continuously increases when I try to make any outgoing requests. No incoming data comes in, at all.
I have not been able to isolate specifically what's causing this and I've not been able to reproduce it intentionally beyond just "connect to the VPN and use it until it breaks". Non-VPN internet works fine.
Connection is over a hardwired ethernet connection, onboard NIC. (Dell)
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: openconnect 7.08-1
ProcVersionSign
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Nov 9 14:59:01 2017
InstallationDate: Installed on 2015-12-21 (689 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: openconnect
UpgradeStatus: Upgraded to artful on 2017-10-24 (16 days ago)
I'm also affected. Looking at the process list (ps ax) I found:
23386 pts/4 S+ 0:00 openconnect -vvvvv -s /usr/share/ vpnc-scripts/ vpnc-script vpn.example.com vpnc-scripts/ vpnc-script vpnc-scripts/ vpnc-script NetworkManager/ nm-dispatcher ager/dispatcher .d/01-ifupdown tun0 up /update. d /update- libc.d if-up.d/ ntpdate ntpdate- debian -s avahi/avahi- daemon- check-dns. sh if-up.d avahi/avahi- daemon- check-dns. sh
23400 pts/4 S+ 0:00 /bin/sh -c /usr/share/
23405 pts/4 S+ 0:00 /bin/sh /usr/share/
23440 ? Ssl 0:00 /usr/lib/
23443 ? S 0:00 /bin/sh -e /etc/NetworkMan
23468 pts/4 S+ 0:00 run-parts --arg=-a --arg=tun0 /etc/resolvconf
23479 pts/4 S+ 0:00 run-parts /etc/resolvconf
23500 ? S 0:00 /bin/sh /etc/network/
23502 ? S 0:00 flock -n /run/lock/ntpdate /usr/sbin/
23504 ? S< 0:00 /usr/sbin/ntpdate -s de.pool.ntp.org
23515 pts/4 S+ 0:00 /bin/sh /usr/lib/
23534 pts/4 Sl+ 0:00 host -t soa local.
23539 ? S 0:00 run-parts /etc/network/
23550 ? S 0:00 /bin/sh /usr/lib/
23567 ? Sl 0:00 host -t soa local.
23574 pts/3 R+ 0:00 ps ax
the "avahi- daemon- check-dns. sh" process hangs, maybe because the route to dns isn't setup yet (vpnc-script still running). If I kill this process (pid 23550) the script continues to run and the connect is alive and stable.