Actions
Feature #11016
closedOpenvpn remove "status" file after service close
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
OpenVPN
Target version:
-
Start date:
10/30/2020
Due date:
% Done:
0%
Estimated time:
1.00 h
Plus Target Version:
Release Notes:
Description
I have "status" file option added to openvpn "custom options" like so:
status /tmp/openvpn-status.txt
I use it to pull statistics for connected clients.
If I perform CARP failover, so that openvpn stops on primary node and starts on the secondary node, the status file on the first node stays and all statistics pulled from it are wrong.
The file should be deleted when the service exit. But since that should be done by openvpn itself, I propose to set default value for status file and take care of it via openvpn service up/down scripts.
Updated by Jim Pingle almost 4 years ago
- Status changed from New to Rejected
- Target version deleted (
2.5.0)
It's an unsupported directive. Code won't be added to pfSense to manage a file for it.
Use the management interface socket to query status data. That's what it's there for.
Actions