OpenVPN server performance degrades after auth failures
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
- Create an OpenVPN server
- First client should connect with right password.
- Second client should try to connect with wrong password.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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