View Single Post
Old 05-04-2004, 10:25 AM  
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