Page MenuHomeVyOS Platform

Include wireguard peer name in interface summary report
In progress, NormalPublicFEATURE REQUEST

Description

Displaying name of peers has been (undesirably) replaced by displaying only their public-key instead.

When displaying the summary:

show interfaces wireguard wg0 summary

This following output is displayed:

peer: QApDr57t1SSvzg6Gn5KGwSlVXqxp7wHmgKlBc6ww0mg=
  endpoint: 192.168.1.1:3000
  allowed ips: 0.0.0.0/0, ::/0
  latest handshake: 2 minutes, 4 seconds ago
  transfer: 6.63 MiB received, 5.72 MiB sent

Which shall be ideally changed to:

peer: MyTestPeer
  public-key: QApDr57t1SSvzg6Gn5KGwSlVXqxp7wHmgKlBc6ww0mg=
  endpoint: 192.168.1.1:3000
  allowed ips: 0.0.0.0/0, ::/0
  latest handshake: 2 minutes, 4 seconds ago
  transfer: 6.63 MiB received, 5.72 MiB sent
NOTE: In some previous versions, the peer's name was displayed correctly (This feature is now missing from some point in time). I think the old revision of the syntax, which displayed the output without needing the "summary" verb, that is by issuing " show interfaces wireguard wg0", might be the last version that still included the peer name in their report. (As a reference .see T4774's output samples which was already conforming to the desired behavior explained here at the time of posting)

Details

Version
VyOS 1.4-rolling-202211200318
Is it a breaking change?
Perfectly compatible

Event Timeline

Alfa80 created this object in space S1 VyOS Public.
Viacheslav changed the subtype of this task from "Task" to "Feature Request".
syncer lowered the priority of this task from High to Normal.

@Alfa80 this is actually the verbatim output of sudo wg show <interface>. I agree that it would sometimes be more intuitive to see the peers name

vyosbot removed c-po as the assignee of this task.Aug 18 2024, 6:02 AM
vyosbot added a subscriber: c-po.
natali-rs1985 changed the task status from Open to In progress.Sep 20 2024, 10:11 AM
natali-rs1985 claimed this task.
dmbaturin edited projects, added VyOS Rolling; removed Restricted Project.Oct 14 2024, 9:25 AM
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
dmbaturin changed Issue type from Unspecified (please specify) to improvement.