From owner-freebsd-security@FreeBSD.ORG Mon Dec 10 12:49:51 2007 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90F6916A418 for ; Mon, 10 Dec 2007 12:49:51 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4FAE013C458 for ; Mon, 10 Dec 2007 12:49:51 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 83BED20AF; Mon, 10 Dec 2007 13:33:51 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.1/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 0CEF02089; Mon, 10 Dec 2007 13:33:51 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id DAB09844B7; Mon, 10 Dec 2007 13:33:50 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Raffaele De Lorenzo References: <4759022A.4020105@libero.it> <47599AE1.6060805@elischer.org> <475D2185.3090405@libero.it> Date: Mon, 10 Dec 2007 13:33:50 +0100 In-Reply-To: <475D2185.3090405@libero.it> (Raffaele De Lorenzo's message of "Mon\, 10 Dec 2007 12\:22\:45 +0100") Message-ID: <868x4291ap.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-security@freebsd.org, Julian Elischer , FreeBSD Net Subject: Re: Added native socks support to libc in FreeBSD 7 X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2007 12:49:51 -0000 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 --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no