From owner-freebsd-stable Wed Jul 17 7:30:19 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 535DC37B400 for ; Wed, 17 Jul 2002 07:30:15 -0700 (PDT) Received: from norton.palomine.net (dsl254-102-179.nyc1.dsl.speakeasy.net [216.254.102.179]) by mx1.FreeBSD.org (Postfix) with SMTP id 4DEEF43E58 for ; Wed, 17 Jul 2002 07:30:14 -0700 (PDT) (envelope-from cjohnson@palomine.net) Received: (qmail 19359 invoked by uid 1000); 17 Jul 2002 14:30:13 -0000 Date: Wed, 17 Jul 2002 10:30:12 -0400 From: Chris Johnson To: Tai-hwa Liang Cc: freebsd-stable@FreeBSD.org Subject: Re: slow ssh connection speed(bind problem?) Message-ID: <20020717143012.GA19247@palomine.net> References: <20020717214655.R51546-100000@www.mmlab.cse.yzu.edu.tw> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: <20020717214655.R51546-100000@www.mmlab.cse.yzu.edu.tw> User-Agent: Mutt/1.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jul 17, 2002 at 10:16:41PM +0800, Tai-hwa Liang wrote: > After cvsupped to the latest version of RELENG_4 this morning, I > found that the sshd on the newly built system takes more time during ssh > connection handshaking: I've found that this happens on some boxes but not others, both with the new OpenSSH-3.4p1 in the base system and with the openssh-portable in the ports. I haven't been able to figure why it happens only on some boxes and not others. One solution I've found is this: # chflags noschg /var/empty # mkdir /var/empty/etc # cp /etc/resolv.conf /var/empty/etc # chflags schg /var/empty I don't know if there are security (or any other) implications to this, but it fixes the problem in any case. Chris Johnson --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9NX90PC78Lz4X/PARAg0bAJ9zO2FUGh8Tgrqo7+vYUCajHR4PjwCgqpkT omDo7cLn7KyLkMRTSFGDV2k= =5e4J -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message