Need help to stop DDOS .

Discussion in 'PHP' started by Antena, Oct 2, 2008.

  1. #1
    Hello friends,

    I'm one newbie webmaster and one hacker has making DDOS to my site, so can anyone help me Stpe-by-step how add the script in the link below to try solve this problem ? :(

    bad bot blocking script
    http://www.webmasterworld.com/php/3623093.htm
     
    Antena, Oct 2, 2008 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    Tell us exactly what the 'hacker' does?

    a real ddos can't be fixed by changing scripts, only by buying quality equipment that can overcome ddos attacks.

    If it's not a real ddos please tell us what the problem is!
     
    EricBruggema, Oct 3, 2008 IP
  3. Antena

    Antena Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi Eric, thank's for reply.

    The host say wich was multiples conexions for seconds.
     
    Antena, Oct 3, 2008 IP
  4. Sillysoft

    Sillysoft Active Member

    Messages:
    177
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #4
    Are you on a regular webhosting account, virtual server or dedicated server?
     
    Sillysoft, Oct 3, 2008 IP
  5. Antena

    Antena Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i was suspended for two Webhosting regular (shared).
    Megahost and now Lunarpages

    Today i sigend in this one (VPS), but i don't understanding nothing,nothing,nothing about that so i can't configure everything here :(
    https://www.highspeedweb.net/v2/netrockvps.html

    My history everyday is more difficultly :(
     
    Antena, Oct 3, 2008 IP
  6. adsblog

    adsblog Active Member

    Messages:
    659
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    70
    #6
    it's possible to stop DDoS Attacks , but it's not free !
    contact me via pm , i will need root access on your vps to setup my ddos defender script .
     
    adsblog, Oct 3, 2008 IP
  7. Antena

    Antena Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Sorry but i don't have money to pay for it.
     
    Antena, Oct 3, 2008 IP
  8. Sillysoft

    Sillysoft Active Member

    Messages:
    177
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #8
    Does your webhost offer ddos protection? If not find another host and let them know your situation BEFORE you sign up.
     
    Sillysoft, Oct 3, 2008 IP
  9. Antena

    Antena Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I sent one mail before sign to theys about that.



    My mail:


    They reply:


     
    Antena, Oct 3, 2008 IP
  10. Sillysoft

    Sillysoft Active Member

    Messages:
    177
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #10
    Uhm that was a vague response. I would respond with specifically saying you have DDOS going on and exactly what do they have in place to protect you from it.
     
    Sillysoft, Oct 3, 2008 IP
  11. Antena

    Antena Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11

    I really don't know, i don't understand about this and this problem was in the Lunarpages hosting.


    Today i byued another but can't make nothing because i don't understand about linux and they have only the phisical space.
     
    Antena, Oct 3, 2008 IP
  12. Sillysoft

    Sillysoft Active Member

    Messages:
    177
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #12
    Well I think perhaps you need to look into managed hosting. DDOS is basically connection requests from multiple sources. Normally the requests are small chunks so Apache sees it as "legitimate traffic". But basically it saturates the resources of your site/box until it runs extremely slow or shuts down completely. Which LunarPages most likely dropped you because you were on a shared host and causing issues for other sites hosted on the same box. Of course this is just a vague explanation.
     
    Sillysoft, Oct 3, 2008 IP
  13. Antena

    Antena Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13

    You explained right my problem here.

    My "problem" not is real visitors, the problem is that DDOS, i received one email before the hacker start the attach, sent to they but, they tell me wich was "real" visitors and i need one dedicated host, but my site not have neither 400 unique visitor daily.


    And the script mentioned in the first post block IP for one number "X" of daily visitors, so, you know if this one can help me ?

    Link to script:
    http://www.webmasterworld.com/php/3623093.htm


    Please, excuse my english i'm brazillian.
     
    Antena, Oct 3, 2008 IP
  14. Sillysoft

    Sillysoft Active Member

    Messages:
    177
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #14
    Well it looks like that script basically will ban any ip that makes to many requests in a certain amount of time. Banning IP's dynamically like that is always risky business. What if Google hit your page hard and made to many requests?

    With DDOS its basically multiple computers, usually zombie computers that have no clue they are being used in a DDOS attack. It will then just go out and find another computer to use. You can try the script but not having a lot of experience I highly recommend paying someone to either set it up or manage your hosting account altogether.
     
    Sillysoft, Oct 3, 2008 IP
  15. Antena

    Antena Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Very thank's for your explanation, but i don't have any interest in Google, if he was banned also, not is problem to me.
     
    Antena, Oct 3, 2008 IP
  16. Sillysoft

    Sillysoft Active Member

    Messages:
    177
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #16
    Well if no interest in Google then go for it! Install the script and see what happens.
     
    Sillysoft, Oct 3, 2008 IP
  17. Antena

    Antena Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17

    This is was my first post , anyone can explain me in install that script step-by-step ?
     
    Antena, Oct 3, 2008 IP