summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp/ftp_var.h
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1995-08-05 19:12:05 +0000
committerpst <pst@FreeBSD.org>1995-08-05 19:12:05 +0000
commit0e79ca4d900784f6fb111f73eee3ea92efdc87be (patch)
tree0bb9b657884348aa946f639d6e015b17af89ad79 /usr.bin/ftp/ftp_var.h
parentf87a14f2ec9b2da3dd881d031cc3eb22beded92e (diff)
downloadFreeBSD-src-0e79ca4d900784f6fb111f73eee3ea92efdc87be.zip
FreeBSD-src-0e79ca4d900784f6fb111f73eee3ea92efdc87be.tar.gz
Use data ports in the range 40000..44999 by default to enhance FTP usability
in a firewall environment. Original idea by Mark Tracy (?). Reviewed by: wollman Submitted by: pst
Diffstat (limited to 'usr.bin/ftp/ftp_var.h')
-rw-r--r--usr.bin/ftp/ftp_var.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/ftp/ftp_var.h b/usr.bin/ftp/ftp_var.h
index 5778f69..85895a8 100644
--- a/usr.bin/ftp/ftp_var.h
+++ b/usr.bin/ftp/ftp_var.h
@@ -67,6 +67,7 @@ int code; /* return/reply code for ftp command */
int crflag; /* if 1, strip car. rets. on ascii gets */
char pasv[64]; /* passive port for proxy data connection */
int passivemode; /* passive mode enabled */
+int restricted_data_ports; /* restrict data port range */
char *altarg; /* argv[1] with no shell-like preprocessing */
char ntin[17]; /* input translation table */
char ntout[17]; /* output translation table */
OpenPOWER on IntegriCloud