diff options
| author | Yusuke Ichiki <public@yusuke.pub> | 2026-07-17 14:58:42 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2026-07-20 16:29:35 +0000 |
| commit | 047effac79ef4cafda6a920e9ec352cf9a152bba (patch) | |
| tree | 62ecea5e0650c9b5fab5f6ae7979806c79ae3c95 | |
| parent | b4711ce4184cab06ed9f5ea6ad4d1153ff84ae5b (diff) | |
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)
| -rw-r--r-- | sbin/ipf/ippool/ippool.5 | 2 | ||||
| -rw-r--r-- | sys/netinet/libalias/libalias.3 | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ipf/ippool/ippool.5 b/sbin/ipf/ippool/ippool.5 index ae6c4b919940..a124a565f2db 100644 --- a/sbin/ipf/ippool/ippool.5 +++ b/sbin/ipf/ippool/ippool.5 @@ -131,7 +131,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 1b8ecc14059d..27e03447dd25 100644 --- a/sys/netinet/libalias/libalias.3 +++ b/sys/netinet/libalias/libalias.3 @@ -203,8 +203,8 @@ originate from unregistered address spaces will be ignored. The standard private IP address ranges are: .Pp 10.0.0.0 -> 10.255.255.255 (/8) -172.16.0.0 -> 172.31.255.255 (/16) -192.168.0.0 -> 192.168.255.255 (/24) +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. |
