Bug 1305974

Summary: --disable-epsv option ignored for IPv6 hosts
Product: Red Hat Enterprise Linux 7 Reporter: Martin Frodl <mfrodl>
Component: curlAssignee: Kamil Dudka <kdudka>
Status: CLOSED ERRATA QA Contact: Stefan Dordevic <sdordevi>
Severity: low Docs Contact:
Priority: low    
Version: 7.2CC: kdudka, ovasik, qe-baseos-security, sdordevi
Target Milestone: rcKeywords: ManPageChange
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: curl-7.29.0-30.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1305970 Environment:
Last Closed: 2016-11-03 17:44:37 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:
Bug Depends On:    
Bug Blocks: 1305970    

Description Martin Frodl 2016-02-09 17:26:50 UTC
+++ This bug was initially created as a clone of Bug #1305970 +++

Description of problem:

With --disable-epsv, curl should not attempt to use EPSV mode no matter what. When the host name in URL is 'localhost' or 'localhost.localdomain', EPSV is not disabled. On the other hand, when is used instead, --disable-epsv is respected.

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

Steps to reproduce:
# yum -y install vsftpd
# echo OK > /var/ftp/pub/test
# service vsftpd start
# curl -v --disable-epsv ftp://localhost/pub/test

Actual results:
* Connect data stream passively
< 229 Entering Extended Passive Mode (|||20246|).
*   Trying connected

Expected results:
* Connect data stream passively
< 227 Entering Passive Mode (127,0,0,1,251,224).
*   Trying connected

Comment 2 Kamil Dudka 2016-02-12 17:52:17 UTC
upstream commit:


Comment 8 errata-xmlrpc 2016-11-03 17:44:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.