Old 05-21-2003, 07:12 AM   #16
Vampirix
Junior Member
 
Join Date: May 2003
Posts: 19
Default

it's a sitekill error (i think) cause it fails when it's run from a dos prompt or as a raw site command...
Vampirix is offline   Reply With Quote
Old 05-21-2003, 09:24 AM   #17
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

sitekill idle=pepe ?? huh??
that would resolve to sitekill idle=0
read = .
Thus it shouldnt kick anyone. The odd thing is that it seems to run fine here.. I'll put another version in here (1.0.1) somewhat later.
Be aware I can only test with win XP SP1.

and idle= would do an exact compare.. Meaning kick all who have idle=0 (this probably everyone downloading etc).
It is "idle>120" that really amazes me since it works good here...
So I think I better add a debug option in there so it can make debug logs. Otherwise it becomes impossible for me to find out why it doesnt work on someone else's machine.
FTPServerTools is offline   Reply With Quote
Old 05-21-2003, 10:05 AM   #18
Superblue
Member
ioFTPD Registered User
 
Join Date: May 2003
Posts: 78
Default

I sent site kill "idle>120" and then it killed everyone..

I'd be happy to do a debug for ya..
Superblue is offline   Reply With Quote
Old 05-21-2003, 10:21 AM   #19
m0B
Member
 
Join Date: May 2003
Posts: 40
Default

This is a problem with sitekill and not the schelduler.
I can have the schelduler disabled and try to do a " site kill "idle120" " and it will kick eveyrone including me..even if I run it from the command prompt does the same thing.
m0B is offline   Reply With Quote
Old 05-21-2003, 12:46 PM   #20
Vampirix
Junior Member
 
Join Date: May 2003
Posts: 19
Default

Look:

Quote:
200-+---------------°----|______________\___|_____|_______|------------------------+
200-| vampirix / xXx | idle 00:00:05 | %: |
200-| Vote ioFTPD for president | since 00:00:06 | p: / |
Now i'll try to kick idlers>120 (there's no one idling except vampirix but he's idle only since 5 secs):

Quote:
D:\Internet\ioFTPD\scripts>SiteKill.exe "idle>120"
Kicked: prova @127.0.0.1
Totally 1 connections kicked
Now I'm disconnected from iO:

Quote:
Connection lost: 127.0.0.1
I'm asking myself why it says "Kicked: prova @127.0.0.1" when prova is not logged in... there's just "vampirix" and the connection killed is the "vampirix" connection not prova which is not connected... maybe this is related with the bug... i dont know =)
Vampirix is offline   Reply With Quote
Old 05-21-2003, 05:25 PM   #21
m0B
Member
 
Join Date: May 2003
Posts: 40
Default

Actually now that u mention it Vampirix..Its the same here..
It kicks me off but in CMD it puts another username, not mine! But it still kicks 127.0.0.1 .. wich is 'me' ..
m0B is offline   Reply With Quote
Old 05-21-2003, 06:04 PM   #22
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default SioFTPD Sitekil 1.0.1

Ok this is some code rewritten and a debug mode.
The debug mode gets activated if you start if with debug as first paramater. So if you say it doesnt work then I need th debug info.
sitekill.exe debug "idle>120" -> runs in debug mode
sitekill.exe "idle>120" ->runs in normal mode
FTPServerTools is offline   Reply With Quote
Old 05-21-2003, 07:03 PM   #23
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default ioFTPD SiteKill 1.0.2

ok thanks to Doc- I got another bug fixed. He confirmed it working for me.. Wonderfull so get it from http://ftpservertools.tripod.com form the download page or just grab the one from this forum.
FTPServerTools is offline   Reply With Quote
Old 05-22-2003, 12:01 AM   #24
Vampirix
Junior Member
 
Join Date: May 2003
Posts: 19
Default

wow i'm trying version 1.0.2 and seems workin very well! very nice job m8, if anything goes wrong i'll re-post something here now i'll go to check it again :P
Vampirix is offline   Reply With Quote
Old 05-22-2003, 12:38 AM   #25
Vampirix
Junior Member
 
Join Date: May 2003
Posts: 19
Default

Quote:
D:\Internet\ioFTPD\scripts>SiteKill.exe debug "idle>180"
Password_File=..\etc\passwd
Group_File=..\etc\group
Connection 0 uid=113 gid=106 Username=prova Groupname=ViP IP=127.0.0.1 Ident=Bre
ndon@127.0.0.1
CompareNumber:idle>180 result:14
TimesToKill=-1 compare:idle>180 ArgumentResult=2, TotalResult=1
Final compare result of all arguments 2
Connection 1 uid=106 gid=103 Username=vampirix Groupname=xXx IP=127.0.0.1 Ident=
Brendon@127.0.0.1
TimesToKill=-1 compare:idle>180 ArgumentResult=0, TotalResult=1
Final compare result of all arguments 1
Kicked: vampirix Brendon@127.0.0.1
Totally 1 connections kicked
As you can see sometimes it skips the "CompareNumber:idle>180 result:sec_idle_on_ioFTPD" and it kills the user
Vampirix is offline   Reply With Quote
Old 05-22-2003, 03:26 AM   #26
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

Yep.. Luckily I made the debug option now I can find it quite quickly. Expect a v1.0.3 to be coming...

It should have said:
Final compare result of all arguments 0 in the last one.
FTPServerTools is offline   Reply With Quote
Old 05-22-2003, 07:37 AM   #27
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default SiteKill 1.0.3

Well that was easy to find with the debug info. Version 1.0.3 should fix that last issue as well.
FTPServerTools is offline   Reply With Quote
Old 05-22-2003, 08:03 AM   #28
Vampirix
Junior Member
 
Join Date: May 2003
Posts: 19
Default

very good now it works fine
great addon =)
Vampirix is offline   Reply With Quote
Old 05-22-2003, 01:35 PM   #29
iXi
Senior Member
ioFTPD Foundation User
 
Join Date: Nov 2002
Posts: 220
Default

moin

ive got a problem with latest version..
i allways geht this msg..
site antiidle
200-SHELL32.DLL routines can not be found
200 Command Successful.
iXi is offline   Reply With Quote
Old 05-22-2003, 07:47 PM   #30
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

Version 1.0.4 should fix that...
FTPServerTools is offline   Reply With Quote
Reply

Tags
connections, download, kick, kicks, speed

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


All times are GMT -5. The time now is 03:47 PM.

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