Auto-Ban trap page

Post Reply
Thierry
Junior Member
Posts: 19
Joined: 07 Apr 2008, 13:51

Auto-Ban trap page

Post 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
sdarot
Junior Member
Posts: 6
Joined: 27 Sep 2018, 16:34

Re: Auto-Ban trap page

Post by sdarot »

sounds like a classic scenario for fail2ban usage.
Post Reply