From owner-freebsd-security@FreeBSD.ORG Fri Jul 11 15:29:03 2008 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 2E74E106567D; Fri, 11 Jul 2008 15:29:03 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2995E8FC18; Fri, 11 Jul 2008 15:29:02 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 73C921CC092; Fri, 11 Jul 2008 08:12:28 -0700 (PDT) Date: Fri, 11 Jul 2008 08:12:28 -0700 From: Jeremy Chadwick To: Brett Glass Message-ID: <20080711151228.GA52385@eos.sc1.parodius.com> References: <20080709204114.471A2F1835D@mx.npubs.com> <4876A3FE.1070407@FreeBSD.org> <200807111454.IAA18639@lariat.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200807111454.IAA18639@lariat.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Doug Barton , stef@memberwebs.com, "freebsd-security@freebsd.org" , secteam@freebsd.org, Remko Lodder , Andrew Storms Subject: Re: [Fwd: cvs commit: ports/dns/bind9 Makefile distinfo ports/dns/bind94 Makefile distinfo ports/dns/bind95 Makefile distinfo] 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: Fri, 11 Jul 2008 15:29:03 -0000 On Fri, Jul 11, 2008 at 08:54:48AM -0600, Brett Glass wrote: > Is there a way to restrict the ports which BIND selects -- perhaps > at the expense of a small amount of entropy -- such that it doesn't > try to use UDP ports which are administratively blocked (e.g. ports > used by worms, or insecure Microsoft network utilities)? We don't > dare turn these port blocks off, or naive users will fall prey to > security holes in Microsoft products. But if BIND doesn't know to > work around them, lookups will occasionally (and infuriatingly!) > fail. query-source has an argument called "port" which will do what you want. That option *only* affects UDP queries, however; TCP queries are always random. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |