[Bug 1455061] Re: White-listing IP-numbers or networks doesn't work

2015-05-14 Thread jtniehof
Thanks Jonas! I've entered this in my github and I should have a chance to address it this weekend. Let me know if you'd like to be credited as other than your full name here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bug

[Bug 1455061] Re: White-listing IP-numbers or networks doesn't work

2015-05-14 Thread Jonas Ringh
I have "allow_missing_dns" and "allow_missing_reverse" set to "yes" already. I also have "block all-users" set. After digging through the source code a bit, 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

[Bug 1455061] Re: White-listing IP-numbers or networks doesn't work

2015-05-14 Thread jtniehof
Hi Jonas-- Thanks for the report. If I recall correctly, "allow_missing_dns no" overrides "allow" entires (despite the "passed through with no checks" in the man page, I probably miswrote there) -- the DNS check comes first. I'll take a look and at very least update the documentation, but I do thi