Return-Path: <amu@MIT.EDU>
Received: from central-city-carrier-station.mit.edu by po11.mit.edu (8.9.2/4.7) id KAA27244; Thu, 29 Nov 2001 10:23:14 -0500 (EST)
Received: from manawatu-mail-centre.mit.edu (MANAWATU-MAIL-CENTRE.MIT.EDU [18.7.21.85])
	by central-city-carrier-station.mit.edu (8.9.2/8.9.2) with ESMTP id KAA04268;
	Thu, 29 Nov 2001 10:23:13 -0500 (EST)
Received: from multics.mit.edu (MULTICS.MIT.EDU [18.187.1.73])
	by manawatu-mail-centre.mit.edu (8.9.2/8.9.2) with ESMTP id KAA01149;
	Thu, 29 Nov 2001 10:23:12 -0500 (EST)
Received: (from amu@localhost) by multics.mit.edu (8.9.3)
	id KAA01024; Thu, 29 Nov 2001 10:23:12 -0500 (EST)
Sender: amu@MULTICS.MIT.EDU
To: Greg Hudson <ghudson@MIT.EDU>
Cc: karlm@MIT.EDU, sipb@MIT.EDU
Subject: Re: ldpreload questions
References: <200111290458.XAA05042@no-knife.mit.edu>
	<1007011739.14196.7.camel@egyptian-gods>
From: amu@MIT.EDU (Aaron M. Ucko)
Date: 29 Nov 2001 10:23:11 -0500
In-Reply-To: <1007011739.14196.7.camel@egyptian-gods>
Message-ID: <udlbshlzjmo.fsf@multics.mit.edu>
Lines: 33
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Greg Hudson <ghudson@MIT.EDU> writes:

> On Wed, 2001-11-28 at 23:58, karlm@MIT.EDU wrote:
> > My hope is to write an application that can fork and exec an arbitrary
> > program, hook socket(), connect(), send(), and recv() in order to
> > seamlessly tunnel the childs network connections over a secure channel
> > that perturbs network latency enough to prevent packet latencies from
> > leaking information.
> 
> An interesting idea.  I hope it pans out.

Likewise.  I assume you were motivated by the recently-announced
analysis of ssh?

> The best reference I know of is xalf, which is available from
> ftp.gnome.org:pub/GNOME/stable/sources/xalf.  Look specifically in the
> libxalflaunch directory; it does the kind of overriding you're talking
> about for Solaris and Linux.  There's an Athena-hacked version in
> /mit/source/third/xalf which has also been ported to IRIX.

There are also some implementations of the SOCKS protocol (roughly
speaking, a cooperative version of NAT) which provide preloadable
libraries for unmodified clients; you might wish to look at them as
well.  Here are pointers to three:

    http://www.inet.no/dante/
    ftp://ftp.uni-mainz.de/pub/internet/security/socks/socks4/
    http://tsocks.sourceforge.net/

Good luck.

-- 
Aaron M. Ucko, KB1CJC <amu@mit.edu> (finger amu@monk.mit.edu)
