HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   How to force pure-ftpd to disconnect clients after x hour idle (http://www.howtoforge.com/forums/showthread.php?t=45027)

robertlouwen 16th April 2010 19:05

How to force pure-ftpd to disconnect clients after x hour idle
 
Hello all,

At this moment I login to pure-ftpd with filezilla and stay logged in forever. Example: I log in at 23:00 and go to bed, the next morning ( after 8 hours inactivity ) I am still logged in.

I want to change this behaviour ! After, for example, 1 hour inactivity you get logged out and can only reconnect by submitting username and password again

How do I do this ?

robertlouwen 23rd April 2010 13:29

Anyone ???

RogueCoder 26th April 2010 03:03

You may of considered reading the PureFTPd documentation at http://download.pureftpd.org/pub/pure-ftpd/doc/README

Quote:

- '-I <timeout>': Change the maximum idle time. The timeout is in minutes and defaults to 15 minutes. Modern FTP clients are trying to fool timeouts
by sending fake commands at regular interval. We disconnect these clients
when they are idle for twice (because they are active anyway) the normal
timeout.

RogueCoder 26th April 2010 14:07

Quote:

- '-I <timeout>': Change the maximum idle time. The timeout is in minutes
and defaults to 15 minutes. Modern FTP clients are trying to fool timeouts
by sending fake commands at regular interval. We disconnect these clients
when they are idle for twice (because they are active anyway) the normal
timeout.
Next time, consider reading the documentation.


All times are GMT +2. The time now is 20:32.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.