Old 05-22-2003, 08:07 PM   #31
Superblue
Member
ioFTPD Registered User
 
Join Date: May 2003
Posts: 78
Default

1.0.3 works great for me, nice work!
Superblue is offline   Reply With Quote
Old 05-23-2003, 06:42 PM   #32
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default ioFTPD SiteKill 1.0.5

Yes we are already a bit further.

1.0.5:Fixes - idle could also kick long up and downloads
Added:sitekill uid and sitekill gid these are treted like numbers.
Fixed:Long user list displayed when a connection in ioFTPD is invalid (uid=-1)
Fixed:uid=-1 and other weird connections are now handled properly. A warning is being made that uid xxx or gid xxx can not be found.
FTPServerTools is offline   Reply With Quote
Old 05-24-2003, 04:46 AM   #33
pwet
Junior Member
 
Join Date: May 2003
Posts: 4
Default

really nice script bro

perhaps someone could make a public irc command which can kick idlers on site

<X>!killidlers
<Bot> Done, 2****in idlers killed



sorry i m noob with tcl scripting
pwet is offline   Reply With Quote
Old 05-25-2003, 02:55 PM   #34
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

bind pub - !killidlers killidlers

proc killidlers {nick uhost hand chan args}
{
[exec -- "c:\\ioftpd\\scripts\\sitekill" "idle>120" "service=ftp"]
}

If I didnt make any typos.... (untested)...

But why would you? Use the scheduler instead....
FTPServerTools is offline   Reply With Quote
Old 05-25-2003, 03:56 PM   #35
m0B
Member
 
Join Date: May 2003
Posts: 40
Default

I dont use the schelduler anymore, it just wont work ok..

Using it a couple of days users start to complain that they are getting dropped while FXPing or Leeching, and Im not around to catch when it exactly happends.. So u should add some sort of debug.log..

So I disable it, and users stop get kicked off while FXPing or Leeching..

So I dunno if I dare to use in in schelduler, somehow I always get troubles..
m0B is offline   Reply With Quote
Old 05-26-2003, 03:16 AM   #36
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

There is debugging. But you will have to find yourself when it happens.
Then run sitekill debug "idle>120" etc...

Yet be aware 1.0.4 indeed had a bug in which it kicked people that were doing a long down or upload. That is fixed in 1.0.5

I havent been able to test with 4.9.0 yet, since It isnt in my mailbox (yet......)
FTPServerTools is offline   Reply With Quote
Old 05-27-2003, 11:54 AM   #37
TaNiZi0
Junior Member
 
Join Date: May 2003
Posts: 4
Default

Don't work

I'm using 4.9.3u and sitekill 1.0.5 and... WinXP SP1

1 user login ("edu") with 5min idle

>SiteKill.exe debug "user=edu"
Password_File=..\etc\passwd
Group_File=..\etc\group
Totally 0 connections kicked

>SiteKill.exe debug "idle>10"
Password_File=..\etc\passwd
Group_File=..\etc\group
Totally 0 connections kicked

site kill debug user=edu
200-Password_File=..\etc\passwd
200-Group_File=..\etc\group
200-Totally 0 connections kicked
200 Command Successful.

site kill debug idle>10
200-Password_File=..\etc\passwd
200-Group_File=..\etc\group
200-Totally 0 connections kicked
200 Command Successful.

TaNiZi0 is offline   Reply With Quote
Old 05-28-2003, 03:28 AM   #38
Vampirix
Junior Member
 
Join Date: May 2003
Posts: 19
Default

tanizio it does the same think with a friend of mine which uses Win 2k... i hope this wonderful tool could be used on win 2k too =)
Vampirix is offline   Reply With Quote
Old 05-28-2003, 09:21 AM   #39
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default SiteKill 1.0.6

1.0.6:added:error is returned in debug mode if io doesnt give a shared memory block (it shouldnt occur normally).
fixed:forgot to initialize a variable


And yes you can use it on win2k provided you use 4.6.2 patched or the new ioftpd.

And that what you described with 1.0.5 should be working now..
FTPServerTools is offline   Reply With Quote
Old 07-09-2003, 09:12 AM   #40
Popop56
Junior Member
 
Join Date: Jul 2003
Posts: 2
Default

OS : WIN 2k SP3

Quote:
c:\ioFTPD\scripts\sitekill.exe debug "user=Popop56"
ioFTPD window can not be found
SiteKill script need open ioFTPD window ?
Popop56 is offline   Reply With Quote
Old 07-10-2003, 03:44 AM   #41
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

sitekill needs to find ioftpd and it does so by finding its window. If the windo can not be found then ioftpd isnt running.
FTPServerTools is offline   Reply With Quote
Old 08-14-2003, 08:53 AM   #42
MrManc
Junior Member
ioFTPD Registered User
 
Join Date: Aug 2003
Posts: 15
Default

I get an error when doing

SiteKill.exe "idle>120" service=FTP_Service

from a cmd window

SiteKill.exe - Entry Point Not Found

The procedure entry point Proccess32Next could not be located in the dynamic link library Kernel32.dll

Using winnt 4 and ioFTPD-beta4-9-4u

Thanks for any help
MrManc is offline   Reply With Quote
Old 08-14-2003, 08:05 PM   #43
Razor
Member
 
Join Date: Mar 2003
Posts: 75
Default

i made a !kickidlers cmd

works fine

just ported the cmd to ftp

and it announces the reply in irc

like

(xXx): Kicked: **** *@*
(xXx): Kicked: *** *@*
(xXx): Kicked: Razor *@*
(xXx): Totally 3 connections kicked

as u see it gives the ip's also.. people dont like there ip in iRC :|

any way to make it just Kicked: Nick

no ip?
Razor is offline   Reply With Quote
Old 08-19-2003, 04:46 AM   #44
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
Default

Quote:
SiteKill.exe - Entry Point Not Found

The procedure entry point Proccess32Next could not be located in the dynamic link library Kernel32.dll
This error is correct I think. Process32Next doesnt exist in Kernel32.dll. I would have to recompile SiteKill seperately for Win NT4. But since win NT4 is no longer supported by microsoft and since everyone seems to be running win2K/9X/XP/2k3 I didnt bother. NT4 is SLOW so to be honest I advise to update your OS.
The routine is used to find ioFTPD in the task list and extract its current path. As you may have noticed, sitekill actually find the users and groups directories all by itself, no ini file is needed. Aint that cute?
When I investigated the dll's from NT4 I couldnt find a Process32Next contrary to the microsoft claims:

Requirements
Windows NT/2000/XP: Included in Windows 2000 and later.
Windows 95/98/Me: Included in Windows 95 and later.
Header: Declared in Tlhelp32.h.
Library: Use Kernel32.lib.

Thus I conclude that this isnt possible. I dont have a usefull NT4 so recompiling it is not really an option. Anyway thatnks for showing it, now I can say it is not supported by NT4 since NT4 doesnt support this call, as Win9X,Win2K,WinME,Win2k3,WinXP and even WinCE do.
FTPServerTools is offline   Reply With Quote
Old 08-19-2003, 05:08 AM   #45
MrManc
Junior Member
ioFTPD Registered User
 
Join Date: Aug 2003
Posts: 15
Default

hehe,

ok thanks for looking into it
the box owner is stubbern and won't update, but bought myself a registered copy of io now, to fix the idle problems i was having

MrManc
MrManc 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 12:49 PM.

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