Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Help with DDoS attack

Discussion in 'General Discussion' started by javii, Sep 26, 2013.

  1. javii

    javii Registered

    Joined:
    Sep 26, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi!

    I'm suffering a DDoS attack, and really need help to solve it.

    Server Status
    As you can see there is a lot of "..reading.." connections

    Tcpdump:


    netstat -an|awk '/tcp/ {print $6}'|sort|uniq -c
    Any idea on how to block it? Any help would apreciated
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,758
    Likes Received:
    1,886
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Are you using any third-party firewall applications such as CSF to provide a general level of protection? Also, you may want to consult with your data center if the attack is severe to see if they can mitigate the attack with a hardware firewall.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. HostingH

    HostingH Well-Known Member

    Joined:
    Jan 13, 2008
    Messages:
    125
    Likes Received:
    17
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Hi,

    In csf.conf enable portflood and synflood as per the need. If csf can not help then please go with DC (HardwareFirewall)

    Set the values as follows:
    ------------------------
    SYNFLOOD = "1"
    SYNFLOOD_RATE = "10/s"
    SYNFLOOD_BURST = "15"
    ------------------------
    PORTFLOOD = "80;tcp;300;5"
    ------------------------

    Thanks.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,864
    Likes Received:
    89
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice