Post by Matheus FernandesI was using ftptop (it shows the same as ftpwho, but updates in real
time), and I saw only 2 ips were connected at the same time, there were no other
ips connected.
What I noticed was: (2 ips/hosts connected at same time) when one ip is
uploading something, if the other one tries to send something at that
same time, he gets the 'max hosts reached 3' error. But if the first one
finishes uploading (but stays connected), the second one is 'released'
and can upload with no problem.
Much of this will depend on *exactly* how the FTP clients in question
handle data transfers.
Some FTP clients, for example, will actually use multiple different FTP
sessions to the FTP server. Most times this is done as part of
providing "download/upload acceleration": each separate FTP session
initiates a separate data transfer (upload or download) for a _part_ of
the file in question, and the orchestrating code on the client end
re-assembles everything together.
If the clients you are using behave like the above, then there would be
one FTP session for the login/browsing, and a _separate_ FTP session
which causes the upload/download.
Thus you say you saw 2 different IPs connected. Good. Then you saw
another client is sending something; if that's using another session,
that would be 3 FTP sessions for that user -- hence the MaxHostsPerUser.
The other client, attempting to transfer something at that time (using
a separate FTP sessions) would mean 4 sessions -- exceeding the limit.
This would also explain how, once the first client ends its transfer,
there is an "open slot" for the second client.
Does that make sense?
TJ
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
ProFTPD Users List <proftpd-***@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html