Return-Path: <karlm@MIT.EDU>
Received: from grand-central-station.mit.edu by po11.mit.edu (8.9.2/4.7) id XAA26940; Wed, 28 Nov 2001 23:58:18 -0500 (EST)
From: <karlm@MIT.EDU>
Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86])
	by grand-central-station.mit.edu (8.9.2/8.9.2) with ESMTP id XAA20707;
	Wed, 28 Nov 2001 23:58:16 -0500 (EST)
Received: from no-knife.mit.edu (NO-KNIFE.MIT.EDU [18.7.16.64])
	by melbourne-city-street.mit.edu (8.9.2/8.9.2) with ESMTP id XAA19755;
	Wed, 28 Nov 2001 23:58:15 -0500 (EST)
Received: (from karlm@localhost) by no-knife.mit.edu (8.9.3)
	id XAA05042; Wed, 28 Nov 2001 23:58:15 -0500 (EST)
Message-Id: <200111290458.XAA05042@no-knife.mit.edu>
To: sipb@MIT.EDU
Subject: ldpreload questions
Date: Wed, 28 Nov 2001 23:58:15 -0500

Hi,
	I'm not having much luck finding documentation on ldpreload.
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.

	Can anyone point me towards some source code that properly
uses ldpreload and exec?  Have any of you used ldpreload in your own
code?  Are there better alternatives for hooking networking functions
in an arbitrary executable?


Thanks,
Karl

--------
Karl Alexander Magdsick

PGP Fingerprint: FD9A 6DEC 0166 5331 619C  D7EA 7B0C 2B90 2A83 F1FC
	www.keyserver.net
---------
