I
I
InkOut2015-05-31 23:35:10
Apache HTTP Server
InkOut, 2015-05-31 23:35:10

DDoS site through active connections (ISP). How to set a limit on the number of requests?

There is a site on OVH. Their antiddos catches big attacks. But somehow they manage to zaddosit us.
e87dec4e04254e51a0b48902fb23ab15.png
httpd.itk becomes 256 and that's it. And all connections with 1 IP.
How can I do something to distribute the load?
CentOS 6.6 (64bits)
Processor Intel(R) Xeon(R) CPU W3530 @ 2.80GHz 1600.000 Mhz X 8
RAM 16 GB

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
mureevms, 2015-06-01
@InkOut

In Iptables add a line. Limit of 10 connections from one IP to port 80
Another option. The gist is the same:

iptables -A INPUT -p tcp --syn --dport 80 -m recent --name radiator --set
iptables -A INPUT -p tcp --syn --dport 80 -m recent --name radiator --update --seconds 120 --hitcount 10 -j REJECT

S
sim3x, 2015-06-01
@sim3x

Hire an admin if such tasks are a problem
Or remove apache from the front

M
Max Payne, 2015-05-31
@YardalGedal

Um, what about blocking an IP?
I recommend CloudFlare .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question