Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

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

Open
jtniehof opened this issue May 14, 2015 · 1 comment
Open

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

jtniehof opened this issue May 14, 2015 · 1 comment

Comments

@jtniehof
Copy link
Owner

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.

@temple
Copy link

temple commented Jun 2, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants