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)
Wed, Nov 20, 4:00 PM
Unknown Object (File)
Fri, Nov 15, 2:24 AM
Unknown Object (File)
Thu, Nov 7, 9:48 AM
Unknown Object (File)
Wed, Nov 6, 4:04 PM
Unknown Object (File)
Tue, Nov 5, 9:45 PM
Unknown Object (File)
Oct 17 2024, 1:22 PM
Unknown Object (File)
Oct 16 2024, 2:23 PM
Unknown Object (File)
Oct 16 2024, 2:23 PM

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.