summaryrefslogtreecommitdiffstats
path: root/libexec/ftp-proxy
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2001-08-22 05:41:03 +0000
committerbeck <beck@openbsd.org>2001-08-22 05:41:03 +0000
commit7d1372dff6a640c39e62a50a6d954d20ebc4bb02 (patch)
treede28ada000e172e57971395d2ab7dbea9c2380dd /libexec/ftp-proxy
parentsnprintf() return audit. sync with kame (diff)
downloadwireguard-openbsd-7d1372dff6a640c39e62a50a6d954d20ebc4bb02.tar.xz
wireguard-openbsd-7d1372dff6a640c39e62a50a6d954d20ebc4bb02.zip
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