DDOS Attack

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • borked
    Totally Borked
    • Feb 2005
    • 6284

    #51
    what type of DDOS attack?

    if it's a SYN attack, drop the IPs with

    Code:
    for i in ` netstat -tanpu | grep "SYN_RECV" | awk {'print $5'} | cut -f 1 -d ":" | sort | uniq -c | sort -n | awk {'if ($1 > 10) print $2'}` ; do echo $i; iptables -A INPUT -s $i -j DROP; done

    For coding work - hit me up on andy // borkedcoder // com
    (consider figuring out the email as test #1)



    All models are wrong, but some are useful. George E.P. Box. p202

    Comment

    • moeloubani
      Confirmed User
      • Dec 2007
      • 4235

      #52
      Originally posted by facialfreak
      Here's the thing .... a managed host may be able to lighten the blow somewhat using DDoS Deflate, tightening up some firewall rules, temporarily reconfiguring your php.ini, etc., etc ... but if the attacker is stubborn enough, what's going to happen is that your site will stay "up", but it will be severely bottlenecked, as your load balances go up into the double (or even triple) digits ... which will mean half of your legit traffic is going to back out of your page before it even loads anyways!!!

      Between the added expense of DDoS mitigation, and the loss of legit traffic, I would say this endeavor is a bad one before it even begins ...

      For a site that is not making you any money, I have to wonder why you want to keep it up so badly?

      Just as a matter of principle I don't want someone else to decide when one of my sites is up or down. If I thought that the site they are attacking was worth a serious attack then I'd say screw it but I doubt that someone sees this site and decides it warrants any real amount of resources or manpower to keep down.

      Comment

      • dazzling
        Confirmed User
        • Nov 2002
        • 579

        #53
        Just an idea, put a notice on your website that it is for sale. See who contacts you, it may actually give some indication as to who is behind this. If it is someone in competition with you, they will probably be curious enough to contact you for the price. Make it very cheap and see if you can find out who it is.
        If that fails, after a few weeks post the website has been sold and transfer the domain to a different register using domain ID protect and see if the attack drops or continues. It may not be your website their after but you personally, so if they think its sold they may drop off.
        DuckDuckGo Search Engine

        We Dont Track You

        Comment

        • Klen
          • Aug 2006
          • 32235

          #54
          Ddos attacks are easy to handle if you use proper tools.

          Comment

          Working...