I have an issue with an FTP client issuing a DIR command to a Windows FTP server. A normal packet trace is shown in sequence 1 below. An "Ack Fin" is received from the Windows FTP server and the DIR command completes successfully.
In the 2nd sequence, each side exchanges close_notify, but no "Fin" flags are set. Windows FTP server ends with an "Ack Rst". After receiving the Reset packet, the FTP client issues a "connection reset' message" and sets an error code. Is that the correct thing to do? 1) Successful DIR command output being received: IN Ack IN Ack 536Bytes IN Ack 536B OUT Ack Psh IN Ack 536B IN Ack 536B IN Ack 536B IN Ack 536B IN Ack Psh 79B 42B & 15 (close_notify alert) OUT Ack Psh IN Ack Fin OUT Ack Psh 37B 15 (close_notify alert) IN Ack Rst 2) DIR command fails with error: IN Ack IN Ack 536B IN Ack 536B OUT Ack Psh IN Ack 536B IN Ack 536B IN Ack 536B IN Ack 536B IN Ack Psh 42B OUT Ack Psh IN Ack Psh 37B 15 (close_notify alert) OUT Ack Psh OUT Ack Psh 37B 15 (close_notify alert) IN Ack Rst -- Donald J. [email protected] -- http://www.fastmail.fm - Or how I learned to stop worrying and love email again ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [email protected]
