Project

General

Profile

Actions

Todo #13129

closed

OpenVPN status page improvements

Added by Jim Pingle over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OpenVPN
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Default

Description

There are a few things that need fixed up on the OpenVPN status page:

  • The OpenVPN status page is misinterpreting some client/p2p status messages. See the "state" section on https://github.com/OpenVPN/openvpn/blob/master/doc/management-notes.txt
    • On a related note, some states have a sub-state/detail string that we should pass through if it's present.
    • Some sub-states also replace the state, e.g. "reconnecting,server_poll" isn't really reconnecting, it's waiting for incoming connections.
    • The formatting of the "state 1" output is more consistent these days and all of the code around that could be cleaned up significantly.
  • The server and client status entries should print the interface name (e.g. ovpns1, ovpnc2)
  • The service status and control icons on client/p2p status are badly formatted, using a table in a table for no clear reason
  • Service status and control icons on server instances are formatted differently also for no clear reason, would make more sense to have them on the right to match the others.
  • Would be handy to have an icon to edit a specific instance but that may not be possible without more significant work to load VPN instances by the internal vpnid rather than array index.
Actions #2

Updated by Jim Pingle over 2 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Steve Wheeler over 2 years ago

The OpenVPN widget shows P2P tunnels as down even when they are connected and passing traffic.

Tested: 22.05.a.20220510.1205

Actions #4

Updated by Jim Pingle over 2 years ago

Widget should be OK now, fixed by aa11df80ebd8c8dc07dfaafba364fac32a6631e0

Actions #5

Updated by Jim Pingle over 2 years ago

  • Status changed from Feedback to Resolved

The new changes are present and working well.

Actions

Also available in: Atom PDF