Fail2Ban Integration
-
Hello,
can you please append following line to the function sbbmoreone2 at line 1339 of file /functions/functions.php:
apply_filters(‘sbbmoreone2_filter’,$stopbadbotsip);
So i can develope following fail2ban helper plugin/drop-in like:
add_filter(‘sbbmoreone2_filter’,’stopbadbots_fail2ban’,10,1);
function stopbadbots_fail2ban($stopbadbotsip) {
exec(‘fail2ban-client set plesk-apache-badbot banip ‘ . $stopbadbotsip);
}Kind regards,
RHEIN WEB
Ben BesselinkThe page I need help with: [log in to see the link]
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Fail2Ban Integration’ is closed to new replies.