Bug 94051 - login(1): IP network in login.access ignored unless DNS is down
Summary: login(1): IP network in login.access ignored unless DNS is down
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 7.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-03 15:10 UTC by Yar Tikhiy
Modified: 2019-11-15 02:24 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yar Tikhiy 2006-03-03 15:10:03 UTC
	This problem was initially reported in Russian by Andrej
	Kirejev <kb@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@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]
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:32 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 ytao15 2019-11-15 02:24:34 UTC
It is 2019 and this bug is still unfixed.