Old 05-04-2004, 10:25 AM   #1
Ofloo
Member
 
Join Date: Jun 2003
Posts: 43
Default ioB ban by ip script (pure tcl)

# Commands:
# - site addban <ipaddr> <reason>
# - site delban <ipaddr>
# - site banlist
# - site clearban
# Note:
# - while adding an ip you can use wildcard chars like *
# example 127.0.0.* or *.0.0.* or 127.0.0.1 and so on
# - User with gid 0 is not can not be banned with this ..

install

# [FTP_Post-Command_Events]
# user = %TCL ..\scripts\ioB\ioB.tcl login %[$ip]

# [FTP_Custom_Commands]
# addban = TCL ..\scripts\ioB\ioB.tcl addban
# delban = TCL ..\scripts\ioB\ioB.tcl delban
# banlist = TCL ..\scripts\ioB\ioB.tcl banlist
# clearban = TCL ..\scripts\ioB\ioB.tcl clearban

# [FTP_SITE_Permissions]
# addban = 1M
# delban = 1M
# banlist = 1M
# clearban = 1M
Ofloo is offline   Reply With Quote
Old 05-04-2004, 10:30 AM   #2
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

post scripts in ioftpd.com/scripts/new_script.php
Mouton is offline   Reply With Quote
Old 05-05-2004, 05:33 AM   #3
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default

Looks good
Scripting work is always appreciated.
Would prolly recommended changing name to ioBan or some such but.
ioB is widely used as abbreviation for ioBanana so could create confusion.
EwarWoo is offline   Reply With Quote
Reply

Tags
addban, banlist, delban, scriptsiobiob.tcl, tcl

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 04:55 AM.

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