Message-ID: <4BDAD78B.3090805@...515...> Date: Fri, 30 Apr 2010 16:13:47 +0300 From: =?ISO-8859-15?Q?Samuli_Sepp=E4nen?= MIME-Version: 1.0 References: <4BDAD39A.1030906@...515...> <4BDAD611.2000504@...1365...> In-Reply-To: <4BDAD611.2000504@...1365...> Subject: Re: [Openvpn-devel] [Openvpn-users] [TESTING NEEDED] Using --inactive and --ping seems to defeat each other List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable To: "openvpn-users@lists.sourceforge.net" , "openvpn-devel@lists.sourceforge.net" > On 30-04-10 14:56, Samuli Sepp=E4nen wrote: >=20=20=20 >> Hi all, >> >> In yesterday's meeting we discussed this issue: >> >> >> >> In a nutshell, OpenVPN's ping packets (--ping) keep the >> connection alive even if user uses the --inactive option to >> close inactive connections. Now, the --inactive option has an optional >> parameter, which allows closing the connection if less than >> of traffic is received in. Setting all of these >> parameters correctly should allow --inactivity to "ignore" the OpenVPN >> ping traffic. >> >> Has somebody already solved this issue by setting correct values for >> --inactive and --ping parameters? Our idea is to change the code so that >> the --ping and --inactive options are not mutually exclusive even if the >> optional option is not defined. >> >> I hope I have not been too confusing :). For more information about the >> --inactive and --ping options, see "man openvpn" or >> >> >=20=20=20=20=20 > I agree that that would be a wise change. However, I wonder: why change=20 > the amount of bytes, if you can also simply not count the ping packets?=20 > To me, it would seem a much more accurate way of determining whether the= =20 > connection is idle or not, because there's always the possibility of=20 > duplicate ping packets (even although that's unlikely) or other errors.=20 > Or would that cause a too great load on the server? >=20=20=20 Sounds like a good idea. Do any devs have an idea how difficult (code-vise) that'd be? --=20 Samuli Sepp=E4nen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock