Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

up vote 2 down vote accepted

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

TimeOutIdle will occur any time there is no traffic.

share|improve this answer
    
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

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.

share|improve this answer
    
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.