Hello,
Then SOCKS support will not work, it should look something like this:
ldd /usr/bin/lftp
linux-gate.so.1 => (0xffffe000)
libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc_s.so.1
(0x40034000)
libstdc++.so.5 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5 (0x4003d000)
libreadline.so.4 => /lib/libreadline.so.4 (0x400f3000)
libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40121000)
libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40152000)
libsocks.so.0 => /usr/lib/libsocks.so.0 (0x4024d000) <- You need this.
libpam.so.0 => /lib/libpam.so.0 (0x40286000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4028e000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x402a3000)
libutil.so.1 => /lib/libutil.so.1 (0x402d1000)
libresolv.so.2 => /lib/libresolv.so.2 (0x402d4000)
libdl.so.2 => /lib/libdl.so.2 (0x402e6000)
libm.so.6 => /lib/libm.so.6 (0x402e9000)
libc.so.6 => /lib/libc.so.6 (0x4030b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Justin.
On Thu, 14 May 2009, huwenhuo wrote:
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.