[GH-ISSUE #39] 'reneg-sec 0' is not a good idea, and is not necessary in OpenVPN >= 2.4 #23

Open
opened 2026-02-25 22:30:47 +03:00 by kerem · 1 comment
Owner

Originally created by @wrossmann on GitHub (Mar 19, 2021).
Original GitHub issue: https://github.com/evgeny-gridasov/openvpn-otp/issues/39

Setting your tunnel to never renegotiate is a security problem for long-running tunnels, and OpenVPN added the auth-gen-token config parameter specifically for cases like OTP authentication. In short, after authentication OpenVPN will generate a token to be used for renegotiation in place of re-sending the username and password.

Please add a mention of auth-gen-token for OpenVPN >= 2.4 in the README.

Originally created by @wrossmann on GitHub (Mar 19, 2021). Original GitHub issue: https://github.com/evgeny-gridasov/openvpn-otp/issues/39 Setting your tunnel to never renegotiate is a security problem for long-running tunnels, and OpenVPN added the `auth-gen-token` config parameter specifically for cases like OTP authentication. In short, after authentication OpenVPN will generate a token to be used for renegotiation in place of re-sending the username and password. Please add a mention of `auth-gen-token` for OpenVPN >= 2.4 in the README.
Author
Owner

@evgeny-gridasov commented on GitHub (Mar 19, 2021):

Thanks Wade,
Would you like to raise a PR to add that?
I don’t want to take credit for other people’s contributions.
Alternatively, I could make that change myself.

<!-- gh-comment-id:803185251 --> @evgeny-gridasov commented on GitHub (Mar 19, 2021): Thanks Wade, Would you like to raise a PR to add that? I don’t want to take credit for other people’s contributions. Alternatively, I could make that change myself.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/openvpn-otp#23
No description provided.