Page MenuHomeFreeBSD

ifconfig-wg fix incorrect allowed-ips netmask info
ClosedPublic

Authored by nyan_myuji.xyz on Feb 13 2021, 11:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 7, 7:26 PM
Unknown Object (File)
Fri, Dec 6, 11:13 AM
Unknown Object (File)
Sun, Dec 1, 7:55 AM
Unknown Object (File)
Sun, Nov 24, 8:18 PM
Unknown Object (File)
Sat, Nov 23, 8:59 PM
Unknown Object (File)
Nov 22 2024, 8:17 AM
Unknown Object (File)
Nov 20 2024, 4:00 PM
Unknown Object (File)
Nov 15 2024, 2:24 AM

Details

Summary

Currently when peer information being dumped via ifconfig wgN peer ..
or ifconfig wgN peer-list, whichever the netmask of the first allowed-ips
will be used as the netmask of all CIDR in allowed-ips. For example, if the
list is 192.168.1.0/24, 172.16.0.0/16, it will display as
192.168.1.0/24, 172.16.0.0/24. While this does not affects the actual functionality,
it creates massive confusion for users.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Feb 14 2021, 8:34 AM
This revision was automatically updated to reflect the committed changes.