[issue42937] 192.0.0.8 (IPv4 dummy address) considered globally reachable

Wayne Johnston report at bugs.python.org
Mon May 24 12:57:26 EDT 2021


Wayne Johnston <wayne at teamjohnston.com> added the comment:

I completely agree with comments about .is_global and special_use.  Private IPs are just a subset of special use.  For some part Private means the Private use networks reserved by IANA and specified in IETF RFC1918.      

For this PR "IPv4 dummy address" is for sure not global.  Technically, it is not a private use IP either.  Just following what others have done.  I really like the apporoach of removing the routable special IPs.  Let me know if I should create a PR to do this.  This would include adding specific special use constant plus a whole bunch of very specific constants.  A constant like is_dummy will be added.

I pretty much have the code ready to go for IPV4.

----------
components: +Library (Lib)
versions: +Python 3.11 -Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42937>
_______________________________________


More information about the Python-bugs-list mailing list