*BSD News Article 76611


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!news.uoregon.edu!hunter.premier.net!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!gateway.tcs.com!news
From: ambrisko@cozumel.tcs.com (Douglas Ambrisko)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: IP Masqerading?
Date: 21 Aug 1996 18:05:47 GMT
Organization: TCSI, Berkeley, California
Lines: 27
Message-ID: <AMBRISKO.96Aug21110547@cozumel.tcs.com>
References: <jfortes-1307951117380001@10.0.2.15> <320F6E48.1EF468BB@lambert.org>
	<4urdc4$87m@herald.concentric.net> <32127AB2.21876B97@lambert.org>
	<4va0s1$in@anorak.coverform.lan> <321A00A2.2D730BF6@lambert.org>
NNTP-Posting-Host: cozumel.tcs.com
In-reply-to: Terry Lambert's message of Tue, 20 Aug 1996 11:14:58 -0700

Terry Lambert <terry@lambert.org> writes:

> Brian Somers wrote:
> ] 
> ] Terry Lambert (terry@lambert.org) wrote:
> ] 
> ] : 1)      Socks5 -- that's Socks****5**** -- supports proxying without
> ] :         modifying applications.
> ] 
> ] Ah, in that case forgive my rather abrupt posting saying that proxies
> ] are not transparent.  How does this work then ?
> 
> I don't know.  The port maintainer said it did whene we had
> this whole discussion on the -hackers list a month ago.

I guess I can pipe in here, it works on bins that have been built with
shared libs.  The "runsocks" script set LD_PRELOAD and LD_LIBRARY_PATH
so that this special libsocks5.so intercepts the network calls, does the
socks'ification stuff and then calls the libc functions.  LD_PRELOAD is 
supported in FreeBSD 2.1.5 and later.  Works prety good on stuff like
xemacs reading news through a Socks server to a nntp server.  We even have
it cleaned up so you can do a "runsocks make" in ports.  Haven't got
the real audio stuff working yet, but the past couple of weeks have been
bad.  Lost a hard-drive on one of my machine :-( bought a new big one :-) 
wife wants to do work and run windows on it :-(

Doug A.