0

question:

What is the difference between these directive (Proftpd) ?

TimeoutNoTransfer
TimeoutIdle

From the proftpd documentation:

TimeoutNoTransfer: The TimeoutNoTransfer directive configures the maximum number of seconds a client is allowed to spend connected, after authentication, without issuing a command which results in creating an active or passive data connection

TimeoutIdle: The TimeoutIdle directive configures the maximum number of seconds that proftpd will allow clients to stay connected without receiving any data on either the control or data connection

I don't get the difference anyone could explain?

Thanks

Castaglia
  • 3,349
  • 3
  • 21
  • 42
0wn3r
  • 866
  • 1
  • 8
  • 21

2 Answers2

2

TimeOutNoTransfer can only occur after login, as it states there.

TimeOutIdle will occur any time there is no traffic.

adaptr
  • 16,576
  • 23
  • 34
  • Oh ok, but how can a connection being established without login? – 0wn3r Jan 11 '13 at 15:41
  • Where does it say anything about "no login" ? – adaptr Jan 11 '13 at 15:43
  • Oh ok, I've understood now, these directive are pretty the same but the NoTransfer timer start once per session, the Idle timer can start anytime. Is it right? – 0wn3r Jan 11 '13 at 15:45
  • Correct, but for completeness' sake, you can connect to an FTP server without logging in, of course - it's regular TCP. – adaptr Jan 11 '13 at 15:48
  • Could you explain better this last comment? thanks :D you mean a user could start a synchronous connection with an ftp server without type the login? – 0wn3r Jan 11 '13 at 15:50
  • FTP runs over TCP; a TCP session can be established, meaning the end-user connects successfully to the FTP server (and the FTP server will log this fact), but no FTP commands have been sent yet - including LOGIN. – adaptr Jan 11 '13 at 15:53
0

TimeOutIdle means that there is no activity at all. In this case it could happen between any 2 commands. TimeOutNoTransfer means that there is no file transfer.

dr-evil
  • 377
  • 1
  • 5
  • mmh this answer is not the same as adaptr told. You mean that TimeOutNoTrasfer timer could start anytime and not only after the login? Im pretty confused – 0wn3r Jan 11 '13 at 16:34
  • This answer is not correct dude – 0wn3r Jan 11 '13 at 17:10