Wed, 28 Nov 2007, by [EMAIL PROTECTED]: > On Sunday 25 November 2007 12:42:25 Theo v. Werkhoven wrote: > > Sun, 25 Nov 2007, by [EMAIL PROTECTED]: > > > I've opened ports 20, 21 and 1025 to 1029 via SuSEfirewall2 on 10.3. > > > > > > If all the ports are taken is there a way of telling the next user to > > > wait or try again later? As it is it just leaves them wondering and > > > waiting and allowing more users makes the system too slow. > > > > > > Am I correct in assuming it's one port per user? > > > > You're not using the correct way of handling this. > > Use vsftpd's 'max_clients' and 'max_per_ip' parameters to limit the > > number of users. That way excess users get a sensible error when > > they try to connect. > > See vsftpd.conf(5) > > > > > Thanks. Works well. > > Still need one port per connection..
Not possible with FTP. This protocol needs a socket pair for both the Data and the Command channel. For active FTP TCP dest. port 21 and source port 20, for passive FTP dest. port 21 plus a high dest. port. Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 10.3 + Jabber: [EMAIL PROTECTED] Kernel 2.6.22 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
