https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39109 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |In Discussion Assignee|koha-bugs@lists.koha-commun |dcook@prosentient.com.au |ity.org | --- Comment #3 from David Cook <dcook@prosentient.com.au> --- Test plan: 1. vi /etc/koha/sites/kohadev/plack.psgi 2. Add the following to the /opac mount point (higher than Koha::Middlware::CSRF but lower than HTTPExceptions) : enable "+Koha::Middleware::Throttle", debug => 1, interface => 'opac', paths => [ '^/opac-search', ], allow_list => [ '192.168.1.0/24', ], request_threshold => 5, #Number of requests to trigger throttle last_n_minutes => 1, #Number of minutes to consider when aggregating request counts cidr_block => 24, #CIDR mask to use for determing range IP address belongs to (may only be 8, 16, 24, 32) ; 3. sudo koha-plack --restart kohadev 4. Do 6 requests to opac-search.pl within 1 minute and see the pretty "You've been throttled" page. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.