You have been subscribed to a public bug: There should be support for SOCKS style proxies. SOCKS style proxies are used if you use ssh as a proxy. For testing, do "ssh localhost -D 9999", this will create a SOCKS proxy on port 9999
You'll want to use Socksipy: http://socksipy.sourceforge.net/ Here you can see how it should be used: http://stackoverflow.com/questions/2317849/how-can-i-use-a-socks-4-5-proxy-with-urllib2 As a quick hack implementation, changing the set_proxy function (in pandora.py) for this: def set_proxy(self, proxy): print "PROXY", proxy if proxy: if "s:" in proxy: p = proxy.split(":") import socks import socket socket.socket = socks.socksocket socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, p[1], int(p[2])) proxy_handler = urllib2.ProxyHandler({'socks': proxy}) self.opener = urllib2.build_opener(proxy_handler) else: self.opener = urllib2.build_opener() And expecting socks proxy in the config menu as "s:ip:port", makes it work. ** Affects: pithos (Ubuntu) Importance: Wishlist Status: Confirmed -- No SOCKS support https://bugs.launchpad.net/bugs/681648 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
