Permalink
Please
sign in to comment.
Browse files
Add a short name attribute to peers for human friendly output
``` $ sudo wg show interface: wg0 public key: 8Lv...s= private key: (hidden) listening port: 5555 fwmark: 0xca6c peer: TqV...xWQ= endpoint: ... allowed ips: ... latest handshake: ... transfer: ... name: jabid.in peer: ubKn...yM= allowed ips: 10.0.0.2/32 ``` Checklist - [✓] Set and update name with config file - [✓] Set and update name with CLI interface - [✓] Implement the functionality in kernel module - [✗] Implement the functionality in userspace implementation - [✗] Implement and test removing name attribute
- Loading branch information...
Showing
with
61 additions
and 3 deletions.
- +18 −1 src/netlink.c
- +3 −0 src/peer.h
- +19 −0 src/tools/config.c
- +3 −1 src/tools/containers.h
- +11 −0 src/tools/ipc.c
- +1 −1 src/tools/set.c
- +2 −0 src/tools/show.c
- +4 −0 src/uapi/wireguard.h
0 comments on commit
544e59b