summaryrefslogtreecommitdiff
path: root/libexec/ftp-proxy
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2001-08-22 05:41:04 +0000
committerBob Beck <beck@cvs.openbsd.org>2001-08-22 05:41:04 +0000
commit167113e77dd8dbf671c3a1b0e524715d23caf043 (patch)
tree95dc7582aca64a065f0d7c5156f264c274cd369a /libexec/ftp-proxy
parentf26b1c80c3f81bfcc31314b8c572952f05de8693 (diff)
Duh.
Diffstat (limited to 'libexec/ftp-proxy')
-rw-r--r--libexec/ftp-proxy/ftp-proxy.818
1 files changed, 10 insertions, 8 deletions
diff --git a/libexec/ftp-proxy/ftp-proxy.8 b/libexec/ftp-proxy/ftp-proxy.8
index 3162bb8af1e..a054a0d69f0 100644
--- a/libexec/ftp-proxy/ftp-proxy.8
+++ b/libexec/ftp-proxy/ftp-proxy.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ftp-proxy.8,v 1.3 2001/08/22 05:28:15 beck Exp $
+.\" $OpenBSD: ftp-proxy.8,v 1.4 2001/08/22 05:41:03 beck Exp $
.\"
.\" Copyright (c) 1996-2001
.\" Obtuse Systems Corporation, All rights reserved.
@@ -37,10 +37,12 @@ Internet File Transfer Protocol proxy server.
.Sh SYNOPSIS
.Nm ftp-proxy
.Op Fl AnVwr
-.Op Fl t Ar timeout
.Op Fl D Ar debuglevel
+.Op Fl g Ar group
.Op Fl m Ar minport
.Op Fl M Ar maxport
+.Op Fl t Ar timeout
+.Op Fl u Ar user
.Sh DESCRIPTION
.Nm
is a proxy for the Internet file transfer protocol.
@@ -56,12 +58,12 @@ The options are as follows:
Permit only anonymous ftp connections. The proxy will allow connections
to log in to other sites as the user "ftp" or "anonymous" only. Any
attempt to log in as another user will be blocked by the proxy.
-.It Fl g groupname
+.It Fl g Ar groupname
specify the named group to drop group priviledges to, after doing pf lookups
which require root. By default
.Nm ftp-proxy
uses the default group of the user it drops priviledge to.
-.It Fl u username
+.It Fl u Ar username
specify the named user to drop priviledge to, after doing pf lookups
which require root priviledge. By default
.Nm ftp-proxy
@@ -107,23 +109,23 @@ be written based on the destination as well as the source of ftp connections.
Use reverse host (reverse DNS) lookups for logging and libwrap use
By default the proxy does not look up hostnames for libwrap or logging
purposes.
-.It Fl m minport
+.It Fl m Ar minport
specify the lower end of the port range the proxy will use for all
data connections it establishes. The default is
.Ev IPPORT_HIFIRSTAUTO
defined in <netinet/in.h>
as 49152.
-.It Fl M maxport
+.It Fl M Ar maxport
specify the upper end of the port range the proxy will use for the
data connections it establishes. The default is
.Ev IPPORT_HILASTAUTO
defined in <netinet/in.h>
as 65535.
-.It Fl t timeout
+.It Fl t Ar timeout
specifies a timeout, in seconds. The proxy will exit
and close open connections if it sees no data the duration of
the timeout. The default is 0, which means the proxy will not time out.
-.It Fl D debuglevel
+.It Fl D Ar debuglevel
specify a debug level, where the proxy emits verbose debug output
into
.Xr syslog 8