Nick Gasson wrote in <[email protected]>: |Hi, | |I often need to go through a SOCKS proxy to access certain sites. The |diff below adds SOCKS5 support to ftp(1) for HTTP transfers, similar to |curl(1). Enabled when http_proxy is set to a socks5:// URL. | |Also fixes two existing memory leaks: proxyurl (set to NULL on line 646 |before freeing) and sslpath (never freed). | |Tested with ssh -D and a few other SOCKS5 proxies. Also verified the |existing HTTP proxy feature still works with squid(8).
By the way, the $SOCKS5_PROXY environment variable becomes used for automatic selection of SOCKS5. (Some things on FreeBSD, lynx(1), and, hm, the MUA i maintain, s-nail; maybe more.) --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)
