Re: socksified libc
Andreas Jellinghaus <aj@dungeon.inka.de> writes:
>
> can't we preload a shared library with LD_PRELOAD_LIBRARY ?
> that should have the same effect, and will only exchange some network
> functions.
>
> of course, this would not work with setuid programs or staticaly linked,
> but is this necessary ?
>
> in the worst case, couldn't you crate a wrapper library, that has the
> network functions, and loads itself the real libc ? (something that
> calls itself (is symlinked as) libc6, but is not realy libc6, and
> depends on a library called "libc6-real" or so).
>
> but i would prefer some clean solution, and not such a hack.
> and no duplicate code ! haveing two libc's is not a good idea IMO.
>
How does LD_PRELOAD_LIBRARY work?
How do you build a library for this?
Any pointers?
Christoph
--
============================================================================
Christoph Martin, Uni-Mainz, Germany
Internet-Mail: Christoph.Martin@Uni-Mainz.DE
--------------export-a-crypto-system-sig -RSA-3-lines-PERL------------------
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/
--
E-mail the word "unsubscribe" to debian-devel-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to listmaster@debian.org .
Reply to: