From owner-freebsd-net@FreeBSD.ORG Mon Dec 10 13:39:12 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AF6716A417 for ; Mon, 10 Dec 2007 13:39:12 +0000 (UTC) (envelope-from raffaele.delorenzo@libero.it) Received: from grupposervizi.it (mail1.tagetik.com [85.18.71.243]) by mx1.freebsd.org (Postfix) with SMTP id 4B32513C442 for ; Mon, 10 Dec 2007 13:39:10 +0000 (UTC) (envelope-from raffaele.delorenzo@libero.it) Received: (qmail 12501 invoked by uid 453); 10 Dec 2007 13:39:06 -0000 Received: from [192.9.210.26] (HELO noel.grupposervizi.it) (192.9.210.26) by grupposervizi.it (qpsmtpd/0.31.1) with ESMTP; Mon, 10 Dec 2007 14:39:06 +0100 Message-ID: <475D417D.5020303@libero.it> Date: Mon, 10 Dec 2007 14:39:09 +0100 From: Raffaele De Lorenzo User-Agent: Thunderbird 2.0.0.9 (X11/20071204) MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <4759022A.4020105@libero.it> <47599AE1.6060805@elischer.org> <475D2185.3090405@libero.it> <868x4291ap.fsf@ds4.des.no> In-Reply-To: <868x4291ap.fsf@ds4.des.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-security@freebsd.org, Julian Elischer , FreeBSD Net Subject: Re: Added native socks support to libc in FreeBSD 7 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2007 13:39:12 -0000 Dag-Erling Smørgrav wrote: > Raffaele De Lorenzo 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