I'm trying to connect to a Proftpd server using TLS, but I only get "connect failed". I tried SmartFTP, and it connected fine.
I have the following files in my TC directory:
libeay32.dll 1,040,384 27/02/2007 21:39 -a--
libssl32.dll 196,608 22/04/2007 01:11 -a--
rootcert.pem 1,488 22/04/2007 01:18 -a--
The file rootcert.pem is the certificate of my own CA, which signed the FTP server's certificate. Removing rootcert.pem completely makes no difference.
I am behind NAT, but have Passive mode enabled.
An Ethereal capture doesn't show anything like AUTH TLS or the like. Below is a short version of the capture, with the server's IP and name replaced. After the server rsponse string, TC seems to send something to which the server replies with "500 ... not understood":
Code: Select all
No. Time Source Destination Protocol Info
1 0.000000 192.168.1.202 a.b.c.d TCP 1101 > ftp [SYN] Seq=0 Ack=0 Win=64512 Len=0 MSS=1460
2 0.130923 a.b.c.d 192.168.1.202 TCP ftp > 1101 [SYN, ACK] Seq=0 Ack=1 Win=5840 Len=0 MSS=1400
3 0.130988 192.168.1.202 a.b.c.d TCP 1101 > ftp [ACK] Seq=1 Ack=1 Win=64512 Len=0
4 5.009617 192.168.1.202 a.b.c.d FTP Request: \200z\001\003\001\000Q\000\000\000 \000\0009\000\0008\000\0005\000\000\026\000\000\023\000\000
5 5.036400 a.b.c.d 192.168.1.202 TCP ftp > 1101 [ACK] Seq=1 Ack=125 Win=5840 Len=0
6 7.334348 192.168.1.100 192.168.1.255 RIPv1 Response
7 9.435387 192.168.1.202 a.b.c.d TCP 1028 > 9922 [PSH, ACK] Seq=0 Ack=0 Win=64156 Len=36
8 9.460722 a.b.c.d 192.168.1.202 TCP 9922 > 1028 [ACK] Seq=0 Ack=36 Win=11792 Len=0
9 10.161969 a.b.c.d 192.168.1.202 FTP Response: 220 ProFTPD 1.2.10 Server (server.example.tld) [a.b.c.d]
10 10.162456 192.168.1.202 a.b.c.d TCP 1101 > ftp [RST, ACK] Seq=125 Ack=56 Win=0 Len=0
11 10.162597 a.b.c.d 192.168.1.202 FTP Response: 500 \200Z\001\003\001 not understood
12 10.162621 192.168.1.202 a.b.c.d TCP 1101 > ftp [RST] Seq=125 Ack=2531470145 Win=0 Len=0
Thanks for any help...