OpenVPN client tries to reconnect infinite times when connection is dropped locking out user accounts
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.6k
- Forks
- 3.4k
- PR merge metrics
- No merged PRs in 30d
Description
I have tried ;auto_connect no and
connect-retry-max 1
But there is no way to stop this behavior. If the client loses connectivity while the user is away, it tries endlessly to reconnect locking user accounts out.
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 tracing the auto_connect and connect-retry-max configuration options through the OpenVPN client reconnect behavior. The report does not name files or tests, so first locate the relevant reconnect handling and its existing coverage. Done means a dropped connection no longer retries indefinitely when the configured retry limit is one, without locking out user accounts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100