View Single Post
Old 08-13-2010, 03:51 PM  
opcode
Junior Member
 
Join Date: Aug 2009
Posts: 21
Default

Ok, i did some stresstests on my box and was able to reproduce the active adress error. here it goes:

Code:
[1] 227 Entering Passive Mode (my,public,ip,adress,0,24)
[2] PORT my,public,ip,adress,0,24
[2] 200 PORT command successful.
[1] STOR testfiles.r16
[2] RETR testfiles.r16
[2] 150 Opening BINARY mode data connection for testfiles.r16 (50000000 bytes) using SSL/TLS.
[1] Timeout, Connection closed
[2] Reversed FXP started
[1] CPSV
[1] 426 Connection closed: Connection timed out.
[i] Transfer failed: testfiles.r16
[2] Reversed FXP started
[1] CPSV
[1] 227 Entering Passive Mode (my,public,ip,adress,0,23)
[2] PORT my,public,ip,adress,0,23
[2] 435 Failed TLS negotiation on data channel (using SSL_accept()), disconnected: Connection reset by peer.
[i] Transfer failed: testfiles.r15
[2] Reversed FXP started
[1] CPSV
[1] 227 Entering Passive Mode (my,public,ip,adress,0,24)
[2] PORT my,public,ip,adress,0,24
[2] 200 PORT command successful.
[1] STOR testfiles.r14
[1] 550 testfiles.r14: No such file or directory.
[i] Transfer failed: testfiles.r14
[1] 227 Entering Passive Mode (my,public,ip,adress,1,187)
[2] Reversed FXP started
[1] CPSV
[1] 550 Active transfer in progress, terminate transfer with ABOR before proceeding.
[i] Transfer failed: testfiles.r13
[2] Reversed FXP started
[1] CPSV
[1] 550 Active transfer in progress, terminate transfer with ABOR before proceeding.
[i] Transfer failed: testfiles.r12
Using Ftprush latest (legit copy) with SSL DLL OpenSSL 0.9.8d 28 Sep 2006 (LOCKED).

Sometimes it just keeps hanging after [1] Timeout, Connection closed without doing anything anymore, which i actually don't mind.

But more often all following files just fail with [1] 550 Active transfer in progress, terminate transfer with ABOR before proceeding. At the end of the queue FTPRush rmdirs all empty directories (aka pretty much everything that failed) and leaves me with a broken queue (unusable now because none of the target dirs are there anymore) and nothing on the disk What's weird is that it's actually trying different ports but still giving the error.

Also i installed the process explorer to find out what dlls are in use, so here they are:

Code:
ACTIVEDS.dll	ADs Router-Ebene-DLL	Microsoft Corporation	5.1.2600.5512
adsldpc.dll	DLL für ADs LDAP Provider C	Microsoft Corporation	5.1.2600.5512
ADVAPI32.dll	Erweitertes Windows 32 Base-API	Microsoft Corporation	5.1.2600.5755
ATL.DLL	ATL Module for Windows XP (Unicode)	Microsoft Corporation	3.5.2284.2
avsda.dll	AntiVir layered service provider	Avira GmbH	10.0.0.7
COMCTL32.dll	Common Controls Library	Microsoft Corporation	5.82.2900.5512
comctl32.dll	User Experience Controls Library	Microsoft Corporation	6.0.2900.5512
comdlg32.dll	DLL für gemeinsame Dialoge	Microsoft Corporation	6.0.2900.5512
CRYPT32.dll	Krypto-API32	Microsoft Corporation	5.131.2600.5512
ctype.nls			
DbgHelp.dll	Windows Image Helper	Microsoft Corporation	6.12.2.633
DNSAPI.dll	DNS Client API DLL	Microsoft Corporation	5.1.2600.5625
GDI32.dll	GDI Client DLL	Microsoft Corporation	5.1.2600.5698
hnetcfg.dll	Heimnetzwerkkonfigurations-Manager	Microsoft Corporation	5.1.2600.5512
IMM32.DLL	Windows XP IMM32 API Client DLL	Microsoft Corporation	5.1.2600.5512
ioFTPD.exe	ioFTPD Server		7.5.9.0
IPHLPAPI.DLL	IP-Hilfs-API	Microsoft Corporation	5.1.2600.5512
kernel32.dll	Client-DLL für Windows NT-Basis-API	Microsoft Corporation	5.1.2600.5781
lgscroll.dll	Logitech Scroll Enabler (UNICODE)	Logitech, Inc.	4.60.122.0
LIBEAY32.dll	OpenSSL Shared Library	The OpenSSL Project, http://www.openssl.org/	1.0.0.0
locale.nls			
mdnsNSP.dll	Bonjour Namespace Provider	Apple Inc.	2.0.2.0
MPR.dll	Router-DLL für Mehrfachanbieter	Microsoft Corporation	5.1.2600.5512
MPRAPI.dll	Windows NT MP Router Administration DLL	Microsoft Corporation	5.1.2600.5512
MSASN1.dll	ASN.1 Runtime APIs	Microsoft Corporation	5.1.2600.5875
MSCTF.dll	MSCTF-Server-DLL	Microsoft Corporation	5.1.2600.5512
msctfime.ime	Microsoft Text Frame Work Service IME	Microsoft Corporation	5.1.2600.5512
MSVCP60.dll	Microsoft (R) C++ Runtime Library	Microsoft Corporation	6.2.3104.0
MSVCR80.dll	Microsoft® C Runtime Library	Microsoft Corporation	8.0.50727.4053
MSVCR90.dll	Microsoft® C Runtime Library	Microsoft Corporation	9.0.30729.4148
msvcrt.dll	Windows NT CRT DLL	Microsoft Corporation	7.0.2600.5512
mswsock.dll	Microsoft Windows Sockets 2.0-Dienstanbieter	Microsoft Corporation	5.1.2600.5625
NETAPI32.dll	Net Win32 API DLL	Microsoft Corporation	5.1.2600.5694
ntdll.dll	DLL für NT-Layer	Microsoft Corporation	5.1.2600.5755
NTMARTA.DLL	Windows NT MARTA-Anbieter	Microsoft Corporation	5.1.2600.5512
nxHelper.dll	nxHelper Tcl Library		2.4.0.0
ODBC32.dll	Microsoft Data Access - ODBC Driver Manager	Microsoft Corporation	3.525.1132.0
odbcbcp.dll	Microsoft BCP for ODBC	Microsoft Corporation	2000.85.1132.0
odbcint.dll	Microsoft Data Access - ODBC Ressourcen	Microsoft Corporation	3.525.1117.0
ole32.dll	Microsoft OLE für Windows	Microsoft Corporation	5.1.2600.5512
OLEAUT32.dll		Microsoft Corporation	5.1.2600.5512
pdh.dll	Windows Unterstützungs-DLL für Leistungsdaten	Microsoft Corporation	5.1.2600.5773
Perflib_Perfdata_b00.dat			
perfos.dll	DLL für Windows-Systemleistungsobjekte	Microsoft Corporation	5.1.2600.5512
POWRPROF.dll	Power Profile Helper DLL	Microsoft Corporation	6.0.2900.5512
PSAPI.DLL	Process Status Helper	Microsoft Corporation	5.1.2600.5512
rasadhlp.dll	Remote Access AutoDial Helper	Microsoft Corporation	5.1.2600.5512
RPCRT4.dll	Remote Procedure Call Runtime	Microsoft Corporation	5.1.2600.5795
rsaenh.dll	Microsoft Enhanced Cryptographic Provider	Microsoft Corporation	5.1.2600.5507
rtutils.dll	Routing Utilities	Microsoft Corporation	5.1.2600.5512
SAMLIB.dll	SAM Library DLL	Microsoft Corporation	5.1.2600.5512
Secur32.dll	Security Support Provider Interface	Microsoft Corporation	5.1.2600.5834
SETUPAPI.dll	Windows Setup-API	Microsoft Corporation	5.1.2600.5512
SHELL32.dll	Allgemeine Windows-Shell-DLL	Microsoft Corporation	6.0.2900.6018
SHLWAPI.dll	Shell Light-weight Utility Library	Microsoft Corporation	6.0.2900.5912
sortkey.nls			
sorttbls.nls			
SSLEAY32.dll	OpenSSL Shared Library	The OpenSSL Project, http://www.openssl.org/	1.0.0.0
tcl85t.dll	Tcl DLL	ActiveState Corporation	8.5.2.8
tclreg12.dll			
tclsqlite3.dll			
twapi.dll	Tcl Windows API Extension DLL	Ashok P. Nadkarni	2.0.11.0
unicode.nls			
USER32.dll	Client-DLL für Windows XP USER-API	Microsoft Corporation	5.1.2600.5512
USERENV.dll	Userenv	Microsoft Corporation	5.1.2600.5512
VERSION.dll	Version Checking and File Installation Libraries	Microsoft Corporation	5.1.2600.5512
WINMM.dll	MCI API-DLL	Microsoft Corporation	5.1.2600.5512
winrnr.dll	LDAP RnR Provider DLL	Microsoft Corporation	5.1.2600.5512
WINSPOOL.DRV	Windows-Spoolertreiber	Microsoft Corporation	5.1.2600.5512
WINSTA.dll	Winstation Library	Microsoft Corporation	5.1.2600.5512
WLDAP32.dll	Win32 LDAP-API-DLL	Microsoft Corporation	5.1.2600.5512
WS2_32.dll	Windows Socket 2.0 32-Bit DLL	Microsoft Corporation	5.1.2600.5512
WS2HELP.dll	Windows Socket 2.0 Helper für Windows NT	Microsoft Corporation	5.1.2600.5512
wshtcpip.dll	Windows Sockets Helper DLL	Microsoft Corporation	5.1.2600.5512
WTSAPI32.dll	Windows Terminal Server SDK APIs	Microsoft Corporation	5.1.2600.5512
Sorry for the loads of kraut language, but i am too lazy to translate all the text. I think most of the dlls are fairly self-explanatory anyway :-)

Last but not least, while testing i found some strange behaviour. Not sure if it's an ioFTPD or ioNinja problem When transferring some smaller (15mb) files, the ioNinja sfv check runs all well and at the end the directory is marked as complete. Yet when i test the files with winrar, sometimes files are missing. I checked the xferlog and the file was definately transfered. For example:

Quote:
Thu Aug 12 15:00:57 2010 57 85.230.#.# 15000000 /incoming/some/test/dir/here/files_go_in_here/somefile.r02 b _ i r user ftp 1 * l
It seems like ioNinja indeed processed the file, because in the .ioFTPD file i find

Quote:
{somefile.r02 8717ED29 user grp 15000000 258}
But yet it's not there in the end It should be noted that i shorted the filename/path as they are very very long. Maybe that's the problem? On the other hand it only happens rather seldom, e.g. every few hundred files.

To wrap this post up, i checked the login stuff again and it seems the logins keep accumulating until ioFTPD crashes. I have no idea why that is, there is no considerable load and it can't be any "real" users either:

Code:
[2] 200-|?CID: 0    User: [Logging In]                            Idle:    7:54:32s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 1    User: [Logging In]                            Idle:    8:46:33s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 2    User: [Logging In]                            Idle:    7:43:32s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 3    User: [Logging In]                            Idle:    8:32:33s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 4    User: [Logging In]                            Idle:    8:22:33s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 5    User: [Logging In]                            Idle:    8:02:32s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 6    User: [Logging In]                            Idle:    8:13:33s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 7    User: [Logging In]                            Idle:    8:11:33s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 8    User: [Logging In]                            Idle:    7:46:32s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 9    User: [Logging In]                            Idle:    4:51:27s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 10   User: [Logging In]                            Idle:     49:22s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 11   User: [Logging In]                            Idle:    4:31:26s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 12   User: [Logging In]                            Idle:    4:11:26s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 13   User: [Logging In]                            Idle:    3:39:25s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 14   User: [Logging In]                            Idle:    2:57:25s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 15   User: [Logging In]                            Idle:    3:52:26s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|+CID: 16   User: user                Group: group  Dn:    187 KB/s |
[2] 200-| Dir: /public/test/                       |
[2] 200-| Action: RETR testdmp.r35                                  |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 17   User: [Logging In]                            Idle:    2:25:25s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 18   User: [Logging In]                            Idle:    3:37:25s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 19   User: [Logging In]                            Idle:    2:15:25s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 20   User: [Logging In]                            Idle:    2:00:25s|
[2] 200-| Action:                                                                 |
[2] 200-|-------------------------------------------------------------------------|
[2] 200-|?CID: 21   User: [Logging In]                            Idle:    1:58:25s|
[2] 200-| Action:                                                                 |

Last edited by opcode; 08-13-2010 at 04:03 PM.
opcode is offline   Reply With Quote