need some help. i'm flooded

Discussion in 'Apache' started by carminx, Nov 8, 2009.

  1. #1
    ok guys. so i have a wp site with like 1000uv/day and it seems that one of my opponents started to flood me. the host suspend my site because it loads the cpu to 80%
    here are some screenshots.
    [​IMG]
    this ip was banned but after 4 hours another ip showed
    [​IMG]


    what is the solution to this problem? is there an automatic script that can ban an ip if it access more then 5pages/sec or something like that?
    need help asap.
    thanks
     
    carminx, Nov 8, 2009 IP
  2. jcy1978

    jcy1978 Greenhorn

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #2
    Good morning,

    I'd recommend that you try out mod_limitipconn.c; there are modules for Apache v1 and v2.

    Let me know if that helps or if you need something stronger; folks like this can be defeated eventually, but it's a shame that instead of building up their own online community, they'd rather destroy yours.
     
    jcy1978, Nov 10, 2009 IP
  3. Hosshost

    Hosshost Peon

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I would suggest switching to Litespeed.
     
    Hosshost, Nov 15, 2009 IP
  4. SecureCP

    SecureCP Guest

    Messages:
    226
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Especially since they're just banging on apache, I agree whole heartedly.
     
    SecureCP, Nov 19, 2009 IP
  5. vpslime

    vpslime Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You could also look at tuning your prefork settings for apache, along with the timeouts. Another option is to block the source IPs via iptables.
     
    vpslime, Nov 22, 2009 IP