Closed Thread
Results 1 to 8 of 8




  

Thread: looking for script to protect against DDOS attacks

      
  1. #1
    I'm New! bgillingham will become famous soon enoughbgillingham will become famous soon enough bgillingham's Avatar
    Join Date
    October 6, 2007
    Posts
    37
    Rep Power
    5
    Feedback Score
    0

    Default looking for script to protect against DDOS attacks

    Hi all --

    I am looking for a good PHP script that would be able to dynamically adjust to block those IP addresses for suspicious activity. Activities that would lead to getting blocked would include repeated posts of > 50kb (or whatever threshold makes the most sense - based on how my site is used), multiple port requests other than 80, - and I am guessing that there has to be some specific actions that deal with the HTTPS part of the site.

    I am pretty sure that I saw some code that is written into phpBB that seems to do this, but there's no better way to find a great script than to look at what other web developers recommend.

    Thanks in advance for any info on protecting a site against DDOS attacks.

  2. #2
    Grand Masters grim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond repute grim's Avatar
    Join Date
    September 22, 2006
    Posts
    10,060
    Rep Power
    25
    Feedback Score
    0

    Default

    What kind of server/hosting package do you have? Do you have a firewall installed, vps/dedicated to give you the option of installing a firewall?

  3. #3
    I'm New! bgillingham will become famous soon enoughbgillingham will become famous soon enough bgillingham's Avatar
    Join Date
    October 6, 2007
    Posts
    37
    Rep Power
    5
    Feedback Score
    0

    Default

    Quote Originally Posted by Grim View Post
    What kind of server/hosting package do you have? Do you have a firewall installed, vps/dedicated to give you the option of installing a firewall?
    Grimm -- thanks for asking. These details should help some:

    The server is running Linux 2.6.9-55.0.9.ELsmp. The package is basically unlimited, but the cPanel's package name value is "default" (that really helps).

    I forgot to mention that the package has a dedicated IP address. Also, most everything else is unlimited (like bandwidth, hard drive space, subdomains, email addresses).

    MOD_SECURITY is installed. I am sure that there's a firewall, but I don't know any details (I am thinking that both types are used - a software firewall and hardware firewall).

    I think that my host knows his security upside-down and backwards. I recently asked him a similar question about how safe is my site from hackers. He an open source apache module installed at one point to protect against DDOS attacks, but it caused some kind of other problem/s at the time.

    It's time to hit some golf balls -- back in a couple hours
    Last edited by bgillingham; Oct 24th, 2007 at 7:18 am.

  4. #4
    Grand Masters grim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond repute grim's Avatar
    Join Date
    September 22, 2006
    Posts
    10,060
    Rep Power
    25
    Feedback Score
    0

    Default

    So if I understand correctly you do not have a VPS or dedicated server?

    TBH if you're that worried about it I would recommend getting a VPS or Dedicated server myself so that you could tweaks a firewall with DDOS protection.

    This is what I have on all of my servers and I have 'yet' to have a problem. You can configure them to block out known attack methods and IP's, plus they will block IP's as needed automatically from such instances as incorrect passwords, brute force attacks, too many connections, etc.

  5. #5
    I'm New! bgillingham will become famous soon enoughbgillingham will become famous soon enough bgillingham's Avatar
    Join Date
    October 6, 2007
    Posts
    37
    Rep Power
    5
    Feedback Score
    0

    Default

    I may be able to close this question. I really don't think that I am going to code my own PHP routines to do this - or reinvent the wheel while I'm at it.

    Quote Originally Posted by Liquid Lust View Post
    So if I understand correctly you do not have a VPS or dedicated server?
    Yes - that is what you'd call it -- dedicated, although not virtual and it has the static IP address.

    Quote Originally Posted by Liquid Lust View Post
    TBH if you're that worried about it I would recommend getting a VPS or Dedicated server myself so that you could tweaks a firewall with DDOS protection.
    This sounds like something my web host was saying. I would have to think that you two have similar experiences. He's been doing his own hosting and tweaking of firewalls for over 10 years (that's a lot!!).

  6. #6
    Grand Masters grim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond repute grim's Avatar
    Join Date
    September 22, 2006
    Posts
    10,060
    Rep Power
    25
    Feedback Score
    0

    Default

    You have a dedicated server? If so is it cpanel with WHM?

    If that is the case I can recommend a very easy to install and configure firewall with ddos protection

  7. #7
    I'm New! bgillingham will become famous soon enoughbgillingham will become famous soon enough bgillingham's Avatar
    Join Date
    October 6, 2007
    Posts
    37
    Rep Power
    5
    Feedback Score
    0

    Default

    Quote Originally Posted by Liquid Lust View Post
    You have a dedicated server? If so is it cpanel with WHM?

    If that is the case I can recommend a very easy to install and configure firewall with ddos protection
    Yes! I do have a cPanel with WHM for this domain. :grin: What firewall configuration can protect against the DDOS attacks?

    -WTF is that a great place or what?! Hee hee.... Just having a little fun with the abbreviations.

  8. #8
    Grand Masters grim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond repute grim's Avatar
    Join Date
    September 22, 2006
    Posts
    10,060
    Rep Power
    25
    Feedback Score
    0

    Default

    As long as you have ssh access and the required permissions 'usually needs vps or dedicated' the following is very easy to install and configure

    http://www.configserver.com/cp/csf.html

    I use this on 2 servers of mine and so far it's been great. Integrates with WHM, nice easy admin. Can block ip's server wide in an instant!

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. password protect
    By webster13045 in forum Web Hosting
    Replies: 20
    Last Post: May 19th, 2008, 10:59 pm
  2. DDoS safe/proteccted hosting...
    By axelmossendotcom in forum Web Hosting
    Replies: 8
    Last Post: Apr 13th, 2008, 12:58 pm
  3. Why we need to protect our domain?
    By WebGuru8 in forum Domain Names
    Replies: 1
    Last Post: Sep 15th, 2007, 11:29 pm
  4. Rand attacks Aviva
    By Manish Pandey in forum Directories
    Replies: 8
    Last Post: Aug 8th, 2007, 12:21 pm
  5. Damn DDOS!!!
    By iowadawg in forum Web Hosting
    Replies: 13
    Last Post: Jan 10th, 2007, 6:32 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
WebTalkForums
WebTalkForums
Recent Forum Threads