[New-bugs-announce] [issue42937] 192.0.0.8 (IPv4 dummy address) considered globally reachable
CDirkx
report at bugs.python.org
Fri Jan 15 18:00:38 EST 2021
New submission from CDirkx <christiaan at dirkx.email>:
Currently the method `ipaddress.is_global` returns true for the IPv4 address 192.0.0.8. This was correct when `is_global` was initially implemented, but in 2015 192.0.0.8 got designated as the "IPv4 dummy address" and not globally reachable, see the IANA special purpose address registry: https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml.
The correct behaviour now, according to the documentation of `is_global` which refers to the IANA registry, would be to return false for 192.0.0.8.
----------
messages: 385127
nosy: cdirkx
priority: normal
severity: normal
status: open
title: 192.0.0.8 (IPv4 dummy address) considered globally reachable
type: behavior
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42937>
_______________________________________
More information about the New-bugs-announce
mailing list