Skip to content

Commit 4ef6b2d

Browse files
committed
curl.1: --disable-{eprt,epsv} are ignored for IPv6 hosts
The behavior has been clarified in CURLOPT_FTP_USE_{EPRT,EPSV}.3 man pages since curl-7_12_3~131. This patch makes it clear in the curl.1 man page, too. Bug: https://bugzilla.redhat.com/1305970
1 parent 50525f4 commit 4ef6b2d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/curl.1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,9 @@ the traditional PORT command.
430430
\fB--eprt\fP can be used to explicitly enable EPRT again and \fB--no-eprt\fP
431431
is an alias for \fB--disable-eprt\fP.
432432

433+
If the server is an IPv6 host, this option will have no effect as EPRT is
434+
necessary then.
435+
433436
Disabling EPRT only changes the active behavior. If you want to switch to
434437
passive mode you need to not use \fI-P, --ftp-port\fP or force it with
435438
\fI--ftp-pasv\fP.
@@ -441,6 +444,9 @@ but with this option, it will not try using EPSV.
441444
\fB--epsv\fP can be used to explicitly enable EPSV again and \fB--no-epsv\fP
442445
is an alias for \fB--disable-epsv\fP.
443446

447+
If the server is an IPv6 host, this option will have no effect as EPSV is
448+
necessary then.
449+
444450
Disabling EPSV only changes the passive behavior. If you want to switch to
445451
active mode you need to use \fI-P, --ftp-port\fP.
446452
.IP "--dns-interface <interface>"

0 commit comments

Comments
 (0)