Re: While reading the docs (--keepalive)
Gert Doering <[email protected]> Wed, 4 Sep 2024 16:51:24 +0200
| Newsgroups | gmane.network.openvpn.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
On Wed, Sep 04, 2024 at 02:26:37PM +0200, Ralf Hildebrandt via Openvpn-users wrote:
> What the rationale of having both client and server ping each other at
> the same interval, but then use ping-restart with different timeouts?
This is ancient stuff, so nobody around *knows*.
We do suspect that the intention is "if there is network trouble, the
client will always timeout the session first", which is also related to
"only the client had support for --explicit-exit-notify" (letting the
server know that it went away). The part about "make the client notice
first" is backed by the manpage ;-) - the "--explicit-exit-notify"
reasoning is what we came up with as possible explanation.
Now, "+10" would have been perfectly sufficient for that, and we do
not know why the code does "*2" instead.
In doubt, just expand the macro yourself and configure what suits you -
there should not be any real adverse effect if the server timeouts
earlier. The --explicit-exit-notify thing won't have an effect on
"the network broke" anyway.
gert
--
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users
signature.asc
(application/pgp-signature, 630 B)
-----BEGIN PGP SIGNATURE----- iQGcBAEBAgAGBQJm2HPsAAoJEB2Cnv7KVigShDsL/0CAg/6/z+m1AsDWwYZbHCUv 2LBeWvuf5i/wiNco7VDOpiu1gXdj1CkBK4bJjhjEGbPeZtG46dhNWyBo3oXx9wxN keGPwt+6uqIX/TKWB4YBA6duAqKRKs05cusFGu3eH5VweWJzFG9U09rTl7O8VAfK xkV+Fa3regNfsWblZbNfNOUSckvh1C6RWq4MaQPMyRnlXAv+UNBolLsug7j5bdJY 9waVn7TcS4f7oQoV5DSdFsr8TgQejhpVJY9zE1y8Q/0dNGlehqt0eWaTlwmAJQ4B 3W8mHDkY7eoOMS+ryn8tJGZDwy8LhM2EP802VCbxXs61DM0lJ3lx9RQhWnMTjcYQ eO5CNas6YoypA9fzvgoSbtFWj9qm+DlNuuGrUKtPCkddkSKUi9+z147rI6KYOFbQ x7VSOIhc1u/wTK+aOjaUVU+SKa+DZJ6UZbhaZhe1uW7NFgDIZwDFCigdHHXLQ8Rw NSxo2ZDO6yvDW5sNmP+A7itZJsEg1rlam4Stuc1jzg== =n18Z -----END PGP SIGNATURE-----