Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: chaloner on June 09, 2007, 04:44:52 AM
-
Hi,
Can anyone tell me if there is a limit on the number of FTP users at any one time? If so, what it may be, and if and how it could be changed?
Thanks, appreciate any advice on this...
Chaloner Hale
email@chaloner.ca
-
The defaults are 40 total connections with a maximum of 4 per client IP address.
Here's a post with more info: http://forums.contribs.org/index.php?topic=37356.0
To change the defaults you'd need to modify /var/service/ftp/run and possibly also /var/service/ftp/peers/0 and /var/service/ftp/peers/local
The ".../run" file is not templated, but the two ".../peers/..." files are.
-
Thanks a lot for the quick response... I will be testing it out...
Chaloner Hale
-
I needed a few more connections from one IP for some IP cameras. For others I provide the small bits if script to modify their ftp needs.
mkdir -p /etc/e-smith/templates-custom/var/service/ftp/peers/local
mkdir -p /etc/e-smith/templates-custom/var/service/ftp/peers/0
echo C10 > /etc/e-smith/templates-custom/var/service/ftp/peers/local/ConcurrencyPerIP
echo C10 > /etc/e-smith/templates-custom/var/service/ftp/peers/0/ConcurrencyPerIP
/sbin/e-smith/expand-template /var/service/ftp/peers/local
/sbin/e-smith/expand-template /var/service/ftp/peers/0
echo "Now edit CONCURRENCYREMOTE and PER_IP_INSTANCES in /var/service/ftp/run"
This seems to work...
Chaloner Hale