10-11-2003, 06:18 PM
|
#16
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Sep 2002
Posts: 543
|
ioFTPD SiteKill 2.0.3
Fixed:BADWHAT comparison result for a number
Changed:added idle as synonym to idletime.
Have fun with it.
Shouldnt this topic be sticky??
|
|
|
10-11-2003, 06:57 PM
|
#17
|
Member
ioFTPD Foundation User
Join Date: Jun 2003
Posts: 86
|
big thx man it works perfect
|
|
|
10-11-2003, 08:10 PM
|
#18
|
Junior Member
ioFTPD Foundation User
Join Date: Oct 2003
Posts: 20
|
ran the newest one... crashes ioftpd after a few tests .. no error.. just cant connect to ftp .. and got to restart io .... It doesnt happen all the time, just after a few times of testing... as well:
when I do this: site kill user!=sitebot "idletime>30" .... shouldnt that NOT kill the site bot AND kill any person idling over 30 seconds
but it doesnt... it doesnt kill the sitebot.. but kills everypone else, no matter if their idletime was 2 seconds ... "idle>30" also doesnt work
|
|
|
10-12-2003, 04:26 AM
|
#19
|
Member
ioFTPD Foundation User
Join Date: Jun 2003
Posts: 86
|
site kill debug group!=Admin "idletime>60" service=FTP_Service
200-Connection 0 uid=103 gid=102 Username=test
Groupname=Test
200-CompareString:group!=Admin result:0
200-TimesToKill=-1 compare:group!=Admin ArgumentResult=EQ, TotalResult=1
200-Final compare result of all arguments EQ
200-Kicked: test *@127.0.0.1
200-CompareNumber:idletime>60 result:316744
200-TimesToKill=-2 compare:idletime>60 ArgumentResult=EQ, TotalResult=1
200-Final compare result of all arguments EQ
200-Kicked: test *@127.0.0.1
200-CompareString:service=FTP_Service result:1
200-TimesToKill=-3 compare:service=FTP_Service ArgumentResult=EQ, TotalResult=1
200-Final compare result of all arguments EQ
200-Kicked: teste *@127.0.0.1
200-Connection 1 uid=101 gid=101 Username=kraxdaz Groupname=Admin
200-CompareString:group!=Admin result:1
200-TimesToKill=-4 compare:group!=Admin ArgumentResult=NEQ, TotalResult=1
200-Totally 3 connections kicked, due to:group!=Adminidletime>60service=FTP_Service
200 Command Successful.
when i execute site kill debug group!=Admin "idletime>60" service=FTP_Service
it kick teste after 11seconds idle
it is similar with site kill debug group!=Admin "idle>60" service=FTP_Service
but not kill me on group admin (normal)
and he said 200-Totally 3 connections kicked, due to:group!=Adminidletime>60service=FTP_Service
but there is only one connection kicked (test)
thx in advance
|
|
|
10-12-2003, 05:34 PM
|
#20
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Sep 2002
Posts: 543
|
I cant get it to crash, please find me a way to do that and describe how you do it. The other thing I found but I want to include that crash fix.
|
|
|
10-12-2003, 05:48 PM
|
#21
|
Junior Member
ioFTPD Foundation User
Join Date: Oct 2003
Posts: 20
|
I will run a few more tests in debug.. see if i can notice anything... Sometimes I need to restart ioftpd after testing this a few times...
Will post back in a few mins...
|
|
|
10-12-2003, 06:19 PM
|
#22
|
Junior Member
ioFTPD Foundation User
Join Date: Oct 2003
Posts: 20
|
OK. Well I cant get any info in debug mode...
It doesnt really crash ... just wont let this user log in as follows:
1. sitebot is logged in...
2. In one Flash FXP i have a user called load logged in ... under my ip. In the other window of flash fxp I have my siteop logged in called rage.
3. in another flash fxp I have rage logged in again.
now I wait a bit doing site who's with the siteop rage in the 3rd one above... then after it gets to about 40 seconds idletime for users above I do: site kill user!=sitebot "idletime>30"
It will kill the 2 rage connections .... as well as the load connection .... and leave the sitebot online ....
Then if i do this: connect with 1 rage.. then the load connection... both will connect .. but THE THIRD connection will not come back...
its hard to explain.... if you come on irc, I can give u a better explanation, maybe u can radmin in and I can show u exactly what happens.... nick is rage2001 or rage2002 in #ioftpd ot iobanana
|
|
|
10-13-2003, 05:38 AM
|
#23
|
Senior Member
FlashFXP Registered User ioFTPD Registered User
Join Date: Jul 2002
Posts: 221
|
sitekill now works a "little" to good for me, even I get kicked out after set time !
How to I change so me and others on site with "1M" can idle how long we want , meanÃ*ng , so "1M" are NOT included by "KillIdlers = 0,5,10,15,20,25,30,35,40,45,50,55 * * * ..\scripts\ioFTPD_SiteKill\SiteKill.exe "idletime>120" service=FTP_Service service=FTP_Service2" ?
|
|
|
10-13-2003, 08:05 AM
|
#24
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Sep 2002
Posts: 543
|
I'm busy on the update and have found the idle error.
You can use flags!=*1M* for example.. But due to the idle error you would get killed also (wrongly so). Bare with me I'm busy on the update.
|
|
|
10-13-2003, 08:29 AM
|
#25
|
Senior Member
FlashFXP Registered User ioFTPD Registered User
Join Date: Jul 2002
Posts: 221
|
oki, I´ll wait
|
|
|
10-13-2003, 08:55 AM
|
#26
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Sep 2002
Posts: 543
|
Quote:
2.0.4:Fixed:user!=y idle>x kicked wrongly.
Fixed:upload time was wrong
Changed:logintime is now back to normal, so you can kick everyone logged in for x seconds or more
Added:login for ascii representation so you can kick everyone logged in according to a wildcard date/time setting
|
New examples:
sitekill "logintime>3600" - kill everyone logged in for more then an hour
sitekill login=????????08???? - kill everyone at 08:00:00 to 08:59:59
|
|
|
10-13-2003, 09:20 AM
|
#27
|
Member
Join Date: Sep 2002
Posts: 87
|
running site kill debug kills every single connection without a kick message
|
|
|
10-13-2003, 10:00 AM
|
#28
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Sep 2002
Posts: 543
|
Which is correct. If I say:
kill "idle>100" I actually say kill ALL users with idle>100
Thus if I remove "idle>100" then kill ALL users simply remains.
|
|
|
10-13-2003, 02:33 PM
|
#29
|
Junior Member
ioFTPD Foundation User
Join Date: Oct 2003
Posts: 20
|
Well the new version I dont seen to be crashing ... I dunno .. as long as it isnt happening anymore its fine with me... Thanks for the awesome script....
This works perfect:
site kill groups!=SiTEOP groups!=nukers "idletime>30"
But i have a question ... under [Scheduler], i do not have the EXEC commands... so i was curious will this work below, along with ALL those group and idletime commands there???
KillIdlers = 0,5,10,15,20,25,30,35,40,45,50,55 * * * ..\scripts\SiteKill.exe groups!=SiTEOP groups!=nukers "idletime>120" service=FTP_Service
Thanks
rage
|
|
|
10-13-2003, 02:59 PM
|
#30
|
Member
ioFTPD Foundation User
Join Date: Jun 2003
Posts: 86
|
thx to u FTPServerTools it works good
|
|
|
Thread Tools |
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:36 PM.
|