Page MenuHomePhabricator

OpenVPN "run show openvpn client status" does not work
Closed, ResolvedPublicBUG

Description

The command run show openvpn client status always returns "Cannot find active OpenVPN client connections" even when there is a client connected:

cpo@LR3# sudo cat /opt/vyatta/etc/openvpn/status/vtun10.status
OpenVPN CLIENT LIST
Updated,Fri Aug 16 23:52:54 2019
Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
client1,172.18.202.10:53389,5112,4333,Fri Aug 16 23:52:22 2019
ROUTING TABLE
Virtual Address,Common Name,Real Address,Last Ref
10.10.0.2,client1,172.18.202.10:53389,Fri Aug 16 23:52:50 2019
GLOBAL STATS
Max bcast/mcast queue length,0
END

Problem exists with 1.1.7, 1.2.2

This should be fixed together with T1548 and rewriting the op-mode commands for OpenVPN

Details

Difficulty level
Normal (likely a few hours)
Version
1.1.7
Why the issue appeared?
Will be filled on close

Event Timeline

pasik added a subscriber: pasik.Aug 16 2019, 10:39 PM
c-po updated the task description. (Show Details)Aug 17 2019, 4:33 PM
c-po added a comment.Mon, Aug 26, 2:22 PM

Resolved with rewrite of op-mode scripts in Python.

c-po closed this task as Resolved.Mon, Aug 26, 2:22 PM
c-po claimed this task.
c-po edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.