Summary: | if_wg module multiple ipv4 in allowed-ips will cause all IPs' subnet mask become the same. | ||
---|---|---|---|
Product: | Base System | Reporter: | nyan |
Component: | kern | Assignee: | freebsd-net (Nobody) <net> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | flo, garga, khng, kp, lwhsu, mmacy |
Priority: | --- | ||
Version: | 13.0-STABLE | ||
Hardware: | Any | ||
OS: | Any |
Description
nyan
2021-02-13 17:39:00 UTC
Revision: FreeBSD 13.0-CURRENT #11 r369260M This bug also affects -STABLE at 6136a10e355a7a837edecbccbed04c34b4bc32c9. Some extra hints on mixing IPv4 and IPv6 allowed-ips command: allowed-ips 10.88.88.0/24 allowed-ips fccc:cccc:cccc:0::/64 allowed-ips fbbb:bbbb:bbbb:bbbb:bbbb::/80 Output: [Peer] PublicKey = *** Endpoint = *:* AllowedIPs = 10.88.88.0/24 [Peer] PublicKey = *** Endpoint = *:* AllowedIPs = 10.88.88.0/24, fccc:cccc:cccc::/24 [Peer] PublicKey = *** Endpoint = *:* AllowedIPs = 10.88.88.0/24, fccc:cccc:cccc::/24, fbbb:bbbb:bbbb:bbbb:bbbb::/24 https://reviews.freebsd.org/D28655 The above commit fixes this issue. That fix went in as https://cgit.freebsd.org/src/commit/?id=0646b83f0779260256e03a11c7bc2e6bcfefa694 Should this be merged to stable/13 and even releng/13.0? |