Page 1 of 1

Auto-Ban trap page

Posted: 11 Sep 2018, 15:46
by Thierry
Hi

Is there a way with CSF/LFD to define a few URLs on our server or page name like xmlrpc.php... And as soon as you call this page and you are not on the white list, we ban your IP for 24 hours for the whole server.

We KNOW that if you try to call xmlrpc.php on our server, that you are a hacker. We don't want your business and we want you out of our neighbourhood and we don't want you to use any resource on our server anymore.

Any clue how we could do this?
Thanks

Re: Auto-Ban trap page

Posted: 27 Sep 2018, 20:13
by sdarot
sounds like a classic scenario for fail2ban usage.