Date: Tue, 26 Aug 1997 18:13:38 -0400 From: Randall Hopper <rhh@ct.picker.com> To: Phil White <philw@webmaster.com> Cc: questions@FreeBSD.ORG Subject: Re: Socks5 and ftp Message-ID: <19970826181338.05646@ct.picker.com> In-Reply-To: <19970826121633.29149@ct.picker.com>; from Randall Hopper on Tue, Aug 26, 1997 at 12:16:33PM -0400 References: <3.0.3.32.19970826020651.00b04550@server.webmaster.com> <19970826121633.29149@ct.picker.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Phil White: |What I did is compiled/installed socks5 port. Than I use the rftp/rtelnet |etc... I set an environment variable SOCKS5_SERVER=x.x.x.x which is the |ip of my Win95 box. If you have done things differently would you care to |share? =) Ok, your env var sounds fine. I set SOCKS_SERVER myself just so it'll carry over to my socks4-linked apps too, and I set it to the hostname rather than the IP of our proxy box but both work. Also, verify the content of your SOCKS client config file. It's called libsocks5.conf by default. To see where it's supposed to live: % strings `which rftp` | grep ^/ Mine looks like this: # # SOCKS5 Firewall Client Configuration File # FORMAT: proxy protocol dest-addr dest-port [userlist] [proxy-addr] # noproxy - 127.0.0.1 - - noproxy - 144.54. - - socks5 - - - - - #socks4 - - - - - Randall Hopper: |Phil White: | |I get the same results with the "fetch" command when trying to fetch ports | |using FETCH_CMD="runsocks /usr/bin/fetch" - I think I'll have the same | |trouble with cvsup? | |I'm curious as to how you're getting runsocks to work since I don't believe |FreeBSD supports LD_LIBRARY_PATH or LD_PRELOAD (on BSD a.out). At least I |didn't think it did. I'm not at my FreeBSD box now, or I'd "man ld.so" and |double check, but I think I looked for this before. Am I wrong? I'm home on my FreeBSD box now, man'ing ld.so, and ...Sonofagun! -- FreeBSD 2.2.1 _does_ support LD_LIBRARY_PATH and LD_PRELOAD! And sure enough: runsocks telnet host-way-out-there-in-netland runsocks slrn news-server-way-out-there-in-netland works like a champ. Cool. I'm glad you got me looking into this again. Now on FreeBSD, as on Solaris, I don't have to SOCKSify apps anymore. Randall
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970826181338.05646>