I'm working in a company that's using a proxy to connect to the internet. Some of my applications, especially package-managers of any kind are unable to connect to the proxy and produce 407 (Proxy Authentication required).
As a first attempt I tried setting the proxy settings manually for each application. Example:
python -m pip install six --proxy http://user:pass@proxy:port
That did not help.
In a second attempt I set up cntlm as a local proxy to handle the authentication. That didn't help either.
Finally I found out, that we're using Kerberos for authorization. I know there's a patch for cntlm concerning kerberos authentication. But unfortunately this patch is not available for windows. (or I didn't find it)
Another workaround a collegue just informed me about is the Windows 10 linux-subsystem which allows the installation of the unix version of cntlm with the patch. That kinda enables the proxy authorization. But this does not help me, as my machine is running Windows 7.
My question is: Are there any alternatives to cntlm capable of handling Authorization process with Kerberos? (Or did I miss something that could solve my problem with cntlm?)
I found https://github.com/genotrance/px
Easy to install:
px --proxy=proxy.server.com --save
px --install
It doesn't need any credentials. It uses the credential of user logged in through windows apis.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With