ipaddress icon indicating copy to clipboard operation
ipaddress copied to clipboard

Python 3.3+'s ipaddress for older Python versions

Results 16 ipaddress issues
Sort by recently updated
recently updated
newest added

Hello, According to the [PyPi Doc ](https://pypi.org/project/ipaddress/) the latest python version supported to ipaddress v1.0.23 is python 3.6. Does it also supports python 3.11x? if no, is there any plan...

I am aware that it will not be possible to change this due to compatibility issues but would it be possible for the function to have a return value instead...

@phihag is this still maintained? There are three open security issues at the moment, one with a proof of concept developed and no response to tickets or a commit in...

In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string. This (in some situations) allows attackers to bypass access control that...

The __hash__() methods of classes IPv4Interface and IPv6Interface had issue of generating constant hash values of 32 and 128 respectively causing hash collisions. The fix uses the hash() function to...

I've managed to update this module to the version we currently have in CPython 3.8. The fix for #55 proposed in #56 is also included. As I explained in #59,...

The IPv6 address is `2002::1`. So why does `packed`not include the inner "2" in the IPv6 address? ```python >>> >>> ip = ipaddress.ip_address('2002::1') >>> ip IPv6Address('2002::1') >>> ip.packed b' \x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01'...

.reverse_pointer can't handle prefixes the problem is fully explained at stackoverflow: https://stackoverflow.com/questions/56429402/ipaddress-module-and-ipv6-reverse-pointer

Normally, the class IPv4Network "hosts" function is modified to "__iter__" when mask is /31. This works well when the network is a string, however when the network is an integer,...

Hello I'd really like to see #55 fixed and released via #56 but it might be also possible to update this module to the version currently available in Python 3.8...