Thread: problems
View Single Post
Old 12-10-2005, 10:48 AM  
uglycut
Junior Member
 
Join Date: Dec 2005
Posts: 7
Default

MY IOFTPD.INI

Code:
[Threads]
Process_Priority	= NORMAL	# Suggested process base priority (Idle/Normal/High/Realtime)
Io_Threads		= 2		# Number of io threads
Worker_Threads		= 1		# Number of worker threads 
Worker_Fibers		= 50		# Initial number of fibers
Encryption_Threads	= 2		# Number of encryption threads


[File]
MessageCache_Size	= 1000		# Amount of message files to cache
DirectoryCache_Size	= 1000		# Amount of directories to cache per cache bucket (8 buckets)
Device_Concurrency	= 5		# Maximum simultanous io operations per device
Upload_PreAllocation	= 0		# 


[Locations]
User_Id_Table   = ..\etc\UserIdTable
Group_Id_Table  = ..\etc\GroupIdTable
Hosts_Rules     = ..\etc\Hosts.Rules

User_Files      = ..\users
Group_Files     = ..\groups
Log_Files	= ..\logs
Cache_Files	= ..\cache

Default_Vfs     = ..\etc\default.vfs
Environment     = ..\etc\ioftpd.env



##################### DEVICES ########################
##
#
# [Device Name]
# Host   = <Host/IP>         # External host. Address shown to clients. (0.0.0.0 = any local ip)
# Ports  = <Begin-End>       # Ports to use for data transfers. May contain comma seperated list of port ranges.
# Random = <True/False>      # Use ports in random order
# Bind   = <Host/IP>         # Internal host. If specified, connections are bound to this address instead of HOST.
#
# Global_Inbound_Bandwidth  = <kB/s>  # Limit overall inbound speeds
# Global_Outbound_Bandwidth = <kB/s>  # Limit overall outbound speeds
# Client_Inbound_Bandwidth  = <kB/s>  # Limit client inbound speeds
# Client_Outbound_Bandwidth = <kB/s>  # Limit client outbound speeds
#


[Any]
Host				= 0.0.0.0
Ports				= 1024-2048
Random				= True
;Global_Inbound_Bandwidth	= 10000
;Global_Outbound_Bandwidth	= 10000
;Client_Inbound_Bandwidth	= 100          [*registered version*]
;Client_Outbound_Bandwidth	= 50           [*registered version*]
;Bind				= 



################## END OF DEVICES ####################



##################### SERVICES #######################

[bEaTbOx]
Type                    = FTP
Device_Name             = Any
Port                    = 1111
Description             = My FTP Service
User_Limit              = 10
Allowed_Users           = *
Messages                = ..\text\ftp

### Encryption ###
#
Require_Encrypted_Auth  = !*
Require_Encrypted_Data  = !*
Certificate_Name        = 192.168.1.10
Explicit_Encryption     = True
Encryption_Protocol     = SSL3
Min_Cipher_Strength     = 128
Max_Cipher_Strength	= 256

### IDNT command handler ###
#
Get_External_Ident      = True

### Traffic Balancing ###
#
;Data_Devices            =
;Random_Devices          = True


[Telnet_Service]
Type                    = Telnet
Device_Name             = Any
Port                    = 10001
Description             = My Telnet Service
User_Limit              = 10
Allowed_Users           = T !*
Messages                = ..\text\telnet



[HTTP_Service]
Type                    = HTTP
Device_Name             = Any
Port                    = 10000
Description             = My HTTP Service
User_Limit              = 50
Allowed_Users           = H !*
Messages                = C:\io\ioFTPD\text\http
;Certificate_Name        = 192.168.1.10
;Explicit_Encryption     = False
;Encryption_Protocol     = SSL3
;Min_Cipher_Strength     = 128
;Max_Cipher_Strength     = 384


################## END OF SERVICES ###################



[Network]
Active_Services            = bEaTbOx

Ident_Timeout              = 5          # Set ident timeout (seconds)
Hostname_Cache_Duration    = 1800       # Seconds cached hostname is valid
Ident_Cache_Duration       = 120        # Seconds cached ident is valid
Connections_To_Ban         = 1000000         #
Ban_Counter_Reset_Interval = 30         #
Temporary_Ban_Duration     = 1200       # Seconds host remains banned
Internal_Transfer_Buffer   = 65536      # Internal transfer buffer size
Scheduler_Update_Speed     = NORMAL     # Socket scheduler update speed (HIGH/NORMAL/LOW/DISABLED)



[Ftp]
Idle_TimeOut		= 120
Login_Attempts		= 3
Login_TimeOut		= 15
Socket_Send_Buffer	= 4096
Socket_Recv_Buffer	= 1024
DataSocket_Nagle	= False
Transfer_Buffer		= 65536 # For maximum scalability, set Transfer & DataSocket buffers to to low values
DataSocket_Send_Buffer	= 32864
DataSocket_Recv_Buffer	= 32864


[Telnet]
Idle_TimeOut		= 120
Login_TimeOut		= 15
Socket_Send_Buffer	= 4096
Socket_Recv_Buffer	= 1024


[Http]
Keep_Alive		= 180
Max_Memory_Content	= 1024000 # Maximum bytes of GET/PUT/POST/HEAD content to cache in memory
;Socket_Send_Buffer	= 16384
;Socket_Recv_Buffer	= 16384


[Sections]
## Maximum of 10 different credit sections ##
#
# <alias> = <credit section #> <path>
# <alias> = <credit section #> <stats section #> <path>
#

Home    = 0 1 /home/*
Default = 0 *


[VFS]
###
# Default attributes for files & directories
#
# Required Parameters:  <filemode> <owner uid>:<owner gid>
#

Default_Directory_Attributes    = 755 0:0
Default_File_Attributes         = 644 0:0


###
# Command specific rules
#
Modify_Stats_On_Delete  = False


###
# Detailed permissions for directories
#
# priviledge    = <virtual path> <rights>
#
Upload          = * *
Resume		= * *
Download	= * *
MakeDir         = * *
RemoveOwnDir    = * *
RemoveDir       = * 1VM
Rename		= * 1VM
RenameOwn       = * *
Overwrite       = * 1VM
Delete		= * 1VM
DeleteOwn	= * *
NoStats         = * =lSpeed !*


[Reset]
WeeklyReset     = Sunday
MonthlyReset    = 1st


[Scheduler]
###
# Scheduler
#
# Event = <minutes> <hours> <day of month> <day of week> Command
#
# Internal Commands:
#
# &Reset          : Resets upload/download counters
# &Service_Update : Reloads devices and Restarts services, if bind ip of service has changed
#
Reset           = 0 0 * *               &Reset
Service_Update  = 10,30,50 * * *        &Service_Update
Newday 		= 0 0 * * EXEC ..\scripts\ioA\ioA.exe NEWDATE
DayStats 	= 55 23 * * TCL C:\io\ioFTPD\scripts\ioBanana\ioSTATS.itcl DAYSTATS
Spider 		= 0 3 * * TCL C:\io\ioFTPD\scripts\ioBanana\ioSC.itcl SPIDER
AutoNuke 	= 0,10,20,30,40,50 * * * TCL C:\io\ioFTPD\scripts\ioBanana\ioAUTONUKE.itcl



[Events]
;OnUploadError		=
;OnUploadComplete	= EXEC d:\test.bat
;OnUploadComplete	= TCL ..\scripts\test2.itcl
;OnDownloadError	=
;OnDownloadComplete	=
;OnResume		=
;OnUpload		=
;OnNewDir		=
;OnDelDir		=
;OnLogIn		=
;OnServerStart		=
;OnServerStop		=
;OnServiceStart		=
;OnServiceStop		=
OnFtpLogIn 		= EXEC ..\scripts\ioA\ioA.exe logon
OnUploadComplete 	= TCL C:\io\ioFTPD\scripts\ioBANANA.itcl
OnUploadError 		= TCL C:\io\ioFTPD\scripts\ioERROR.itcl



[Modules]
;MessageVariableModule  = ..\modules\cookie.dll
;UserModule             = ..\modules\networkuser.dll
;GroupModule            = ..\modules\networkgroup.dll
;EventModule		= ..\modules\eventmodule.dll




[FTP_Pre-Command_Events]
;list =
;stor =
mkd = TCL C:\io\ioFTPD\scripts\ioBanana\ioDUPE.itcl PREMKD

[FTP_Post-Command_Events]
;mkd  =
;rmd  =
;stor =
;dele =
cwd   = TCL C:\io\ioFTPD\scripts\ioBanana\ioRULES.itcl CWD
dele  = TCL C:\io\ioFTPD\scripts\ioBanana\ioPOSTDEL.itcl
mkd   = TCL C:\io\ioFTPD\scripts\ioBanana\ioDUPE.itcl POSTMKD
rmd   = TCL C:\io\ioFTPD\scripts\ioBanana\ioDUPE.itcl
uglycut is offline   Reply With Quote