bin/94051: IP network in login.access ignored unless DNS is down

Yar Tikhiy yar at comp.chem.msu.su
Fri Mar 3 07:10:20 PST 2006


>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 at vpc7.chem.msu.ru:/usr/obj/usr/src/sys/VPC  i386

>Description:
	This problem was initially reported in Russian by Andrej
	Kirejev <kb at skrastas.lt> 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 at bsd:~$ifconfig | grep inet.*195
	inet 195.208.208.23 netmask 0xfffffff0 broadcast 195.208.208.31
	yar at 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:


More information about the freebsd-bugs mailing list