Opened 2 years ago

Last modified 2 years ago

#1441 closed Bug / Defect

Client-disconnect is given client-connect time_unix value — at Version 1

Reported by: tct Owned by:
Priority: minor Milestone:
Component: Generic / unclassified Version: OpenVPN git master branch (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:
Cc:

Description (last modified by tct)

When scripts run they are given a value for time_unix, which is the time at which the script is executed.

Client-disconnect script does not get the current time for when the script is executed, it is given the time value for when client-connect was executed.

Client-connect env:

time_unix=1638198649
time_ascii=2021-11-29 15:10:49
username=deb10
daemon_pid=2404662

Client-disconnect env:

time_unix=1638198649
time_ascii=2021-11-29 15:10:49
time_duration=95
username=deb10
daemon_pid=2404662

Change History (1)

comment:1 Changed 2 years ago by tct

Description: modified (diff)
Note: See TracTickets for help on using tickets.