From owner-freebsd-security Thu Jul 25 6: 0:23 2002 Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FB7C37B400; Thu, 25 Jul 2002 06:00:20 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 691BE43E81; Thu, 25 Jul 2002 06:00:19 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 26AEC535C; Thu, 25 Jul 2002 15:00:17 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Tony Finch Cc: dinoex@freebsd.org, freebsd-security@freebsd.org Subject: Re: sshd privsep dns lookup bug References: <20020724163447.B8886@chiark.greenend.org.uk> From: Dag-Erling Smorgrav Date: 25 Jul 2002 15:00:16 +0200 In-Reply-To: <20020724163447.B8886@chiark.greenend.org.uk> Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Tony Finch writes: > The call to get_canonical_hostname() at line 145 of the FreeBSD version > of openssh-portable causes problems with privilege separation. It happens > to be the first call to the resolver, but because the code is running > chrooted at that point, it cannot read /etc/resolv.conf so fails to > initialize itself correctly. This causes the DNS lookup to fail, and > in some configurations to hang for half a minute. Thank you. I will look into it ASAP. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message