The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to stop people from opening 300 ftp connections to the server

Discussion in 'General Discussion' started by nat, Feb 10, 2005.

  1. nat

    nat Well-Known Member

    Joined:
    Jan 16, 2003
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Some people set their ftp application to make 300 simultaneous connections to the server thinking it will make uploading to the server through their 56k modem 300 times faster.

    These 300 proftp connections cause a higher than normal load on the server.


    /etc/proftpd.conf has this:

    MaxClients 3 "Sorry, this ftp server has reached its maximum user count (%m). Please try again later"

    That isn't working.


    Is there any way to set proftp to only allow 1 connections to the server per ftp username?
     
  2. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    Try This

    Add this line to your /etc/proftpd.conf

    MaxClientsPerUser 2

    This will allow 2 max connections per user at the ftp server.

    Bye! :D
     
Loading...

Share This Page