Page 1 of 1

Suggestion: Python urllib3 SOCKS proxy support

Posted: Fri Aug 07, 2015 1:32 am
by biolizard89
I'm leaning toward putting $100 of FSM funds toward a bounty for SOCKS proxy support in Python's urllib3. This would be useful for NMControl. See some discussion at https://github.com/namecoin/nmcontrol/pull/58 . Any objections?

Re: Suggestion: Python urllib3 SOCKS proxy support

Posted: Fri Aug 07, 2015 8:24 am
by phelix
biolizard89 wrote:I'm leaning toward putting $100 of FSM funds toward a bounty for SOCKS proxy support in Python's urllib3. This would be useful for NMControl. See some discussion at https://github.com/namecoin/nmcontrol/pull/58 . Any objections?
Yeah, that would be useful and I think this issue well deserves the bounty. But it may easily take two years or more to get it in and established. In the meantime we could use this stable, clean to integrate and well maintained module: https://github.com/Anorov/PySocks

As in this NMControl version I have been playing with: https://github.com/phelixnmc/nmcontrol/tree/tor (Only really makes sense with API server support so I did not push it previously; not sure the port auto detection in torgate.py works on all systems; needs pip install pysocks)


Confucius sayz: Better a diamond with a flaw than a pebble without. :mrgreen:

Re: Suggestion: Python urllib3 SOCKS proxy support

Posted: Wed Sep 02, 2015 12:24 pm
by phelix
Looks like they implement it via Anorov's PySocks... https://github.com/shazow/urllib3/issues/690

Re: Suggestion: Python urllib3 SOCKS proxy support

Posted: Sat Sep 05, 2015 8:16 pm
by biolizard89
phelix wrote:Looks like they implement it via Anorov's PySocks... https://github.com/shazow/urllib3/issues/690
Yep. Hopefully the bounty will incentivize them to get the tests working so it can be merged.