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)
Fri, May 24, 8:16 AM
Unknown Object (File)
Thu, May 23, 12:58 PM
Unknown Object (File)
Mon, May 20, 4:48 PM
Unknown Object (File)
Mon, May 20, 9:25 AM
Unknown Object (File)
Mon, May 20, 7:57 AM
Unknown Object (File)
Thu, May 16, 11:30 PM
Unknown Object (File)
Tue, May 7, 10:55 AM
Unknown Object (File)
Tue, May 7, 1:58 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.