Message-ID: From: References: <562DF8BA.1090406@...515...><071C5EF6-E94A-422D-9456-0E6015C10F8D@...277...><5630AE4D.8040401@...2080...> Date: Thu, 29 Oct 2015 20:35:30 -0000 MIME-Version: 1.0 Subject: Re: [Openvpn-devel] Topics for today's (Monday, 26th Oct 2015) community meeting List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit To: "Morris, Russell" , openvpn-devel@lists.sourceforge.net, Gmail , Selva Nair I would like to help on this I run a W7 PC which goes into standby 10 or more times per day and it *Never* has an issue on resume. I will post full details soon (when I can remember what I did to solve it).. Regards ----- Original Message ----- From: "Morris, Russell" To: ; "Gmail" ; "Selva Nair" Sent: Thursday, October 29, 2015 4:53 PM Subject: Re: [Openvpn-devel] Topics for today's (Monday, 26th Oct 2015) community meeting > Hi, > > One more thought on this - is there a way to get debug / logging output > from the TAP adapter? Trying to understand the "shutdown" of the TAP > adapter with standby / resume of Windows. > > Thanks, > ... Russell > > > -----Original Message----- > From: Morris, Russell > Sent: Wednesday, October 28, 2015 7:39 AM > To: openvpn-devel@lists.sourceforge.net; Gmail ; > Selva Nair > Subject: RE: [Openvpn-devel] Topics for today's (Monday, 26th Oct 2015) > community meeting > > Hi, > > Agreed! Fix the underlying problem, don't put a band-aid on it ... ;-). So > do we start from the TAP adapter, which seems to "fail" first, then there > is a ripple effect? Or look at OpenVPN - should it really exit, or just > report TAP not present, and keep trying to reconnect (would address > standby / resume)? > > Thoughts? > > Thanks, > ... Russell > > > -----Original Message----- > From: David Sommerseth [mailto:openvpn@...2080...] > Sent: Wednesday, October 28, 2015 6:15 AM > To: Gmail ; Selva Nair > Cc: openvpn-devel@lists.sourceforge.net > Subject: Re: [Openvpn-devel] Topics for today's (Monday, 26th Oct 2015) > community meeting > > On 27/10/15 07:07, Gmail wrote: >> On Oct 26, 2015, at 8:41 AM, Selva Nair > > wrote: >> >>> >>> On Mon, Oct 26, 2015 at 11:17 AM, Gmail >> > wrote: >>> >>> Regarding the instability of connection in the windows version: I >>> overcame this long ago (and works well to this date) by building a >>> tiny script that periodically pings the the ovpn gateway (server). >>> If no ping reply then restart the service. Very simple. Perhaps >>> this could be built into the code as an option? >>> >>> >>> Oh, please, no... If the TAP driver has stability woes it needs to be >>> fixed. True loss of network connectivity is already handled by >>> internal pings and ping-restarts. It would be a grave mistake to add >>> such options to hide any stability issues. >>> >>> Cheers, >>> >>> Selva >>> >> Your concern is understood and acknowledged. Perhaps the ping-restart >> idea is useful in the interim until the cause is located? > > This will work in regards to ensure that openvpn client and server will > have a working connection. Configuring OpenVPN with > --ping/--ping-restart (or the --keepalive "macro", which does it even > better), is generally recommended and is the best way to provide a more > "stable" VPN experience. > > If anything happens with the TAP driver, OpenVPN will not re-initialize > the TAP adapter - thus OpenVPN should stop running. When the TAP driver > have an issue, it is just like your Ethernet or WIFI driver have an > issue. If the TAP adapter "disappears", it's just like unplugging your > network adapter in your computer, in these situations OpenVPN should > really stop. > > So I do agree with Selva, if there are stability issues with the TAP > driver, those issues should be fixed in the driver. If there are things > outside of OpenVPN or the TAP driver which does funky stuff, that should > as far as possible be fixed there. > > > -- > kind regards, > > David Sommerseth > > > ------------------------------------------------------------------------------ > _______________________________________________ > Openvpn-devel mailing list > Openvpn-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openvpn-devel