Skip to main content

Server hammered with HTTP requests

Comments

9 comments

  • cPRex Jurassic Moderator
    Hey there! That sounds like a classic DoS attack. If you want to try and fix it on the server-side, I'd recommend the Apache Evasive module:
    0
  • adeyjones
    Thanks @cPRex - i'll try the Evasive. Unfortunately I don't have any other support, it's an AWS EC2 instance so i'm on my own with this one.
    0
  • adeyjones
    I have had the Evasive module installed since this thread, unfortunately today this seems to have re-occured, the load on the server as I type is currently "102.46 89.32 64.66". I have run netstat -tn 2>/dev/null | grep ":80" which I read somewhere but this doesn't really help identify anything.
    0
  • adeyjones
    Have just amended the config for the mod evasive to change site count from 100 to 50, restarted apache, load has gone down for now but will monitor to see if this is only due to the restart or if it is a more long term solution.
    0
  • adeyjones
    Unfortunately the issue is still there, load is going up as I type, attached it from process manager - any further ideas?
    0
  • cPRex Jurassic Moderator
    With so many request happening you'll want to reach out to your hosting provider or datacenter and see if they can provide an external solution to help with this traffic. With the load so high, your server isn't going to be able to handle that traffic.
    0
  • adeyjones
    @cPRex - Thanks, unfortuately I don't have a hosting provider, this is an EC2 instance by AWS so i'm on my own. I have been advised to install mod_dumpio so that I can see the headers from the POST requests, but where do I change the config of it to change the log level and where do I also see the logs? Thanks
    0
  • cPRex Jurassic Moderator
    cPanel does have that module available as part of EasyApache so you can install that through WHM >> EasyApache 4. The various configuration options are listed here: Mitigation techniques - AWS Best Practices for DDoS Resiliency
    0
  • adeyjones
    Thanks again - I have looked at AWS Shield from your link and it states that it is automatically enabled with all EC2 instances so I already have this although the dashboard has identified 0 events in the last year.
    0

Please sign in to leave a comment.