Project

General

Profile

Actions

Bug #10795

closed

WebGUI "Dashboard -> Services Status" widget issue

Added by Mikhail Burichenko over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Dashboard
Target version:
Start date:
07/28/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
All

Description

If i use FQDN in description of openvpn service, the description line will be truncated after the first dot because:

$service_desc = explode(".",$service['description']);

https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/widgets/widgets/services_status.widget.php
line 103

For example: for desctiption «Tunnel to gw.domain.local» i will see «OpenVPN Server: Tunnel to gw»
If i use several tunnels with same text, but different FQDN (gw.domain1.local, gw.domain2.local, etc) i will see several lines in widget with same description: «OpenVPN Server: Tunnel to gw». It is impossible to understand where what tunnel

I did changed line 103 to:

$service_desc = explode(". ",$service['description']);

Dot + space instead dot only. Because sentences are normally separated by a dot and a space. And now, for example: for description «Tunnel to gw.domain.local. Some huge text...» i will see «OpenVPN Server: Tunnel to gw.domain.local». Only next sentences will be truncated.

Sorry for my English, please.


Files

pfsense_problems_dash_svc_status_1.png (61 KB) pfsense_problems_dash_svc_status_1.png Mikhail Burichenko, 07/28/2020 09:29 AM
Screenshot_2020-09-04 off-gate ipbgd office - VPN OpenVPN Servers.png (11.6 KB) Screenshot_2020-09-04 off-gate ipbgd office - VPN OpenVPN Servers.png Danilo Zrenjanin, 09/04/2020 12:56 PM
Screenshot_2020-09-04 off-gate ipbgd office - Status Dashboard.png (27.7 KB) Screenshot_2020-09-04 off-gate ipbgd office - Status Dashboard.png Danilo Zrenjanin, 09/04/2020 12:56 PM
servicestatus_2_4_5p1.png (56.4 KB) servicestatus_2_4_5p1.png Service Status widget in 2.4.5_1 Max Leighton, 09/13/2020 08:13 PM
servicestatus2_5_0.png (59.1 KB) servicestatus2_5_0.png Service Status widget in 2.5 Max Leighton, 09/13/2020 08:13 PM
Actions

Also available in: Atom PDF