View Single Post
Old 05-01-2003, 08:43 PM  
MidKnight
Senior Member
 
Join Date: Oct 2001
Posts: 857
Default

Static IP. and what i mean by serer closes down is when you try and connection (whether its inet users, or over LAN), the connection is refused, then a few to 5min later its online again.

But remember it can't have anything to do with my inet connection, because i get refused connection when connecting over LAN. it is something in ioFTPD thats doing it

---
[ioFTPD]
Ftp_Login_Attempts = 10
Hide_Tray = False
Cache_Max = 100 # Maximum number of cookie files to cache
Directory_Cache_Max = 5000 # Maximum number of directories to cache
TCL_Pool_Size = 10
Read_Asynchronous = True
Double_Click = https://127.0.0.1:10000/
Process_Priority = High # (Idle/Normal/High/Realtime)
Worker_Thread_Min = 10 # Minimum amount of worker threads
Worker_Thread_Max = 20 # Maximum amount
Worker_Thread_Priority = Normal # (Idle/Lower/Low/Normal/High/Highest/Critical)
Io_Thread_Min = 3 # Io Threads
Io_Thread_Priority = High # (Idle/Lower/Low/Normal/High/Highest/Critical)
LogIn_TimeOut = 15 #
Idle_TimeOut = 300 #


[Locations]
Password_File = ..\etc\passwd
Group_File = ..\etc\group
User_Files = ..\users
Group_Files = ..\groups
Log_Files = ..\logs
Cache_Files = ..\cache

Ftp_Messages = ..\text\ftp
Telnet_Messages = ..\text\telnet
Html_Files = ..\text\http

Permission_DB = ..\etc\ioftpd.db
Default_Vfs = ..\etc\DEFAULT.vfs
Environment = ..\etc\ioftpd.env


##################### DEVICES ########################

##
#
# HOST <Host> = External host. Address that is shown to clients.
# PORTS <Begin-End> = Ports to use for transfers. May contain comma seperated list of port ranges.
# RANDOM <True/False> = Use ports in random order
# BIND <Host> = Internal host. If specified, connections are bind to this address instead of HOST.
#
#


[Any]
##
#
# This device allows connections from any local ip
#

Host = <dynamic host name> (edited this out)
Ports = 1401-1500
Bind = 192.168.0.152

[Nat]
##
#
# This is NAT device example, where External (Internet) Ip is 212.146.42.251 and Internal (Lan) ip is 192.168.1.10
#

Host = <dynamic host name>
Ports = 1401-1500
Bind = 192.168.0.152


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







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

[FTP_Service]
Type = FTP
Listen_Device = Any
Port = 27015
Description = My FTP
MaxUsers = -1
Encryption = TLS
Allowed_Users = *
Req_Encrypted_Auth = !*
Req_Encrypted_Data = !*
Certificate = ..\etc\ioFTPD-rsa.pem
;Get_External_Ident = FALSE
;Data_Devices =
;Random_Devices =

[Nat_FTP_Service]
Type = FTP
Listen_Device = Nat
Port = 27015
Description = My FTPP
MaxUsers = -1
Encryption = TLS
Allowed_Users = *
Req_Encrypted_Auth = M !*
Req_Encrypted_Data = !*
Certificate = ..\etc\ioFTPD-rsa.pem
;Data_Devices =
;Random_Devices =

[Telnet_Service]
Type = Telnet
Listen_Device = Any
Port = 10001
Description = My Telnet Service
Allowed_Users = T !*
MaxUsers = 10


[HTTP_Service]
Type = HTTP
Listen_Device = Any
Port = 10000
Description = My HTTP Service
Allowed_Users = H !*
MaxUsers = 50
Encryption = SSL
Certificate = ..\etc\ioFTPD-rsa.pem


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





[Network]
Services = FTP_Service Telnet_Service HTTP_Service

Nagle = False # Enable/Disable TCP Nagle algorithm
Ident_Lookup = True # Enable/Disable ident lookup (RFC1413)
Ident_Timeout = 15 # Set ident timeout
Hostname_Lookup = True # Hostname reverse lookup

Identity_Cache_Validity = 1800 # Seconds cached identity is valid
Suggested_Identity_Cache_Size = 256 # Maximum cached identities

Ftp_Send_Buffer = 16384 # FTP Data send buffer size
Ftp_Receive_Buffer = 16384 # FTP Data receive buffer size
Max_Send_Size = 65536 # Max bytes to send at once
Internal_Transfer_Buffer = 65536 # Internal transfer buffer size




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

MAGATOK = 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 = /-=Upload=-/* *
Upload = /-=Requests=-/* *
Resume = * *
Download = /-=Upload=-/MidKnight/* *
Download = /-=Upload=-/* M !*
Download = * *
MakeDir = /-=Upload=-/* *
MakeDir = /-=[Requests]=-/* *
RemoveDir = /-=Upload=-/* *
RemoveDir = /-=Requests=-/* *
Rename = * 1VM
RenameOwn = * *
Overwrite = * VM
Delete = /-=Upload=-/* *
Delete = /-=[Requests]=-/* *
Delete = * !*
DeleteOwn = * *


[Reset]
WeeklyReset = Monday
MonthlyReset = 1st


[Scheduler]
###
# Scheduler
#
# Event = <minutes> <hours> <day of week> <day of month> 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


[Events]
;OnUploadError = c:\progra~1\ioFTPD\scripts\FTPLogger.exe
OnUploadComplete = c:\progra~1\ioFTPD\scripts\FTPLogger.exe
;OnResume =
;OnUpload =
;OnFtpNewDir = ..\scripts\newdir\newdirlog.itcl
;OnFtpDelDir =
OnFtpLogIn = ..\ioA\ioA.exe logon
;OnTelnetLogIn =
;OnHttpLogIn =
;OnServerStart =
;OnServerStop =



[Pre]
;stor = ..\scripts\newdir\banfile.itcl
;mkd = ..\scripts\newdir\bandir.itcl
;mkd = ..\scripts\premkd.itcl



[Post]
;mkd =
;rmd =
;stor =
;dele =



[Scripts]
## SITE <script> <parameters>
#
# !file = Show file
# @string = Alias
# %file = Execute file (translate cookies)
# file = Execute file
#
NEW = ..\scripts\newdir\newdir.itcl
HELP = !..\help\help.msg
CHANGELOG = !..\changelog
#TEST = ..\scripts\test.itcl
TEST = ..\scripts\test.bat
WKUP = @stats wkup
nuke = ..\ioA\ioA.exe nuke
unnuke = ..\ioA\ioA.exe unnuke
nukes = ..\ioA\ioA.exe nukes
unnukes = ..\ioA\ioA.exe unnukes
request = ..\ioA\ioA.exe request
reqfilled = ..\ioA\ioA.exe reqfilled
reqdel = ..\ioA\ioA.exe reqdel
pre = ..\ioA\ioA.exe pre
invite = ..\ioA\ioA.exe invite
newdate = ..\ioA\ioA.exe newdate
ioaver = ..\ioA\ioA.exe ioaver
msg = ..\ioA\ioA.exe msg
wipe = ..\ioA\ioA.exe wipe
give = ..\ioA\ioA.exe give
take = ..\ioA\ioA.exe take
search = ..\ioA\ioA.exe search
rescan = ..\ioA\ioA.exe rescan
rescanall = ..\ioA\ioA.exe rescanall
onel = ..\ioA\ioA.exe onel
sfv = ..\ioA\ioA.exe sfv
size = ..\ioA\ioa.exe size
syslog = ..\ioA\ioa.exe syslog
errlog = ..\ioA\ioa.exe errlog
cmdlog = ..\ioA\ioa.exe cmdlog
weekly = ..\ioA\ioa.exe weekly

[Ftp-Permissions]
## SITE <cmd> ##
#
# 'M' - MASTER
# 'V' - VFS ADMINISTRATOR
# 'G' - GROUP LOCK (Administrator with this flag, can only edit users in his primary group)
# 'F' - FXP DENIED (DOWNLOAD)
# 'f' - FXP DENIED (UPLOAD)
# 'L' - SKIP MAX USERS PER SERVICE CHECK
#
#
new = !A *


[Ftp-SITE-Permissions]
adduser = 1GM
renuser = 1M
deluser = 1GM
gadduser = 1GM
grpadd = 1M
grpdel = 1M
grpren = 1M
grpnfo = 1M
renuser = 1M
kick = 1M
addip = 1GM
delip = 1GM
tagline = !A *
passwd = !A *
chgrp = 1M
who = !A *
chown = MV
chmod = !A *
config = M
uinfo = 1GM
users = 1GM
invite = *
ioaver = 1M
sfv = 1M
msg = *
newdate = 1M
nuke = 1M
nukes = *
unnuke = 1M
unnukes = *
request = *
reqfilled = *
pre = M
wipe = 1MV
take = 1MV
give = 1MV
search = *
rescan = 1MVS
rescanall = 1MVS
onel = *
size = 1M
syslog = 1M
errlog = 1M
cmdlog = 1M
weekly = 1MV

[Change-Permissions]
admingroup = 1M
ratio = 1GM
vfsfile = M
flags = 1M
credits = 1M
passwd = 1GM
stats = M
homedir = 1GM
tagline = 1GM
groupslots = 1M
groupdescription = 1M
groupvfsfile = M



[Telnet-Permissions]
adduser = 1GM
renuser = 1M
deluser = 1GM
gadduser = 1GM
grpadd = 1M
grpdel = 1M
grpren = 1M
grpnfo = 1M
renuser = 1M
kick = 1M
addip = 1GM
delip = 1GM
tagline = *
passwd = *
stats = *
chgrp = 1M
config = M
putlog = MT
uinfo = 1GM
who = *


[Http-Permissions]
users = 1GM
uinfo = 1GM
addip = 1GM
delip = 1GM
config = M
MidKnight is offline   Reply With Quote