Auto-Ban trap page

2 posts Page 1 of 1
Thierry
Junior Member
Posts: 13
Joined: 07 Apr 2008, 13:51


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: 3
Joined: 27 Sep 2018, 16:34


sounds like a classic scenario for fail2ban usage.
2 posts Page 1 of 1