Content #
Address 0.0.0.0 is a special broadcast source address.
本地计算机在未配置 IP 时,可以用 0.0.0.0 作为源地址发送 DHCP 请求。
SRC=0.0.0.0 DST=255.255.255.255 (DHCP DISCOVER)
这是0.0.0.0唯一合法的用法。公网路由器不会转发 0.0.0.0/8 地址的数据包
根据 RFC 1122(第 3.2.1.3 节) 规定:
“Addresses in the range 0.0.0.0/8 are reserved. The only exception is 0.0.0.0 itself, which can be used as a special meaning for ‘this host’ before an IP address is assigned.”
这意味着 0.0.0.0 到 0.255.255.255 之间的所有 IP 地址(包括 0.1.2.3)都属于保留地址,不能用于源地址或目的地址。
From #
Linux Security: Enhancing Security with nftables and Beyond