[Koha-bugs] [Bug 14407] Limit web-based self-checkout to specific IP addresses
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 22 10:58:52 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14407
--- Comment #28 from Marc Véron <veron at veron.ch> ---
Hi Nicholas
The qa tool no longer complains.
I re-tested with following scenario (restart plack after each change to
syspref):
- Client's IP is 192.168.1.32
- SelfCheckAllowByIPRanges is empty
go to .../cgi-bin/koha/sco/sco-main.pl OK for all IPs
- Set SelfCheckAllowByIPRanges to 192.168.1.32
Allowed for client OK
Client with other IP redirected to OPAC main page OK
- Set SelfCheckAllowByIPRanges to 192.168
Allowed for client OK
Client with other IP redirected to OPAC main page OK
- Set SelfCheckAllowByIPRanges to 192.168.1.32 192.168.1.30 192.168.1.10
Allowed for client OK
Client with other IP redirected to OPAC main page OK
- Set SelfCheckAllowByIPRanges to 192.168.1.15 192.168.1.30 192.168.1.10
Client redirected to OPAC main page OK
Client with other IP redirected to OPAC main page OK
- Set SelfCheckAllowByIPRanges to 192.168.1.1 192.168.1.0/36
as described for syspref SelfCheckAllowByIPRanges
Internal Server Error
Plack error log says;
36, as in '192.168.1.30/36', does not make sense at
/home/marc/koha/C4/Auth.pm line 2058.
Is it a bug or a wrong description for SelfCheckAllowByIPRanges?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list