Opened 7 years ago

Last modified 6 years ago

#642 closed Bug / Defect

Disabling network adapter causes packet flood — at Initial Version

Reported by: stipa Owned by: stipa
Priority: major Milestone: release 2.4
Component: Networking Version: OpenVPN git master branch (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:
Cc: Gert Döring


On certain OSes (Windows, OS X) when network adapter is disabled (ethernet cable pulled off, WiFi? hardware switch disabled), operating system starts to use tun as an external interface. So outgoing packets are routed to tun, UDP encapsulated, given to routing table and sent to.. tun.

As a consequence, thousands of packets are been sent to the twisted nether, traffic counters skyrocket and user is not happy.

As a fix, let's detect packets going to "my current destination tunnel address + port" and drop (+log) them ("recursive routing detected, dropping tun packet to $destination:$port").

Change History (0)

Note: See TracTickets for help on using tickets.