Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-04-2005, 02:42 PM   #1
mahen1970
Junior Member
ioFTPD Foundation User
 
Join Date: Nov 2005
Posts: 1
Default configuring IOFTPD on Dynamic Ip

Hi brother

1.needs sample configuration of ioftpd.ini if i am running on dynamic ip either with dydnas.net or any other service provider

2. After starting the ioftpd service i am not able to run the site commands

Attatched sample configuration
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 = anylocalip)
# 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 #######################
[FTP_Service]
Type                    = FTP
Device_Name             = Any
Port                    = 21
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

[Network]
Active_Services            = FTP_Service Telnet_Service HTTP_Service
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

[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 haschanged#
DayStats = 55 23 * * TCL C:\ioFTPD\scripts\ioBanana\ioSTATS.itcl DAYSTATS
Spider = 0 3 * * TCL C:\ioFTPD\scripts\ioBanana\ioSC.itcl SPIDER
AutoNuke = 0,10,20,30,40,50 * * * TCL C:\ioFTPD\scripts\ioBanana\ioAUTONUKE.itcl
[Events]
[Events]
OnUploadComplete = TCL C:\ioFTPD\scripts\ioBanana\ioBANANA.itcl
OnUploadError = TCL C:\ioFTPD\scripts\ioBanana\ioERROR.itcl
[Modules]
;MessageVariableModule  = ..\modules\cookie.dll
;UserModule             = ..\modules\networkuser.dll
;GroupModule            = ..\modules\networkgroup.dll
;EventModule		= ..\modules\eventmodule.dll

[FTP_Pre-Command_Events]
mkd = TCL C:\ioFTPD\scripts\ioBanana\ioDUPE.itcl PREMKD
[FTP_Post-Command_Events]
cwd = TCL C:\ioFTPD\scripts\ioBanana\ioRULES.itcl CWD
dele = TCL C:\ioFTPD\scripts\ioBanana\ioPOSTDEL.itcl
mkd = TCL C:\ioFTPD\scripts\ioBanana\ioDUPE.itcl POSTMKD
rmd = TCL C:\ioFTPD\scripts\ioBanana\ioDUPE.itcl

[FTP_Custom_Commands]
## SITE <trigger> <parameters>#
# trigger       = !file                 # Show file
# trigger       = @string               # Alias
# trigger       = EXEC script.exe       # Execute file.exe
# trigger       = %EXEC script.exe      # Execute file.exe (translate cookies)
# trigger       = TCL script.itcl       # Execute file.itcl
#
## Examples
# welcome       = !..\text\ftp\welcome.msg
# rehash        = @config rehash
# exec          = EXEC ..\scripts\exec.bat
# myinfo        = %TCL ..\scripts\whoami.itcl %[$user]
# cat           = TCL ..\scripts\showfile.itcl
#
#TCL = TCL ..\scripts\test2.itcl
#TCL = TCL ..\scripts\bottalk.itcl
#BAT = EXEC d:\test.bat
#WHO = TCL ..\scripts\BlzBot.itcl
wipe = TCL C:\ioFTPD\scripts\ioBanana\ioDUPE.itcl WIPE
pre = TCL C:\ioFTPD\scripts\ioBanana\ioDUPE.itcl PRE
nuke = TCL C:\ioFTPD\scripts\ioBanana\ioDUPE.itcl NUKE
user = TCL C:\ioFTPD\scripts\ioBanana\ioUINFO.itcl
group = TCL C:\ioFTPD\scripts\ioBanana\ioGINFO.itcl
who = TCL C:\ioFTPD\scripts\ioBanana\ioWHO.itcl WHO
cid = TCL C:\ioFTPD\scripts\ioBanana\ioWHO.itcl CID
rank = TCL C:\ioFTPD\scripts\ioBanana\ioSTATS.itcl RANKS
bstats = TCL C:\ioFTPD\scripts\ioBanana\ioSTATS.itcl STATS
approve = TCL C:\ioFTPD\scripts\ioBanana\ioDUPE.itcl APPROVE
listapproved = TCL C:\ioFTPD\scripts\ioBanana\ioDUPE.itcl LISTAPPROVED
new = TCL C:\ioFTPD\scripts\ioBanana\ioDUPE.itcl SITENEW
dupe = TCL C:\ioFTPD\scripts\ioBanana\ioDUPE.itcl SITEDUPE
undupe = TCL C:\ioFTPD\scripts\ioBanana\ioDUPE.itcl UNDUPE
moverls = TCL C:\ioFTPD\scripts\ioBanana\ioDUPE.itcl MOVERLS
updatelog = TCL C:\ioFTPD\scripts\ioBanana\ioDUPE.itcl UPDATELOG
rescan = TCL C:\ioFTPD\scripts\ioBanana\ioRESCAN.itcl RESCAN
rescanzip = TCL C:\ioFTPD\scripts\ioBanana\ioRESCAN.itcl RESCANZIP
unlock = TCL C:\ioFTPD\scripts\ioBanana\ioRESCAN.itcl UNLOCK
showbanana = TCL C:\ioFTPD\scripts\ioBanana\ioRESCAN.itcl SHOWBANANA
version = TCL C:\ioFTPD\scripts\ioBanana\ioRESCAN.itcl VERSION
uptime = TCL C:\ioFTPD\scripts\ioBanana\ioRESCAN.itcl UPTIME
rules = TCL C:\ioFTPD\scripts\ioBanana\ioRULES.itcl RULES
nfo = TCL C:\ioFTPD\scripts\ioBanana\ioRULES.itcl NFO
free = !..\text\ftp\Free
pack = TCL C:\ioFTPD\scripts\ioBanana\ioPACK.itcl
spider = TCL C:\ioFTPD\scripts\ioBanana\ioSC.itcl SPIDER
update = TCL C:\ioFTPD\scripts\ioBanana\ioSC.itcl UPDATER
update2 = TCL C:\ioFTPD\scripts\ioBanana\ioSC.itcl UPDATER2
botreq = EXEC C:\ioFTPD\scripts\ioA\ioA.exe REQUESTIRC
[Telnet_Binaries]
hello	= EXEC d:\ioFTPD\site\bin\hello.bat
[FTP_Command_Permissions]
[FTP_SITE_Permissions]
## SITE <cmd> ###
# 'M' - MASTER
# 'V' - VFS ADMINISTRATOR
# 'G' - GROUP ADMIN RIGHTS
# 'F' - FXP DENIED (DOWNLOAD)
# 'f' - FXP DENIED (UPLOAD)
# 'L' - SKIP USER LIMIT PER SERVICE
# 'A' - ANONYMOUS
#
user = !A *
group = 1GM
who = !A *
cid = 1M
rank = 1M
bstats = 1M
approve = 1M
listapproved = !A *
new = !A *
dupe = 1MN
undupe = 1MN
moverls = M
updatelog = M
rescan = 1MN
rescanzip = 1MN
unlock = M
version = 1M
uptime = 1M
rules = !A *
nfo = !A *
free = 1M
pack = 1GP
spider = M
update = M
update2 = M
botreq = 1M
[Telnet_Command_Permissions]
adduser		= 1GM
deluser		= 1GM
renuser		= 1M
gadduser        = 1GM
grpadd		= 1M
grpdel		= 1M
grpren		= 1M
kick		= 1GM
kill            = 1M
addip		= 1GM
delip		= 1GM
chmod		= !A *
chown		= MV
chattr		= MV
list		= *
cd		= *
passwd		= *
stats		= *
tagline		= *
swho		= 1MG
chgrp		= 1M
config		= M
uinfo		= 1GM
ginfo           = 1GM
users           = 1GM
groups          = 1GM
shutdown        = M
bans            = 1M
[Telnet_Binary_Permissions]
[Change_Permissions]
admingroup        = 1M
credits           = 1M
flags             = 1M
groupdescription  = 1M
groupslots        = 1M
groupvfsfile      = M
homedir           = 1GM
logins            = 1M
passwd            = 1GM
ratio             = 1GM
stats             = M
tagline           = 1GM
showjobs          = M
speedlimit        = 1M
vfsfile           = M
thanks in advance
Maha
mahen1970 is offline   Reply With Quote
Reply

Tags
download, ftp, fxp, tcl, upload

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 On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:44 PM.

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