Opened 2 years ago

Closed 2 years ago

#177 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: 2.2.1
Severity: Not set (if unsure, select this one) 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.

Change History (1)

comment:1 Changed 2 years ago by samuli

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.