From owner-freebsd-emulation Wed Jan 10 6:31:30 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id D3CFB37B401 for ; Wed, 10 Jan 2001 06:31:11 -0800 (PST) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by david.siemens.de (8.11.0/8.11.0) with ESMTP id f0AEV7u15189; Wed, 10 Jan 2001 15:31:07 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail3.siemens.de (8.11.1/8.11.1) with ESMTP id f0AEV7b16202453; Wed, 10 Jan 2001 15:31:07 +0100 (MET) Received: (from localhost) by curry.mchp.siemens.de (8.11.1/8.11.1) id f0AEV7690690; Date: Wed, 10 Jan 2001 15:31:06 +0100 From: Andre Albsmeier To: David Wolfskill Cc: emulation@FreeBSD.ORG Subject: Re: Anyone get "runsocks" to work for programs in Linux emulation mode? Message-ID: <20010110153106.A22453@curry.mchp.siemens.de> References: <200101092156.f09LuZ696960@pau-amma.whistle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200101092156.f09LuZ696960@pau-amma.whistle.com>; from dhw@whistle.com on Tue, Jan 09, 2001 at 01:56:35PM -0800 X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 09-Jan-2001 at 13:56:35 -0800, David Wolfskill wrote: > The "runsocks" script basically works by placing certain libraries earlier > in the LD_LIBRARY_PATH, so that calls to certain (dynamically loaded) > functions get the "socksified" versions of the functions instead of the > usual flavor. > > Linux emulation does its own curious things with the program's perception > of the universe. > > Now I have a requirement to gain access to network resources that are on > the far side of a SOCKS5 server (that requires user-level authentication, > so just pointing (say) Netscape at the SOCKS server doesn't do the job). > I am able to get the lynx-ssl stuff to work via runsocks, but the > application in question appears to be designed to require some > capabilities that lynx doesn't support. The native FreeBSD netscape > works for most things, but not one particular HTTPS (TCP/443) > application. So I wanted to try the Linux version of netscape.... > > Has anyone had occasion to try to make this work? Is attempting it > something that is suitable only by the certifiably insane? I use a linux compiled libsocks5_sh.so: andre@bali:~>ll /compat/linux/usr/local/lib/libsocks5_sh.so -rwxr-xr-x 1 root wheel - 89872 Aug 2 18:54 /compat/linux/usr/local/lib/libsocks5_sh.so* Then I use the usual export LD_LIBRARY_PATH=/usr/local/lib export LD_PRELOAD=libsocks5_sh.so and run linux realplayer successfully through the socks server. I can send you my libsocks5_sh.so binary if you want it, it is based on socks5-v1.0r11.tar.gz... -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message