LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Proftpd logins and timeouts (https://www.linuxquestions.org/questions/linux-server-73/proftpd-logins-and-timeouts-723847/)

cshelswell 05-05-2009 08:08 AM

Proftpd logins and timeouts
 
Hi I've got an irritating problem with proftd. It's all working but for some reason it logs you out really quickly when not doing anything. Also if it does log you out it when you try and change folder it logs you in for that then if you want to upload it logs in again. Lastly it's not exactly snappy logging in. Anyone have any ideas what it could be? I'm not too hot on linux so struggling a bit. Oh its a centos box

Cheers

druuna 05-05-2009 08:18 AM

Hi,

proftpd has a few option that control timeouts:

TimeoutIdle -- Sets the idle connection timeout
TimeoutLogin -- Sets the login timeout
TimeoutNoTransfer -- Sets the connection without transfer timeout
TimeoutSession -- Sets a timeout for an entire session
TimeoutStalled -- Sets the timeout on stalled downloads

These could be (incorrectly) set or are not set at all.

Take a look here: Proftpd - Configuration Directives for details.

Hope this helps.

cshelswell 05-05-2009 08:35 AM

cheers druuna, I couldn't see any of these in /etc/proftd.conf I take it I can just add them in?

Thanks

druuna 05-05-2009 08:38 AM

Hi,

You can add/change these if you want/need. Do take a look at the default values, if these options are not set in your proftpd.conf, it will fall back to the default values mentioned in the link I provided.

cshelswell 05-05-2009 08:42 AM

Thanks will give it a shot

cshelswell 05-05-2009 09:15 AM

Right added those options and increased the timeouts but it still seems to disconnect way too fast. I'm getting less than a minute before it's off. Are there any more things I can check/change?

Cheers


All times are GMT -5. The time now is 12:51 AM.