2 Commits

Author SHA1 Message Date
hawken93
a35e5b4f9d Change coding style 2014-10-03 23:30:37 +02:00
Enrico Scholz
bb276c0b80 PROXY/SOCKS5: added methods for SOCKS5 proxies
This patch adds code for connecting through SOCKS5 proxies. It was
primarily written for use with TOR, so there are some open issues:

* it only allows to make proxy requests with full hostnames; ipv4/ipv6 is
  not supported

* GSSAPI authentication (which is mentioned as mandatory in RFC 1928) is
  not implemented

* plaintext authentication is untested

To use it
* set 'proxy_type' to 'socks5'
2014-10-03 15:06:20 +02:00