[offlineimap] open_socket() leaks DNS requests when proxying (#189)
notifications at github.com
Sun Apr 12 16:56:11 BST 2015
socks.setdefaultproxy() has a fourth arg for sending DNS requests through the proxy
However, even with that fourth arg set to True, using getaddrinfo() bypasses SOCKS5 proxy for dns resolution. This also breaks .onion Tor hidden service resolution.
Might consider socks.wrapmodule().
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OfflineIMAP-project