Re: [Openvpn-devel] [PATCH v2] Drop recursively routed packets

2016-08-30 Thread Lev Stipakov
So, following changes are required for V3: 1) No drop_if_recursive() call for P2P 2) Same for TAP 3) Add an option to disable it Sounds reasonable? 2016-08-24 16:13 GMT+03:00 Gert Doering : > Hi, > > On Wed, Aug 24, 2016 at 10:12:54AM +0200, Jan Just Keijser wrote: > >

Re: [Openvpn-devel] [PATCH v2] Drop recursively routed packets

2016-08-22 Thread Gert Doering
Hi, On Mon, Jan 04, 2016 at 02:43:44PM +0200, Lev Stipakov wrote: > v2: better method naming > > On certain OSes (Windows, OS X) when network adapter is > disabled (ethernet cable pulled off, Wi-Fi hardware switch disabled), > operating system starts to use tun as an external interface. >

Re: [Openvpn-devel] [PATCH v2] Drop recursively routed packets

2016-08-22 Thread Gert Doering
Hi, On Mon, Jan 04, 2016 at 02:43:44PM +0200, Lev Stipakov wrote: > v2: better method naming > > On certain OSes (Windows, OS X) when network adapter is > disabled (ethernet cable pulled off, Wi-Fi hardware switch disabled), > operating system starts to use tun as an external interface. >

Re: [Openvpn-devel] [PATCH v2] Drop recursively routed packets

2016-08-07 Thread ValdikSS
Tested on Windows 10 and Linux. Works as intended. I've connected to the VPN which redirects the gateway and physically unplugged Ethernet cable. Git version started to consume 100% CPU while patched version either doesn't consume CPU and doesn't print anything or doesn't consume CPU and print

Re: [Openvpn-devel] [PATCH v2] Drop recursively routed packets

2016-06-11 Thread Gert Doering
Hi, On Wed, Apr 06, 2016 at 11:44:34PM +0300, ValdikSS wrote: > More like a notification not to forget about it. I'll test it tomorrow and > write the results. > > On 06.04.2016 17:51, Gert Doering wrote: > > Hi, > > > > On Wed, Apr 06, 2016 at 02:37:13PM +0300, ValdikSS wrote: > > Is this a "I

[Openvpn-devel] [PATCH v2] Drop recursively routed packets

2016-01-04 Thread Lev Stipakov
v2: better method naming On certain OSes (Windows, OS X) when network adapter is disabled (ethernet cable pulled off, Wi-Fi hardware switch disabled), operating system starts to use tun as an external interface. Outgoing packets are routed to tun, UDP encapsulated, given to routing table and sent