Forum Moderators: bakedjake

Message Too Old, No Replies

Pure-ftpd Question

errors with multiple logins

         

Amicro

3:21 pm on Sep 30, 2003 (gmt 0)

10+ Year Member



I am currently running Red Hat 7.3 with Pure-ftpd installed as my FTP server. I have multiple connections to the FTP server orginating from one IP (our WAN IP in an office). If we have multiple sessions going when someone tries to login they get this error...

Cannot make connection to host. Too many connections (3) from this IP.

Is there any way to increase the limit for connections from an IP? I've tried to find something in cPanel and have fished through some files but it's like looking for a needle in a haystack. Can anyone provide some insight?

MattyMoose

11:26 pm on Oct 1, 2003 (gmt 0)

10+ Year Member



From the README [pureftpd.org]


- '-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 a
super-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 some
memory to track IP addresses, but it's recommended to use it.