Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2007 13:33:50 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <info@plot.uz>
To:        Raffaele De Lorenzo <raffaele.delorenzo@libero.it>
Cc:        freebsd-security@freebsd.org, Julian Elischer <julian@elischer.org>, FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: Added native socks support to libc in FreeBSD 7
Message-ID:  <868x4291ap.fsf@ds4.des.no>
In-Reply-To: <475D2185.3090405@libero.it> (Raffaele De Lorenzo's message of "Mon\, 10 Dec 2007 12\:22\:45 %2B0100")
References:  <4759022A.4020105@libero.it> <47599AE1.6060805@elischer.org> <475D2185.3090405@libero.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Raffaele De Lorenzo <raffaele.delorenzo@libero.it> writes:
> The socks implementation wraps some syscall socket functions like
> "_connect" and "_bind" trasparently from the applications. When one of
> these is called, the "socks" check starts:  [...]

You don't need to put this in libc; you can have wrappers in a separate
library which you load with LD_PRELOAD.  The strong symbols in the
wrapper library will override the weak symbols in libc.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no
_______________________________________________
freebsd-security@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868x4291ap.fsf>