Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Dec 2009
    Posts
    85

    Default Help on DDOS/DOS attacks on SAMP servers

    Hello, please help if anyone knows how to block DDOS/DOS attacks on SAMP servers?We are using csf+lfd. I have these rules:

    iptables -I INPUT -p udp -dport 7777 -m state --state NEW -m recent --set
    iptables -I INPUT -p udp -dport 7777 -m state --state NEW -m recent --update --seconds 10 --hitcount 5 -j DROP

    but I don't know if they are ok, and how should i put them in iptables.If you have another method, please post.Thank you.

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,893
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Help on DDOS/DOS attacks on SAMP servers

    You might try installing CSF ConfigServer Security & Firewall to see if that helps. You might also ask over on the SAMP forums.
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  3. #3
    Member
    Join Date
    Dec 2009
    Posts
    85

    Default Re: Help on DDOS/DOS attacks on SAMP servers

    Quote Originally Posted by filth80 View Post
    Hello, please help if anyone knows how to block DDOS/DOS attacks on SAMP servers?We are using csf+lfd. I have these rules:

    iptables -I INPUT -p udp -dport 7777 -m state --state NEW -m recent --set
    iptables -I INPUT -p udp -dport 7777 -m state --state NEW -m recent --update --seconds 10 --hitcount 5 -j DROP

    but I don't know if they are ok, and how should i put them in iptables.If you have another method, please post.Thank you.
    In SAMP forums they say to find the ip and ban it.For DDOS attack this is useless.I want to know how to config firewall, we already have CSF+LFD installed.Thank you for response.

  4. #4
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,893
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Help on DDOS/DOS attacks on SAMP servers

    For a real DDoS attack you'd need to contact your provider. That might be a long thread to describe the best settings for your firewall, there are way too many settings to adjust to find your sweet spot.

    You can however take the fast lane a bit with CSF using the Firewall Security Level configuration page. Click High, and save. Once you've done that and restarted the firewall, you may find some of those settings a bit tight for whatever reason. To adjust one of them you'll need the name of the setting from that same Firewall Security Level configuration page, and then go to the Firewall Configuration page and locate that name to adjust.

    My apologies for missing the CSF mention in the OP.
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  5. #5
    Member
    Join Date
    May 2005
    Posts
    99

    Default Re: Help on DDOS/DOS attacks on SAMP servers

    as Infopro say if you are under Big DDoS attacks you must have an infraestructure to deal with it.
    Contact your provider or move to one provider with ddos protections.
    Anyway to have a better idea about your problem let me know a few things...

    all the box turn unaccesible when the attack is in progress or only the SAMP?

    its only UDP the attack?


    if the box is accesible when the attack is in progress maybe we can help you with a few tips to put in your box .. ( NOT IPTABLES ) to prevent the attack to the SAMP service.

    if the box turn off well you must talk with your provider or find another with ddos protections.

Similar Threads & Tags
Similar threads

  1. Possible DOS attacks - extreme load
    By remik in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-26-2006, 07:45 AM
  2. How to stop / prevent DoS attacks
    By akhthar in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-01-2005, 10:27 AM
  3. constant dos attacks
    By phantom in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-30-2003, 07:43 AM
  4. Your opinion? (Dealing with DOS attacks)
    By webfeatus in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-28-2003, 10:36 PM
  5. DOS Attacks
    By geekhosting in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-21-2003, 07:54 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube