summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjakob <jakob@openbsd.org>2002-07-04 10:08:51 +0000
committerjakob <jakob@openbsd.org>2002-07-04 10:08:51 +0000
commit04edc041c76abf044beb042bd3deead81de5f256 (patch)
treea4f7789f62955ef5f185ec81fe5b4b35e0c9ca87
parentuse tcp high portrange for active data connections. ok deraadt@ (diff)
downloadwireguard-openbsd-04edc041c76abf044beb042bd3deead81de5f256.tar.xz
wireguard-openbsd-04edc041c76abf044beb042bd3deead81de5f256.zip
document port allocation
-rw-r--r--usr.bin/ftp/ftp.112
1 files changed, 11 insertions, 1 deletions
diff --git a/usr.bin/ftp/ftp.1 b/usr.bin/ftp/ftp.1
index 167944fd3c2..fa852dea8ab 100644
--- a/usr.bin/ftp/ftp.1
+++ b/usr.bin/ftp/ftp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ftp.1,v 1.35 2002/05/30 06:51:46 deraadt Exp $
+.\" $OpenBSD: ftp.1,v 1.36 2002/07/04 10:08:51 jakob Exp $
.\" $NetBSD: ftp.1,v 1.22 1997/08/18 10:20:22 lukem Exp $
.\"
.\" Copyright (c) 1985, 1989, 1990, 1993
@@ -1482,6 +1482,16 @@ URL of FTP proxy to use when making FTP URL requests
.It Ev http_proxy
URL of HTTP proxy to use when making HTTP URL requests.
.El
+.Sh PORT ALLOCATION
+For active mode data connections,
+.Nm
+will listen to a random high tcp port.
+The interval of ports used are configurable using
+.Xr sysctl 8
+variables
+.Li net.inet.ip.porthifirst
+and
+.Li net.inet.ip.porthilast .
.Sh SEE ALSO
.Xr tftp 1 ,
.Xr getservbyname 3 ,