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)
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)
Thu, Oct 17, 1:22 PM
Unknown Object (File)
Wed, Oct 16, 2:23 PM
Unknown Object (File)
Wed, Oct 16, 2:23 PM
Unknown Object (File)
Sun, Oct 13, 1:17 PM
Unknown Object (File)
Oct 11 2024, 10:06 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.