New submission from CDirkx <christiaan@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42937>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to