Hi everyone,

While playing around with ethereal, I've noticed that lftp 2.6.0
(actually Mandrake-linux's lftp-2.6.0-1mdk) seems not to wait for an FTP
server's 221 response when closing its control socket.  I downloaded
lftp v2.6.5 from the lftp webpage and it also has a similar behavior. 
When I tell lftp to 'quit', ethereal shows:

No.  Source       Destination  Proto  Info
719  gamma.local  gamma.local  FTP    Request: QUIT
720  gamma.local  gamma.local  TCP    33330 > ftp [FIN, ACK] ...
721  gamma.local  gamma.local  FTP    Response: 221 Goodbye.
722  gamma.local  gamma.local  TCP    33330 > ftp [RST] ...

On another server I get :

No.  Source       Destination   Proto  Info
65   gamma.local  192.31.180.2  FTP    Request: QUIT
66   gamma.local  192.31.180.2  TCP    33349 > ftp [FIN, ACK] ...
67   192.31.180.2 gamma.local   FTP    Response: 221 Goodbye.
68   gamma.local  192.31.180.2  TCP    33349 > ftp [RST] ...
69   192.31.180.2 gamma.local   TCP    ftp > 33349 [FIN, ACK] ...
70   gamma.local  192.31.180.2  TCP    33349 > ftp [RST] ...
71   192.31.180.2 gamma.local   TCP    ftp > 33349 [ACK] ...
72   gamma.local  192.31.180.2  TCP    33349 > ftp [RST] ...

However, the regular 'ftp' program shows:

No.  Source        Destination   Proto  Info
23   gamma.local   192.31.180.2  FTP    Request: QUIT
24   192.31.180.2  gamma.local   FTP    Response: 221 Goodbye.
25   gamma.local   192.31.180.2  TCP    33409 > ftp [ACK]...
26   gamma.local   192.31.180.2  TCP    33409 > ftp [FIN, ACK] ...
27   192.31.180.2  gamma.local   TCP    ftp > 33409 [FIN, ACK] ...
28   gamma.local   192.31.180.2  TCP    33409 > ftp [ACK]...

--Alan Silvester

Reply via email to