requests
requests copied to clipboard
Add ipv6 support to should_bypass_proxies
Add support to should_bypass_proxies to support IPv6 ipaddresses and CIDRs in no_proxy. Includes adding IPv6 support to various other helper functions.
Hi @nateprewitt @sethmlarson , is this something you'd consider merging ?
I'm facing this same issue. @nateprewitt @sethmlarson Any update on your thoughts?
Running into the same problem with this, it sure would be nice to have the ability to specify IPv6 CIDRs in no_proxy. What's holding this up?
@nateprewitt @sigmavirus24 @sethmlarson would you have a chance to look at this please, its been hanging around for over 2 years and still causing me problems.
It'd be nice to have this implemented. Is there any way I can help?
Hi @frenzymadness , if you can review or confirm that this works for your use case then that would be appreciated but ultimately this PR has been waiting on reviews from one of the maintainers I'm not sure how best to get it some traction besides pinging them on here.
We are going to test this change internally to get some confidence.
Derek tested the package in OpenShift 4.15 and the functionality proposed here works as expected. Is there any chance to merge this?
During additional testing, my colleague raised an interesting question: Are ::/0 and 0.0.0.0/0 valid values for no_proxy? The current implementation for IPv4 does not allow masks to be lower than 1 and the new implementation for IPv6 does the same.
I see a use-case for ::/0 - let's say I have a proxy running on both protocols but I want it to be used only for IPv4 - then it might make sense to use NO_PROXY for all IPv6 addresses. What do you think?