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!

dDoS + logs?

Discussion in 'General Discussion' started by Dreamy, Nov 2, 2008.

  1. Dreamy

    Dreamy Well-Known Member

    Sep 16, 2008
    Likes Received:
    Trophy Points:
    Is there any way cPanel logs dDoS attackers IP address and where is it saved to?

    eg. could I see from somewhere how many connections from that ip address on that time was into my server?

    and could I see somehow via putty through terminal command who is currently attacking the server? how to ban thse ip's ?
    #1 Dreamy, Nov 2, 2008
    Last edited: Nov 2, 2008
  2. JPC-Stefan

    JPC-Stefan Member

    Oct 29, 2008
    Likes Received:
    Trophy Points:
    cPanel provide Raw Apache Logs for all domains, but it it is not convenient way to check the DDOS attack on the server. You can also check the IP's requesting apache service on your server from WHM>> Server Status >> Apache Status.

    If you have shell access then you can check the current number of connections by command:

    # netstat -ntu | grep ESTAB | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr

    However it is recommended to install Firewall tools like APF and BFD to block DDOS attack on your server.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. sirotex

    sirotex Well-Known Member

    Jul 10, 2008
    Likes Received:
    Trophy Points:
    Software firewalls won't even touch a DDoS attack. The only real way to actually prevent _some_ DDoS attacks is via a ciscos guard, which are quite expensive.

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