Blame krb5-1.2.1-passive.patch
|
|
6e6adec |
We set all of the FTP clients to passive mode by default. Or at least that's
|
|
|
6e6adec |
the intention.
|
|
|
6e6adec |
|
|
cvsdist |
af3b546 |
--- krb5-1.2.1/src/appl/gssftp/ftp/main.c.passive Thu Jun 29 22:27:07 2000
|
|
cvsdist |
af3b546 |
+++ krb5-1.2.1/src/appl/gssftp/ftp/main.c Wed Aug 16 13:15:08 2000
|
|
cvsdist |
af3b546 |
@@ -178,7 +178,7 @@
|
|
cvsdist |
af3b546 |
cpend = 0; /* no pending replies */
|
|
cvsdist |
af3b546 |
proxy = 0; /* proxy not active */
|
|
cvsdist |
af3b546 |
#ifndef NO_PASSIVE_MODE
|
|
cvsdist |
af3b546 |
- passivemode = 0; /* passive mode not active */
|
|
cvsdist |
af3b546 |
+ passivemode = 1; /* passive mode active by default */
|
|
cvsdist |
af3b546 |
#endif
|
|
cvsdist |
af3b546 |
crflag = 1; /* strip c.r. on ascii gets */
|
|
cvsdist |
af3b546 |
sendport = -1; /* not using ports */
|
|
cvsdist |
af3b546 |
--- krb5-1.2.1/src/appl/gssftp/ftp/ftp.M.passive Wed Aug 16 13:15:26 2000
|
|
cvsdist |
af3b546 |
+++ krb5-1.2.1/src/appl/gssftp/ftp/ftp.M Wed Aug 16 13:17:19 2000
|
|
cvsdist |
af3b546 |
@@ -619,10 +619,11 @@
|
|
cvsdist |
af3b546 |
will forward a copy of the user's Kerberos tickets to the remote host.
|
|
cvsdist |
af3b546 |
.TP
|
|
cvsdist |
af3b546 |
.B passive
|
|
cvsdist |
af3b546 |
-Toggle passive data transfer mode. In passive mode, the client initiates
|
|
cvsdist |
af3b546 |
-the data connection by listening on the data port. Passive mode may
|
|
cvsdist |
af3b546 |
-be necessary for operation from behind firewalls which do not permit
|
|
cvsdist |
af3b546 |
-incoming connections.
|
|
cvsdist |
af3b546 |
+Toggle passive data transfer mode off. In passive mode, the client initiates
|
|
cvsdist |
af3b546 |
+the data connection by connecting to the data port. Passive mode is
|
|
cvsdist |
af3b546 |
+often necessary for operation from behind firewalls which do not permit
|
|
cvsdist |
af3b546 |
+incoming connections, but may need to be disabled if you connect to an
|
|
cvsdist |
af3b546 |
+FTP server which does not support passive operation.
|
|
cvsdist |
af3b546 |
.TP
|
|
cvsdist |
af3b546 |
.B private
|
|
cvsdist |
af3b546 |
Set the protection level on data transfers to ``private''. Data
|