Added native socks support to libc in FreeBSD 7

Raffaele De Lorenzo info at plot.uz
Mon Dec 10 05:40:44 PST 2007


Dag-Erling Smørgrav wrote:
> Raffaele De Lorenzo <raffaele.delorenzo at 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
>   
You can see in the port-tree my project  "csocks"  and  
http://csocks.altervista.org.

Raffaele



More information about the freebsd-net mailing list