lavv17 / lftp

sophisticated command line file transfer program (ftp, http, sftp, fish, torrent)
http://lftp.yar.ru
GNU General Public License v3.0
1.11k stars 162 forks source link

lftp socks5 proxy support? #510

Open haroel opened 5 years ago

haroel commented 5 years ago

Does lftp support socks5 proxy?

lavv17 commented 5 years ago

Yes, it's a compilation time option.

чт, 28 февр. 2019, 10:38 howe notifications@github.com:

Does lftp support socks5 proxy?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lavv17/lftp/issues/510, or mute the thread https://github.com/notifications/unsubscribe-auth/AA67XBf8Y664Bd3wuwgqAQSOuKVWHwPFks5vR4dXgaJpZM4bWMSX .

kornos commented 5 years ago

Would be wonderful if SOCKS support would be built-in by default with no extra dependencies. Seems lftp isn't compiled by default with socks support for non-linux platforms(eg. cygwin), compiling it on this platform is a non-trivial thing to do. Would you have anything against accepting such a pull if someone would code it?

For current version of lftp (supporting socks) , how do u configure socks settings? Couldn't find anything in manual. Socks supports control chan and data chan too?

ronald8192 commented 4 years ago

I tried to compile lftp with --with-socks5 in CentOS7 but missing lsocks5 library:

checking for main in -lsocks5... no
configure: error: cannot find -lsocks5 library

Tried to install libsocks0, dante and dante-devel but still fails. https://lists.centos.org/pipermail/centos/2016-June/159880.html

@lavv17 Can you give me some guides?

MiltonLai commented 4 years ago

I met the same issue too. I tried compile lftp in Ubuntu20.04 with no luck. --with-socks or --with-socks5, neither works. Which library should I installed in order to compile it with these options?

garrettreid commented 3 years ago

On Debian Buster, installing the libsocks4 package allows ./autogen.sh --with-socks. Presumably you want --with-socksdante if you're using the dante-devel package.