Bug 127553

Summary: ncftp 3.1.7-4 sends unexpected FIN while dealing with data socket.
Product: [Fedora] Fedora Reporter: Valdis Kletnieks <valdis.kletnieks>
Component: ncftpAssignee: Karsten Hopp <karsten>
Status: CLOSED UPSTREAM QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-08-19 12:41:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 123268    

Description Valdis Kletnieks 2004-07-09 17:18:10 UTC
Description of problem:
ncftp fails and sends a FIN when it talks to the data socket.

Version-Release number of selected component (if applicable):
3.1.7-4

How reproducible:
Connect to an FTP server, and issue 'dir' command in non-passive mode

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Ethereal indicates that the PORT command is sent, the 3-packet
handshake takes place, and after the first data packet (containing
a '150 Here comes the directory listing.'), the client end sends
a FIN packet.

Backing off to 3.1.7-2 works.

Ethereal capture is available if needed.

Comment 1 Karsten Hopp 2004-07-09 18:19:28 UTC
Looks like the ipv6 patch is doing something strange here. 
 

Comment 2 Valdis Kletnieks 2004-07-09 18:28:13 UTC
The laptop exhibiting the problem has IPv6 enabled,
but ethereal shows the connection as IPv4.  Could it be a problem
with handling a ::ffff: encapsulated address?

Comment 3 Karsten Hopp 2004-08-09 10:24:12 UTC
I've notified the uptream maintainers of the ipv6 patch of this 
problem and disabled the patch for now. 

Comment 4 Karsten Hopp 2004-08-19 12:41:22 UTC
waiting for a new upstream ipv6 patch