Date: Mon, 20 Jul 2026 16:30:18 +0000 From: Cy Schubert <cy@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Yusuke Ichiki <public@yusuke.pub> Subject: git: f6e0e0dab369 - stable/14 - man: Fix RFC 1918 network prefix lengths Message-ID: <6a5e4d1a.315a1.33d9ea05@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=f6e0e0dab369f346ad825ffbb86ee68cb70b5402 commit f6e0e0dab369f346ad825ffbb86ee68cb70b5402 Author: Yusuke Ichiki <public@yusuke.pub> AuthorDate: 2026-07-17 14:58:42 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2026-07-20 16:30:10 +0000 man: Fix RFC 1918 network prefix lengths According to RFC 1918, the following IP prefixes are reserved for private internets: 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 This PR fixes the prefix lengths in references to private networks ("RFC 1918 networks", "the standard private IP address ranges"). The changes are limited to man pages. Signed-off-by: Yusuke Ichiki <public@yusuke.pub> Pull Request: https://github.com/freebsd/freebsd-src/pull/2328 (cherry picked from commit 1403ca10189c47ad1de3915eeb030deddc114685) --- sbin/ipf/ippool/ippool.5 | 2 +- sys/netinet/libalias/libalias.3 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sbin/ipf/ippool/ippool.5 b/sbin/ipf/ippool/ippool.5 index 87ec5ed6fa85..c05cb7f51971 100644 --- a/sbin/ipf/ippool/ippool.5 +++ b/sbin/ipf/ippool/ippool.5 @@ -134,7 +134,7 @@ The contents of the file might look something like this: 10.0.0.0/8 !127.0.0.0/8 172.16.0.0/12 -192.168.0.0/24 +192.168.0.0/16 .fi .PP In this example, the inclusion of the line "!127.0.0.0/8" is, strictly diff --git a/sys/netinet/libalias/libalias.3 b/sys/netinet/libalias/libalias.3 index b4d123682f0b..5a1af00aaade 100644 --- a/sys/netinet/libalias/libalias.3 +++ b/sys/netinet/libalias/libalias.3 @@ -202,9 +202,9 @@ If this mode bit is set, traffic on the local network which does not originate from unregistered address spaces will be ignored. Standard Class A, B and C unregistered addresses are: .Pp -10.0.0.0 -> 10.255.255.255 (Class A subnet) -172.16.0.0 -> 172.31.255.255 (Class B subnets) -192.168.0.0 -> 192.168.255.255 (Class C subnets) +10.0.0.0 -> 10.255.255.255 (/8) +172.16.0.0 -> 172.31.255.255 (/12) +192.168.0.0 -> 192.168.255.255 (/16) .Pp This option is useful in the case that the packet aliasing host has both registered and unregistered subnets on different interfaces.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a5e4d1a.315a1.33d9ea05>
