Bug 37851

Summary: pam_access doesn't has a broken implementation for handling internet addresses
Product: [Retired] Red Hat Linux Reporter: Arenas Belon, Carlo Marcelo <carenas>
Component: pamAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-04-26 15:14:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fixes buffer size, adds trailing dot to the test none

Description Arenas Belon, Carlo Marcelo 2001-04-26 15:12:35 UTC
a broken implementation of the funcion from_match on pam_access can make
tests on ip address to fail.

if using (on /etc/security/access.conf) something like :

*:user:200.48.36.195.
*:user:200.48.115.55.
-:user:ALL

the test for a connection from ip address 20.48.36.195 doesn't result on a
connect.

attached patch that helps the problem

Comment 1 Arenas Belon, Carlo Marcelo 2001-04-26 15:14:05 UTC
Created attachment 16505 [details]
fixes buffer size, adds trailing dot to the test

Comment 2 Nalin Dahyabhai 2001-08-31 00:59:24 UTC
This should be fixed in pam-0.75-2 and later.  Thanks!