Go Back   FlashFXP Forums > > > >

Bug Reports If you discover any bugs that we are not aware of, please post it here so it may be corrected.

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-29-2003, 10:40 AM   #1
MidKnight
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Oct 2001
Posts: 857
Default extemely annoying!

for some reason the server keeps closing down or something, like, when connecting to it, its refused, but if you wait for about 3 minutes it start working again.

This keeps happening between appx 15min to 30min

anyone know what might be happening?
MidKnight is offline   Reply With Quote
Old 04-29-2003, 11:17 AM   #2
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Disable Service_Update scheduler event & make sure that you're running the latest version (4.6.1 or 4.6.2)
darkone is offline   Reply With Quote
Old 04-29-2003, 08:31 PM   #3
MidKnight
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Oct 2001
Posts: 857
Default

is this done by just deleting this line?

Service_Update = 10,30,50 * * * &Service_Update
MidKnight is offline   Reply With Quote
Old 04-29-2003, 08:50 PM   #4
neXus
Member
 
Join Date: Apr 2003
Posts: 47
Default

just write an ; in front of this line
neXus is offline   Reply With Quote
Old 04-29-2003, 08:51 PM   #5
MidKnight
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Oct 2001
Posts: 857
Default

whats the purpose of this line?
MidKnight is offline   Reply With Quote
Old 04-29-2003, 11:06 PM   #6
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

check if your IP has changed
Mouton is offline   Reply With Quote
Old 04-30-2003, 04:01 AM   #7
MidKnight
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Oct 2001
Posts: 857
Default

ok that has seemed to slow it down a bit, but its still doing it. anymore ideas please?
MidKnight is offline   Reply With Quote
Old 04-30-2003, 10:04 AM   #8
Sup3rm4n
Member
 
Join Date: Mar 2003
Posts: 65
Default

try disable your scheduled task one by one and se which one is causing the problem!!
Sup3rm4n is offline   Reply With Quote
Old 05-01-2003, 04:43 AM   #9
MidKnight
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Oct 2001
Posts: 857
Default

i have nothing in scheduled section at all, and its still doing it
MidKnight is offline   Reply With Quote
Old 05-01-2003, 04:53 AM   #10
Sup3rm4n
Member
 
Join Date: Mar 2003
Posts: 65
Default

what isp do you have a what connection??

And what os?
Sup3rm4n is offline   Reply With Quote
Old 05-01-2003, 04:55 AM   #11
MidKnight
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Oct 2001
Posts: 857
Default

w2k3, 10Mbit
MidKnight is offline   Reply With Quote
Old 05-01-2003, 06:15 AM   #12
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

I think more info is needed here.

Please show your devices and services settings (to sort out which ports are used where) and other things that may be relevant. Does your ISP provide you with permanent IP or is it configured by DHCP? Are you using scripts with ioFTPD? In that case.. which ones? What do you mean exactly with "server closes down or something"? Do you get login incorrect (which could be an ident issue) or do you get connection refused? Firewall? Behind router?

Etc. etc.
Zer0Racer is offline   Reply With Quote
Old 05-01-2003, 08:43 PM   #13
MidKnight
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
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
Old 05-02-2003, 11:43 AM   #14
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

Your conf seems OK. Only thing I can think of that may cause problems is the "Ports = 1401-1500". Number of data transfer ports could be low. Those could easily get filled up if not closed properly (fast enough) and/or if many files are transferred at the same time (or many small files after one another). Try setting Ports to 1401-2400.

And also the "MaxUsers = -1" should work, but you never know. Try positive number and see if problem remains.

Last but not least.. Since your setup goes through a router that gets it's IP from DHCP there could a problem when the router updates it's DHCP lease and/or gets new IP. The scheduled task Service_Update is there to cover for such changes. Do you know how often the DHCP lease is renewed? You could try enabling the Service_Update task and setting it to run with closer interval than the DHCP renew. But this should of course not interfere when you connect directly to LAN IP.

You could try running ioFTPD only on your LAN for a few hours (remove the dynamic IP for the [Any]-device) and see if you still get problems with connecting to ioFTPD. If it seems to work OK, it should be some problem with the router. If same problem appears it's something else.

Hmm.. tough one.
Zer0Racer is offline   Reply With Quote
Old 05-02-2003, 08:02 PM   #15
MidKnight
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Oct 2001
Posts: 857
Default

i'll give this a try, thanks for your help
MidKnight is offline   Reply With Quote
Reply

Tags
appx, happening, minutes, start, working

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 04:17 PM.

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