PureFtpd Connections block

Kevin Jaspers

Verified User
Joined
Jan 23, 2012
Messages
64
Hello,

One of my constumers are expering problems with his ftp.
When he has alot of connections my server blocks his ip.

So, is this normal ?

Can i allow more connections for pureFtpd without directly blocking because to many connections?

Greets,
Kevin
 
You need to edit /etc/init.d/pure-ftpd file and change "-C 4" to your desired value, don't forget to restart pure-ftpd service after the changes.

http://download.pureftpd.org/pub/pure-ftpd/doc/README said:
- '-C <max connection per ip>': Limit the number of simultanous connections coming from the same IP address. This is yet another very effective way to prevent stupid denial of services and bandwidth starvation by a single user.It works only when the server is launched in standalone mode (if you use asuper-server, it is supposed to do that) . If the server is launched with'-C 2', it doesn't mean that the total number of connections is limited to 2.But the same client, coming from the same machine (or at least the same IP),can't have more than two simultaneous connections. This feature needs somememory to track IP addresses, but it's recommended to use it.
 
Back
Top