Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1622408

Summary: FTP timing out for text files in a certain format
Product: Red Hat Enterprise Linux 7 Reporter: Antony Mathai <ext.antony.mathai>
Component: vsftpdAssignee: Ondřej Lysoněk <olysonek>
Status: CLOSED WORKSFORME QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: medium    
Version: 7.4CC: ext.antony.mathai, thozza
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-22 13:57:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Sample Text file
none
Sample Test File for which FTP fails none

Description Antony Mathai 2018-08-27 05:54:59 UTC
Created attachment 1478869 [details]
Sample Text file

Description of problem: FTP is timing out when trying to transfer a text file via a client like FileZilla or WinScp. 

The FTP only times out for a text file in a certain format. The sample file is attached.

If any changes are made - for example the attached file contains 311 characters and if the number of characters is reduced to 310 or below the file gets transferred successfully.

Another example is if any changes to the word 'list' is made like removing a letter or changing a letter in the the word then the file gets transferred successfully 

The file also gets transffered successfully if the space between the words 'xxxx list' or 'list xxxxxxxxxx...a' is removed 

The FTP only times out when the attempt is made without any encryption however the FTP is successful when TSL/SSL encryption is chosen in the client like WinScp

Version-Release number of selected component (if applicable): vsFTPd 3.0.2


How reproducible: Always reproducible with the file format attached with this bug

Steps to Reproduce:
1.Attempt to FTP(without encryption) the attached text file from a windows
machine using a client like WinScp or Filezilla to a Red Hat linux server(7.4)

Actual results: The FTP times out

Expected results: Must be transferred successfully to the Linux server

Comment 2 Antony Mathai 2018-08-27 05:57:28 UTC
Created attachment 1478870 [details]
Sample Test File for which FTP fails

Comment 3 Antony Mathai 2018-08-27 05:59:12 UTC
To reproduce the issue please use the text file test1(311 chars).

Comment 4 Ondřej Lysoněk 2018-10-19 12:53:23 UTC
Thanks for the report. Unfortunately, I was not able to reproduce the problem with Windows 10 and the latest FileZilla, nor with WinSCP. I used vsftpd-3.0.2-22.el7.x86_64.

What exact vsftpd version are you using (rpm -q vsftpd)? Can you provide your vsftpd configuration? What transfer mode are you using, ASCII or binary? Are you using the latest version of Windows and the FTP client programs? Can you reproduce the problem with some Linux client, instead of Windows?

Thanks.

Comment 5 Antony Mathai 2018-11-12 12:52:33 UTC
Hi ,

The vsftpd version used is vsftpd-3.0.2-22.el7.x86_64.

The transfer mode selected in winscp was default. 

The OS used is Windows 7.

The issue cannot be reproduced on the ftp client and happens only for Filezilla and Winscp

Thanks
Antony

Comment 6 Ondřej Lysoněk 2019-11-22 13:54:22 UTC
Thank you for taking the time to report this issue to us. We appreciate the feedback and use reports such as this one to guide our efforts at improving our products. That being said, this bug tracking system is not a mechanism for requesting support, and we are not able to guarantee the timeliness or suitability of a resolution.

If this issue is critical or in any way time sensitive, please raise a ticket through the regular Red Hat support channels to ensure it receives the proper attention and prioritization to assure a timely resolution. 

For information on how to contact the Red Hat production support team, please visit:
    https://www.redhat.com/support/process/production/#howto

Comment 7 Ondřej Lysoněk 2019-11-22 13:57:56 UTC
Unfortunately, I was not able to reproduce the problem, so I'm closing this. Please work with Red Hat support on reproducing the bug if needed.