From owner-freebsd-bugs@FreeBSD.ORG Fri Jan 30 19:00:39 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D280816A4CE for ; Fri, 30 Jan 2004 19:00:39 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85C3143D45 for ; Fri, 30 Jan 2004 19:00:37 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0V30bFR013058 for ; Fri, 30 Jan 2004 19:00:37 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0V30bvB013055; Fri, 30 Jan 2004 19:00:37 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 30 Jan 2004 19:00:37 -0800 (PST) Resent-Message-Id: <200401310300.i0V30bvB013055@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rostislav Krasny Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B415816A4CE for ; Fri, 30 Jan 2004 18:54:26 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id C315A43D1D for ; Fri, 30 Jan 2004 18:54:25 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i0V2sPdL038923 for ; Fri, 30 Jan 2004 18:54:25 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i0V2sPkR038921; Fri, 30 Jan 2004 18:54:25 -0800 (PST) (envelope-from nobody) Message-Id: <200401310254.i0V2sPkR038921@www.freebsd.org> Date: Fri, 30 Jan 2004 18:54:25 -0800 (PST) From: Rostislav Krasny To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.0 Subject: bin/62139: User cannot login through telnet or ssh because of reverse resolving delay X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 03:00:39 -0000 >Number: 62139 >Category: bin >Synopsis: User cannot login through telnet or ssh because of reverse resolving delay >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 30 19:00:37 PST 2004 >Closed-Date: >Last-Modified: >Originator: Rostislav Krasny >Release: 5.2-RELEASE and 5.2-CURRENT >Organization: >Environment: FreeBSD localhost 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Jan 29 13:03:29 IST 2004 root@localhost:/usr/obj/usr/src/sys/GENERIC i386 >Description: When a user tries to login to the system remoutly (by telnet or ssh) the system is trying to reverse resolve its IP address. Because the system does this resolving synchronously the login process delays. When recorded in the /etc/resolv.conf address of single DNS server is unreachable the delay will be very long and it will produce login timeout. It can made this system inaccessible for remote administration through telnet and ssh. >How-To-Repeat: To reproduce this problem write non-existent IP address of your subnet as the address of single DNS server in /etc/resolv.conf file. Then try to login to this system remoutly from somewhere. There should be no previously openned connections from the second system. >Fix: To fix this problem you can either disable the reverse resolving or do it asynchronously. >Release-Note: >Audit-Trail: >Unformatted: