Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+4 votes
586 views
in Q2A Core by
Exist here an antiflood plugin ? i see to many request on index.php page and server is down, i think someone flooding website, exist a plugin  here for anti flood and block the same IP request page in every seconds ?
by
Have you tried using Cloudflare? It might solve your problem.
by
This is not really something that makes sense as a plugin, probably best to solve it at the server level.
by
This problem no resolve cloudflare or dedicted server, because this request can will be on this dedicated server or cloudflare, i want a php-code in a plugin who can stop 100/sec request by the same ip address ..its easy to create this , today i create a php file with this but i need more .. .

1 Answer

+1 vote
by
To create a plugin for this should be indeed easy, at least at first glance.

1. getip(),
2. save in DB, and count++,
3. if count>100 then prevent from access.

However, the q2a engine would still handle it. So I guess best would really be something server-based.

Here is a shell script: http://linuxgazette.net/137/takefuji.html

To read:
https://stackoverflow.com/q/11729092/1066234
https://serverfault.com/q/709824
...