References: <50df7743-5541-40dd-c2ea-f81e3ad9c29c@...1227...> <3ba00502-4919-b866-451f-0ae215e6a170@...2181...> <5a4c873d-5bc0-2852-0e9f-612031796919@...1227...> <24f1514f-c203-aebe-9e88-131cb7a6f594@...2181...> <835f099d-56ad-ee13-9c2b-431514402a71@...1227...> From: Antonio Quartulli Message-ID: Date: Mon, 14 Jun 2021 16:21:55 +0200 MIME-Version: 1.0 In-Reply-To: <835f099d-56ad-ee13-9c2b-431514402a71@...1227...> Content-Language: en-US Subject: Re: [Openvpn-devel] TLS Error: local/remote TLS keys are out of sync List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Arne Schwabe , openvpn-devel Hi, On 14/06/2021 15:58, Arne Schwabe wrote: >> At this point I'd ask, why not re-moving/ignoring --hand-window entirely >> and live with the 60s default? > > > That is one of the many question why so many protocol things in OpenVPN > are finetunable in the first place. We can certainly add warnings when > setting these saying that this option should be only used for debugging. > And do the same for reneg-sec when set < 120 (or more accurately > 2*hand-window) When a knob is there, no matter if for debugging or not, people will just use it. It may break things, which may create rumors, which may create support overhead. IMHO going with well declared constant values (i.e. in a nicely commented header file), which can be easily tweaked by a developer before recompiling the OpenVPN, are more than enough for debugging (check [1] for an example). This way you clearly make the bar for shooting yourself in the foot high enough so that only skilled snipers can do that. Cheers, [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/batman-adv/main.h -- Antonio Quartulli