Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
How many times i tried to use mod_evasive to protect my server against DDOS, it didn’t work. I will try this now as my last hope. Good work btw.
Any idea how I can test to make sure mod_evasive is functioning properly?
When I execute the script (sudo perl /usr/share/doc/mod_evasive-1.10.1/test.pl) I get the following response:
HTTP/1.1 301 Moved Permanently
and it doesn’t trigger a response.
I have virtual hosts setup (Apache 2.4.6), but otherwise nothing fancy.
Log: DHCPDISCOVER on eth1 to 255.255.255.255 port interval <warn> (eth1): DHCPv4 request timed out. <info> (eth1): DHCPv4 state changed unknown -> timeout <info> (eth1): canceled DHCP transaction, DHCP client pid <info> (eth1): DHCPv4 state changed timeout -> done <info> (eth1): device state change: ip-config -> failed (reason ‘ip-config-unavailable’) <info> Disabling autoconnect for connection ‘Wired connection 1’. <warn> (eth1): Activation: failed for connection ‘Wired connection 1’ <info> (eth1): device state change: failed -> disconnected (reason ‘none’) avahi-daemon[469]: Withdrawing address record for on eth1.
Very good tutorial, I went ahead and implemented some of the techniques on my own website. https://hostlittle.com
I put in
sudo rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm and I get the following:
Retrieving http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm curl: (22) The requested URL returned error: 404 Not Found error: skipping http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm - transfer failed
Could anyone update this article with the correct links so we could have a install of mod_security? Thanks.
Thanks. It works. I must agree with you the default values are too low for an average busy server.
Hello, thank you for this article very comprensible. Is there a way to receive the mail alert with a subject filled in?
Thx in advance Giuseppe
This comment has been deleted
Hi, In your evasive conf file you mentioned “DOSSiteCount 100”, as per my understanding, it will serve first 100 requests and will gives response as 403 for the requests beyond that for page interval 1 sec. But, here, you are getting HTTP 403 response from starting. I didn’t understand it ?
At step 3: “DOSSiteCount is the limit for the total number of requests for the same website by an IP address per site interval (defaults to 1 second). To change it to a larger value such as 100 seconds”
I think that the words “seconds” should be removed, because it’s not the correct unit of measure