Page MenuHomeVyOS Platform

Include wireguard peer name in interface summary report
Open, HighPublicFEATURE 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

Difficulty level
Unknown (require assessment)
Version
VyOS 1.4-rolling-202211200318
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

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