Suggestion: Python urllib3 SOCKS proxy support

Post Reply
biolizard89
Posts: 2001
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Suggestion: Python urllib3 SOCKS proxy support

Post 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?
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

phelix
Posts: 1634
Joined: Thu Aug 18, 2011 6:59 am

Re: Suggestion: Python urllib3 SOCKS proxy support

Post 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:
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

phelix
Posts: 1634
Joined: Thu Aug 18, 2011 6:59 am

Re: Suggestion: Python urllib3 SOCKS proxy support

Post by phelix »

Looks like they implement it via Anorov's PySocks... https://github.com/shazow/urllib3/issues/690
nx.bit - some namecoin stats
nf.bit - shortcut to this forum

biolizard89
Posts: 2001
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Suggestion: Python urllib3 SOCKS proxy support

Post 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.
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

Post Reply