hi,
I installed lftp by packages. I am using freebsd 7.1-RELEASE. My laptop
cannot afford to compile programs from source code by ports. So I do not
know whether my lftp was compiled with socks suports.
the following is the "ldd lftp: result:
[~]$ldd /usr/local/bin/lftp
/usr/local/bin/lftp:
libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x2812c000)
libssl.so.5 => /usr/lib/libssl.so.5 (0x2814c000)
libcrypto.so.5 => /lib/libcrypto.so.5 (0x2818d000)
libintl.so.8 => /usr/local/lib/libintl.so.8 (0x282e6000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x282ef000)
libreadline.so.7 => /lib/libreadline.so.7 (0x283e4000)
libutil.so.7 => /lib/libutil.so.7 (0x28416000)
libncurses.so.7 => /lib/libncurses.so.7 (0x28424000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28463000)
libm.so.5 => /lib/libm.so.5 (0x28558000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2856d000)
libc.so.7 => /lib/libc.so.7 (0x28578000)
wenhuo hu
Justin Piszcz wrote:
Does your lftp have socks support compiled in?
ldd /usr/bin/lftp
What does this show?
Justin.
On Wed, 13 May 2009, huwenhuo wrote:
Hi,
thanks Justin very much.
i set proxy like this:
export SOCKS5_PROXY=username:[email protected]:1080 or
export SOCKS_PROXY=username:[email protected]:1080
but it does not work.
any advice?
sincerely,
wenhuo hu
Justin Piszcz wrote:
On Tue, 12 May 2009, huwenhuo wrote:
hi,
would anyone told me how to use socks5 proxy for lftp?
i am not sure this is the right mailing list to find things about
the usage of lftp. ^_^
thanks for any advice!
Hi,
1. You need SOCKS support compiled in.
2. Then you need to export the SOCKS5_PROXY or SOCKS_PROXY environment
variables.
Then when you use lftp it will use the socks proxy you have defined.
Justin.