Re: Added native socks support to libc in FreeBSD 7



Raffaele De Lorenzo <raffaele.delorenzo@xxxxxxxxx> 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
--
Dag-Erling Smørgrav - des@xxxxxx
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages