summaryrefslogtreecommitdiff
path: root/usr.bin/ftp
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2002-07-04 10:08:52 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2002-07-04 10:08:52 +0000
commitcef89e6ffb72c74f97a3dcd3e0e772d0c21872ba (patch)
tree7a347a1241163d04446395777dc3f29a984ee107 /usr.bin/ftp
parentc90026255aee70d47152f42153afe2d329f7a8c1 (diff)
document port allocation
Diffstat (limited to 'usr.bin/ftp')
-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 ,