PDA

View Full Version : 5.5.4


darkone
01-15-2004, 02:05 AM
Tcl:
-Change: Amount of pooled tcl interpreters is hardcoded to 5per worker thread
-Fix: Tcl implementation should finally be stable
All:
-Change: Optimized using profiler (work in progress)

Pichento
01-15-2004, 03:20 AM
Hiya d1.

Once again thanks for the work you put into ioFTPD. I've found a problem with 5.5.4 tho: It hangs on list.

I'm running two services: One through a bnc and one direct connection.

First one is just fine, but when you connect to the second one (direct) it just hangs on dir list. 5.5.3 (and all previews builds)does not exibit this behaviour.

Any clues to what might be wrong?

NalgeNunc
01-15-2004, 04:53 AM
Hi darkone,

thanks for the work you put into ioFTPD.

I can confirm the list-bug using newest Staff-FTP (http://staff-ftp.is.dreaming.org) with direct SSL connections, no matter if in passive or active mode. DirListing via "STAT -al" is working.

"LIST" & "LIST -al" is working in older FlashFXP version with or without SSL. Also works in TotalCommander for me.

NLST in Windows FTP-Client is also working.

Maybe there's something bogus in Staff-FTP. What client ur using Pichento?


Have phun

-=DoBBeR=-
01-15-2004, 05:48 AM
confirmed, hangs here too on List and List -al

Pichento
01-15-2004, 05:48 AM
I tried with both ffxp 2.2.959 (alpha) and Total Commander. Neighter would list. (stat -l works)

darkone
01-15-2004, 01:39 PM
I'm using ffxp 956 myself, and don't have any problems with listing. Does it hang on the first time you login to the site, or just randomly?

Mr_X
01-15-2004, 01:49 PM
I'm using ffxp 2.2 b950 and no problem at all
Except a bug when wiping with ioA (io is not refreshing the dir).
I posted reply in ioA thread. Perhaps it is a bad configuration but I don't know where.

darkone
01-15-2004, 02:17 PM
I wonder, if it's caused by some script :? Perhaps some tcl script executing from TransferComplete?

Mr_X
01-15-2004, 02:40 PM
I don't execute anything in OnTransferComplete. Here's this file:
[ %[$section] ]-[Free: %.[free($path)(mega)] MB]-[Speed: %.1[speed] kb/s]

Pichento
01-15-2004, 04:01 PM
Nah it's not on transfer complete.

It happens just after login. list - and it hangs. Funny cause i can connect once (first connection to ftpd) (and only sometimes) - and then all other connections won't list. Even if only one is connected and reconnects.

odd
01-15-2004, 05:21 PM
Originally posted by Pichento
Nah it's not on transfer complete.

It happens just after login. list - and it hangs. Funny cause i can connect once (first connection to ftpd) (and only sometimes) - and then all other connections won't list. Even if only one is connected and reconnects.

Same here :(
Worked the first time. After that when I logged in second time it hanged during the list.

darkone
01-15-2004, 07:00 PM
It's pre list script that's causing it... :)

-=DoBBeR=-
01-15-2004, 07:04 PM
[FTP_Pre-Command_Events]
list = TCL ..\scripts\newdir\OnPreList.itcl
stor = TCL ..\scripts\newdir\OnPreStor.itcl
mkd = TCL ..\scripts\newdir\OnPreMkd.itcl
site = TCL ..\scripts\readd\ioREADDUSER.itcl
site = TCL ..\scripts\readd\ioSITEDELUSER.itcl

I guess it could be =) b0unty!! :D

odd
01-15-2004, 07:05 PM
Ah Newdir in my case

But is it a scripts fault or ioftpd's?

darkone
01-15-2004, 07:38 PM
Update to 5.5.5... :) I forgot to make newly created interpreters to load init.itcl

neoxed
01-15-2004, 08:16 PM
Not really much of a bug...just out of curiosity...

In the ioFTPD.ini

OnNewDir = TCL ..\scripts\test.itcl newdir
OnDelDir = TCL ..\scripts\test.itcl deldir

All that test.itcl contains is - iputs "Args: $args"

Output:

MKD test
550-Args: newdir "E:\Site\VCD\test" "/VCD/test"
257 "test" created.

RMD /VCD/test
250-Args: deldir "E:\Site\VCD\test" "/VCD/test/"
250 RMD command successful.


DelDir returns the vPath with a trailing / while NewDir doesn't, wondering if it's meant to be this way.

darkone
01-15-2004, 08:33 PM
I think, it has to do wheter file/directory or not (when resolving it). :)

b>d>>s
01-15-2004, 09:50 PM
--------------------------- ErrorInfo ----------------------------
can't find package mkZiplib 1.0
while executing
"package require mkZiplib 1.0"
(file "..\scripts\badaazs\badaazs.itcl" line 1)
------------------------------------------------------------------


package.tcl is all set up correctly (as for 554r)

package ifneeded mkZiplib 1.0 [list load [file join [set dir] mkZiplib10.dll]]

darkone
01-15-2004, 10:43 PM
I wonder, if I need to call tcl initialization routine from each thread... stupid tcl documentation :/

neoxed
01-20-2004, 03:16 AM
site config replace FTP-Data 005 Global_Inbound_bandwidth = 0
200 config Command successful.
site config replace FTP-Data 006 Global_Outbound_bandwidth= 0
200 config Command successful.
site config save
200 config Command successful.
site config rehash
200 config Command successful.
site config show FTP-Data
200-### [FTP-Data]
200-000: Host = 0.0.0.0
200-001: Ports = 5000-6000
200-002: Random = True
200-003: Client_Inbound_bandwidth = 0
200-004: Client_Outbound_bandwidth= 0
200-005: Global_Inbound_bandwidth = 0
200-006: Global_Outbound_bandwidth= 0
200-007:
200-008: ################################################## ####
200-009:
200-010:
200-011: ###################### Services ######################
200-012:
200 config Command successful.

Everytime I execute this command or any other site config related command, I noticed that ioFTPD adds 3-4 blank lines at the end of the ioFTPD.ini

Not really a bug but more of an annoyance. I came across this when I noticed my ioFTPD.ini grew to 20kb from several hundred blank lines at the end. :p