pam_shield icon indicating copy to clipboard operation
pam_shield copied to clipboard

White-listing IP-numbers or networks doesn't work

Open jtniehof opened this issue 9 years ago • 1 comments

Information from https://bugs.launchpad.net/ubuntu/+source/pam-shield/+bug/1455061

"Allow statements in the configuration file (/etc/security/shield.conf) aren't correctly matched against the connecting client if an IP-address or network has been entered."

'I tracked it down to the function "match_ipv4_list" in "pam_shield_lib.c" and the for loop that loops over the octets in the ip and mask. GCC seems to do some somewhat dodgy optimization of that loop...declare i volatile'

I should have a chance this weekend to sit down and address this and other pending issues.

jtniehof avatar May 14 '15 21:05 jtniehof

Could you please refer explicity in the subject terms like "allow" or "shield.conf"? I was near to report same issue. Thanks a lot

temple avatar Jun 02 '17 08:06 temple