hi,
I am using CoreFTP Lite 1.3 Build 1398 on Windows 2003. I am using Port Range to limit the return ports. When I establish an SSL connection (using windows SSL) the first ls always fails. The following ls are successful.
Since the communication is encrypted there is not much I can show in a capture. From ethereal it appears that on the first list the server sends a [SYN] to the correct port, and the client responds with a reset [RST,ACK]. On subsequent lists the connection is properly established from the server to the client.
Here is the output:
Welcome to Core FTP, release ver 1.3b, build 1397 (U) -- © 2003-2004
WinSock 2.0
Mem -- 261,620 KB, Virt -- 2,097,024 KB
Started on Wednesday October 27, 2004 at 14:37:PM
Resolving xxxx.xxxxxxxx.xxx...
Connect socket #384 to xxx.xxx.xxx.xxx, port 221...
220 Welcome to the xxx xxxxxxxxxx xxxx Server. Authorized use only. Access is monitored. Time = 08:37:42
AUTH SSL
234 AUTH TLS-P/SSL OK.
SSLv3 (RC4/MD5), 128 bits
USER xxxxxxxx
331 Password required for xxxxxxxx.
PASS **********
230 Connect:Enterprise UNIX login ok, access restrictions apply.
SYST
215 UNIX Type: L8
Keep alive off...
PWD
257 "/xxxxxxxx" is current directory.
CWD /xxxxxxxx/
250 CWD command successful.
PBSZ 0
200 PBSZ 0 OK.
PROT P
200 PROT P OK, data channel will be secured.
PORT xxx,xxx,xxx,xx,10,240
200 PORT command successful.
LIST
425 Can't build data connection: Connection refused.
QUIT
221 Goodbye.
221 Goodbye.
Resolving xxxx.xxxxxxxx.xxx...
Connect socket #848 to xxx.xxx.xxx.xxx, port 221...
220 Welcome to the xxx xxxxxxxxxx xxxx Server. Authorized use only. Access is monitored. Time = 08:38:12
AUTH SSL
234 AUTH TLS-P/SSL OK.
SSLv3 (RC4/MD5), 128 bits
USER xxxxxxxx
331 Password required for xxxxxxxx.
PASS **********
230 Connect:Enterprise UNIX login ok, access restrictions apply.
SYST
215 UNIX Type: L8
CWD /
250 CWD to '/' successful
PBSZ 0
200 PBSZ 0 OK.
PROT P
200 PROT P OK, data channel will be secured.
PORT xxx,xxx,xxx,xx,10,241
200 PORT command successful.
LIST
150 Opening ASCII mode data connection for .
226 Transfer complete.
Transferred 210 bytes in 0.008 seconds
CWD /xxxxxxxx
250 CWD command successful.
PBSZ 0
200 PBSZ 0 OK.
PROT P
200 PROT P OK, data channel will be secured.
PORT xxx,xxx,xxx,xx,10,242
200 PORT command successful.
LIST
150 Opening ASCII mode data connection for .
226 Transfer complete - no batches.
Transferred 0 bytes in 0.008 seconds
QUIT
221 Goodbye.
cheers
prefab