View Single Post
Old 05-21-2005, 03:55 PM  
Harm
Too much time...
 
Join Date: Jul 2003
Posts: 1,430
Default Re: FXP denial, group changing, etc

Quote:
Originally posted by Yil

3) In order to prevent idling for some users I'm using
noop = !Z *
but it's sorta annoying to see those command not understood messages. Perhaps instead you could add a "noidle" keyword. You could then improve the logic so that people issuing random and pointless noops, pwd, etc could all be ignored when calculating when to apply the idle timelimit...
Actually, I'm using a script that detects all the known idle commands and kicks the user when too many of those have been used. There are no error messages, the user is only disconnected after some time. It's still not perfect and I won't make it public before the .ioFTPD files are fixed since it uses chattr to store the counters, but I would appreciate your feedback on this.
What idle commands have you noticed ? At the moment I'm checking NOOP, LIST (if it's issued from the same directory multiple times), PWD (in the same directory too) and CWD . (the dot is important) but I'm sure there are others.
Harm is offline   Reply With Quote