Opened 7 years ago

Closed 6 years ago

#36 closed Bug / Defect (worksforme)

Openvpn v2.1.1 does not recover from interface reset

Reported by: samuli Owned by:
Priority: major Milestone:
Component: Networking Version: OpenVPN 2.1.0 / 2.1.1 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:
Cc:

Description

I am not sure what happens with different configurations, but mine is the following:

Openvpn v2.1.1 on arch linux. kernel 2.6.33
I connect to an openvpn server through an http proxy over tcp with --redirect-gateway

If the network interface that openvpn is using to connect to the proxy is reset for some reason(it is a wireless interface so that can happen if the laptop loses signal) the routing table is partially flushed. The routes that go through the vpn are still up(including the default route). However, any route that uses the underlying interface is gone(including the route to the proxy server). From there on out, openvpn simply tries to connect and times out every time and never recovers.

If you need any additional information about my setup let me know. The bug is pretty easy to reproduce though. Just connect to an openvpn server and have --redirect-gateway on, then bring down the underlying network interface and bring it back up.

Change History (2)

comment:1 Changed 7 years ago by samuli

This was originally posted to SF.net bug tracker by Raja Baz (http://sourceforge.net/users/?user_id=2929862).

comment:2 Changed 6 years ago by ecrist

  • Resolution set to worksforme
  • Status changed from new to closed

Please re-report this bug if it still persists in OpenVPN 2.2.2 or newer.

Note: See TracTickets for help on using tickets.