From owner-freebsd-net@FreeBSD.ORG Mon Dec 10 13:40:44 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 542A516A468 for ; Mon, 10 Dec 2007 13:40:44 +0000 (UTC) (envelope-from info@plot.uz) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.226]) by mx1.freebsd.org (Postfix) with ESMTP id BE5A513C46A for ; Mon, 10 Dec 2007 13:40:43 +0000 (UTC) (envelope-from info@plot.uz) Received: by hu-out-0506.google.com with SMTP id 28so5663090hub for ; Mon, 10 Dec 2007 05:40:42 -0800 (PST) Received: by 10.78.142.14 with SMTP id p14mr7039455hud.1197294040725; Mon, 10 Dec 2007 05:40:40 -0800 (PST) Received: from plot.uz ( [83.221.169.125]) by mx.google.com with ESMTPS id f6sm720931nfh.2007.12.10.05.40.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 10 Dec 2007 05:40:40 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable version=3.1.7 X-Spam-Report: Received: from localhost by plot.uz (MDaemon PRO v9.5.5) with DomainPOP id md50000005139.msg for ; Mon, 10 Dec 2007 18:40:58 +0500 Delivered-To: info@plot.uz Received: by 10.78.83.10 with SMTP id g10cs168692hub; Mon, 10 Dec 2007 05:39:20 -0800 (PST) Received: by 10.86.84.5 with SMTP id h5mr4796709fgb.1197293950495; Mon, 10 Dec 2007 05:39:10 -0800 (PST) Received: from grupposervizi.it (mail1.tagetik.com [85.18.71.243]) by mx.google.com with SMTP id 4si98225fgg.2007.12.10.05.39.09; Mon, 10 Dec 2007 05:39:10 -0800 (PST) Received-SPF: neutral (google.com: 85.18.71.243 is neither permitted nor denied by best guess record for domain of raffaele.delorenzo@libero.it) client-ip=85.18.71.243; 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 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 X-Return-Path: raffaele.delorenzo@libero.it X-Envelope-From: raffaele.delorenzo@libero.it X-MDaemon-Deliver-To: freebsd-net@freebsd.org X-Spam-Processed: plot.uz, Mon, 10 Dec 2007 18:41:00 +0500 From: Raffaele De Lorenzo 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:40:44 -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