From owner-freebsd-bugs@FreeBSD.ORG Fri Mar 3 15:10:20 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org 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 998E916A420 for ; Fri, 3 Mar 2006 15:10:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB08643D66 for ; Fri, 3 Mar 2006 15:10:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k23FA4ks040973 for ; Fri, 3 Mar 2006 15:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k23FA4Fd040972; Fri, 3 Mar 2006 15:10:04 GMT (envelope-from gnats) Resent-Date: Fri, 3 Mar 2006 15:10:04 GMT Resent-Message-Id: <200603031510.k23FA4Fd040972@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, Yar Tikhiy Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B225916A420 for ; Fri, 3 Mar 2006 15:07:05 +0000 (GMT) (envelope-from yar@bsd.chem.msu.ru) Received: from bsd.chem.msu.ru (bsd.chem.msu.ru [195.208.208.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02BFE43D58 for ; Fri, 3 Mar 2006 15:07:04 +0000 (GMT) (envelope-from yar@bsd.chem.msu.ru) Received: from bsd.chem.msu.ru (localhost [127.0.0.1]) by bsd.chem.msu.ru (8.13.3/8.13.3) with ESMTP id k23F71Pp031196 for ; Fri, 3 Mar 2006 18:07:01 +0300 (MSK) (envelope-from yar@bsd.chem.msu.ru) Received: (from yar@localhost) by bsd.chem.msu.ru (8.13.3/8.13.3/Submit) id k23F70X0031195; Fri, 3 Mar 2006 18:07:00 +0300 (MSK) (envelope-from yar) Message-Id: <200603031507.k23F70X0031195@bsd.chem.msu.ru> Date: Fri, 3 Mar 2006 18:07:00 +0300 (MSK) From: Yar Tikhiy To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/94051: IP network in login.access ignored unless DNS is down X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2006 15:10:20 -0000 >Number: 94051 >Category: bin >Synopsis: IP network in login.access ignored unless DNS is down >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 Mar 03 15:10:03 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Yar Tikhiy >Release: FreeBSD 7.0-CURRENT i386 >Organization: None >Environment: System: FreeBSD vpc7.chem.msu.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #4: Sun Feb 26 19:23:06 MSK 2006 yar@vpc7.chem.msu.ru:/usr/obj/usr/src/sys/VPC i386 >Description: This problem was initially reported in Russian by Andrej Kirejev and reproduced by me. If an IP network is used in the 3rd field of login.access, it will be ignored unless the DNS servers are unavailable. >How-To-Repeat: vpc7# cat /etc/login.access +:ALL:195.208.208. -:ALL:ALL yar@bsd:~$ifconfig | grep inet.*195 inet 195.208.208.23 netmask 0xfffffff0 broadcast 195.208.208.31 yar@bsd:~$ssh vpc7 pam_login_access: pam_sm_acct_mgmt: yar is not allowed to log in from bsd.chem.msu.ru Connection closed by 10.1.1.27 [OTOH, preventing the `vpc7' host from making successful DNS] [queries this way or another makes logging into it possible] >Fix: >Release-Note: >Audit-Trail: >Unformatted: