Adding client SOCKS support to Twisted.
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
|src||Fixed url parsing for Twisted 13.0.0 in which twisted.web.client._par…|
|LICENSE||Change copyright to The Tor Project.|
|README||Be consistent with how to write footnotes.|
twisted-socks -- Client SOCKS support in Twisted. Twisted  doesn't seem to have support for writing a SOCKS client. The SOCKS support is written for servers and is restricted to SOCKSv4. This package aims to add support for client TCP connections, with or without SSL/TLS, to go over a SOCKS proxy, version 4, 4a or 5. See the examples directory for an idea on how to use it. You can run the http example like this: cd examples; ln -s ../socksclient.py . ./http.py http://google.com/ You can start a SOCKSv4 proxy server in the foreground by issuing twistd -n socks Thanks to lebek for the Twisted magic needed to hook this in. Thanks to hellais and nextime for the bugfix that sneaked into a1c4f02c. Thanks to Karsten Loesing for bug fixes. This package is being maintained by email@example.com. Its canonical pickup point is http://github.com/ln5/twisted-socks . It's licensed under a BSD license, see LICENSE for details. twisted-socks was written mid 2011. Since then txsocksx  has appeared. txsocks seems like a good alternative to twisted-socks. It looks clean, seems to have support for SOCKS5 and does have tests.  https://twistedmatrix.com/  https://github.com/habnabit/txsocksx/