OpenVPN / OpenVPN/openvpn

OpenVPN server performance degrades after auth failures

Open
#446 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.6k
Forks
3.4k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
Authentication failures (using radius) degrades OpenVPN server performance, it's being unusable at that moment.

To Reproduce

  1. Create an OpenVPN server
  2. First client should connect with right password.
  3. Second client should try to connect with wrong password.
  4. First client will be not able to use the VPN due to auth failures.

Expected behavior
The server performance shouldn't degrade in such cases.

Version information (please complete the following information):

  • OS: Ubuntu 20.04
  • OpenVPN version: 2.4.7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported sequence with RADIUS authentication on Ubuntu 20.04 and OpenVPN 2.4.7: one successful client followed by a failed login. Trace the authentication-failure handling and observe server performance while the failure occurs. Done means repeated failed authentications no longer prevent the established client from using the VPN.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.