Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-18-2004, 10:50 AM   #1
ddeca
Member
ioFTPD Foundation User
 
Join Date: Aug 2003
Posts: 73
Default [REQ] Anti-Idle Script

Need a little script that blocks those that use CWD, PWD and REFRESH and as IDLE command

noop is already taken care of in ioFTPD.ini

//regards ddeca
ddeca is offline   Reply With Quote
Old 03-18-2004, 06:17 PM   #2
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

maybe u should identify the 'valid' commands instead of the invalid ones... a script could then keep it's own timers, and reset them when the user sends one of those commands, and kick him after x seconds of not sending one of those commands...
Mouton is offline   Reply With Quote
Old 03-18-2004, 07:09 PM   #3
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

good idea....
But that would mean that all the valid commands should have an event.
Isnt there a global ioFTPD event?? I cant seem to find it in the ini file.... If not then by this it is my request for d1.. :0
FTPServerTools is offline   Reply With Quote
Old 03-18-2004, 07:10 PM   #4
ddeca
Member
ioFTPD Foundation User
 
Join Date: Aug 2003
Posts: 73
Default

Thats an idé..

RamRam or someone told me that one could use a pre CWD .
i guess all it has to do is check what the last ( 2 or 3) command was and if those were any of stated then kick..

Just my 5 cents on the mather...

//ddeca
ddeca is offline   Reply With Quote
Old 03-19-2004, 10:21 AM   #5
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

A script can't check what the preceding commands were...
Like RAMRAM said, u'd need to catch all the events that u consider valid.
Mouton is offline   Reply With Quote
Old 04-11-2004, 01:39 PM   #6
MalcolmX
Registered User
 
Join Date: Mar 2004
Posts: 59
Default Re: [REQ]-Anti IDLE dcript

Quote:
Originally posted by ddeca
Need a little script that blocks those that use CWD, PWD and REFRESH and as IDLE command

noop is already taken care of in ioFTPD.ini

//regards ddeca
I found this thread so i might just post my question here instead of starting a new one. My question is about the NOOP command.

Was just wondering about what ddeca said, that NOOP is taken care of in .ioFTPD.ini. Exactly where can i find that? Is it the idle time settings?

EDIT: Sorry, just noticed that my question is slight out of range in this forum, maybe a moderator can move it accordingly?
MalcolmX is offline   Reply With Quote
Old 04-11-2004, 06:26 PM   #7
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

[FTP_Command_Permissions]
noop = 1MN
Mouton is offline   Reply With Quote
Reply

Tags
//regards, command, ddeca, noop, script

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Download grinding to a halt bruceh General Discussion 6 09-07-2004 08:29 AM


All times are GMT -5. The time now is 01:27 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)