Koozali.org: home of the SME Server

Maximum Simultaneous FTP Connections

Offline chaloner

  • ****
  • 73
  • +0/-0
    • http://www.chaloner.ca
Maximum Simultaneous FTP Connections
« 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

Offline mmccarn

  • *
  • 2,657
  • +10/-0
Maximum Simultaneous FTP Connections
« Reply #1 on: June 09, 2007, 03:54:34 PM »
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.

Offline chaloner

  • ****
  • 73
  • +0/-0
    • http://www.chaloner.ca
Maximum Simultaneous FTP Connections
« Reply #2 on: June 10, 2007, 12:22:51 AM »
Thanks a lot for the quick response... I will be testing it out...

Chaloner Hale

Offline chaloner

  • ****
  • 73
  • +0/-0
    • http://www.chaloner.ca
Maximum Simultaneous FTP Connections
« Reply #3 on: June 11, 2007, 05:20:21 AM »
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