1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Limit connections from an IP (stupid hackers), please help me.

Discussion in 'Plesk for Linux - 8.x and Older' started by tecdady, Feb 7, 2006.

  1. tecdady

    tecdady Guest

    hey all, i have some ******* that keeps crashing my mysql server by hitting a thread in a forum over and over and over until the max connections error is hit in mysql which screws the pooch on all the sites on the box that are mysql driven.

    this is basically a low rent dos attack simply using a browser. can anyone help me limit the connections from an ip? in other words is there a way to only allow say 20 simultanious connections from all ip's that access the box?

    this is such a common and easy way to take down a server that i would hope there is something out there.

    i have moded the .htaccess file to deny from the specific ip range that this ******* is using but its only a matter of days/hours/minutes until he just finds a new one and im riding motox getting a phone call from all my clients telling me to come home and fix the box... ugh. any/all help would be GREATLY appriciated


  3. dahamsta

    dahamsta Guest

    it can be limited both via the forum and Apache, but a better way to do it would be to use Plesk Firewall to reject connections completely.