I am running a web page based on Symfony 2.7. The page uses the FOSUserBundle
for user management and authentication.
I can observe in the log files, that the page is "attacked" quite often by brute force scanners.
There are two types of scans:
- Searching for known vulnerabilities, e.g. WordPress files, etc. which result in
HTTP 404
responses - Login attempts with default user credentials
I have been using WordPress before. There exist quite a lot of plugins and tools to automatically recognize and handle such attacks: If the 404 request or denied login attempts reaches a certain threshold, the user/ip is automatically blocked for some time. Usually after a few minutes the user/ip is automatically removed from the block list.
I have not been able to find such a solution for Symfony. Is there any bundle that integrates these functions into Symfony?
Of course it would not be too difficult to implement this functionally on my own. But it makes no sense to re-invent something that is already out there.