From owner-freebsd-security Thu Jul 25 2:21:46 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 7F76037B400 for ; Thu, 25 Jul 2002 02:21:42 -0700 (PDT) Received: from au-ml2.teamlog.fr (smtp-paris1.teamlog.com [213.41.116.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0555543E86 for ; Thu, 25 Jul 2002 02:21:41 -0700 (PDT) (envelope-from pof@teamlog.com) Received: from teamlog.com (proxy-paris1.teamlog.fr [213.41.116.89]) by au-ml2.teamlog.fr (8.12.4/8.12.4) with ESMTP id g6P9J6VV028031 for ; Thu, 25 Jul 2002 11:19:07 +0200 Message-ID: <3D3FE049.1000302@teamlog.com> Date: Thu, 25 Jul 2002 11:26:01 +0000 From: Pierre-Olivier Fur User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020702 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-security@FreeBSD.ORG Subject: Re: Openssh-portable Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Dirk Janssen wrote: >Scott Gerhardt schrieb: > > >>I just set up openssh-portable-3.4p1_5 from the ports on a 4.5-RELEASE >>box and now ssh is very slow to login (60 seconds or more). Other than >>the delay, everything else works fine. I couldn't find any answers in >>the archives. >> >>Seems like DNS lookup issue. >> >>Is this a known problem and what is the suggested fix? >> >> > >I had this problem too on one machine (others worked fine, all >4.6-Stable), it had nothing to do with my settings in sshd_config >(ReverseMappingCheck no). >It helped (I don't exactly know why) to copy my resolv.conf to the >directory /usr/local/empty/etc/ an chmod /usr/local/empty to 755. >If /usr/local/empty doesn't exist, try /var/empty, this depends on how >you compiled openssh. >If somebody knows why exactly this solution works it would be kind to let >me know. > >Regards, > >Dirk > I and some friends had this problem too on 4.5 and 4.4, I resolve it by setting up a local DNS server, so Scott you had a part of the answer. Anyway I'm gonna try Dirk's solution cause I'd like to understand why it works too. Cordialy Piero To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message