[Twisted-Python] HTTP and SSH over SOCKS5

Glyph glyph at twistedmatrix.com
Tue May 19 22:21:54 MDT 2015


> On May 19, 2015, at 15:46, Farhan Khan <farhan-twistedlistserv at offmail.us> wrote:
> 
> Hi,
> 
> I am working on a project that will require running several HTTP connections over a list of SOCKS5 proxies. I have found a lot of sample code that runs HTTP over a regular TCP socket, but none that demonstrate the functionality over SOCKS5. Is this possible in Twisted or would it have to be a protocol I would independently develop?
> 
> I plan on doing something similar to SSH, so it would be nice if the SOCKS5 module simply replaced the TCP socket's send/recv functions so that I could easily port the code over to SSH.
> 
> If I have to figure out SSH separately, that's okay. For starters just HTTP would be nice.

Have you investigated and read the docs for https://github.com/habnabit/txsocksx <https://github.com/habnabit/txsocksx> ?

-glyph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20150519/d70241fa/attachment-0002.html>


More information about the Twisted-Python mailing list