Opened 12 years ago
Closed 12 years ago
#178 closed Patch submission (duplicate)
OpenVPN won't send AUTH_FAILED if client-connect plugin exited successfully but script not
Reported by: | ValdikSS | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Generic / unclassified | Version: | OpenVPN 2.2.1 (Community Ed) |
Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | client-connect, plugin |
Cc: |
Description
I have radiusplugin and client-connect script. Radiusplugin is used only for accounting and some kind of authorization is managed by client-connect script. If you disable radiusplugin and client-connect script will exit with error code 1, client would be disconnected with AUTH_FAILED, but if radiusplugin client-connect function returns 0 and script returns 1, client would constantly send PUSH_REQUESTs and nothing more.
It can be fixed running client-connect script before plugin's client-connect. Patch included.
Note: See
TracTickets for help on using
tickets.