expand on the checkportcmd option.

This commit is contained in:
mrg 1998-01-23 00:56:55 +00:00
parent 22c1670658
commit c3d9fda2c3
1 changed files with 18 additions and 3 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ftpd.8,v 1.20 1997/12/31 02:43:54 lukem Exp $
.\" $NetBSD: ftpd.8,v 1.21 1998/01/23 00:56:55 mrg Exp $
.\"
.\" Copyright (c) 1985, 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -308,8 +308,10 @@ PORT
command will fail if the IP address specified does not match the ftp
command connection, or if the remote TCP port number is less than
.Dv IPPORT_RESERVED .
This option should be used for sites concerned with potential security
problems with ftp bounce attacks.
It is
.Em strongly
encouraged that this option be used, espcially for sites concerned
with potential security problems with ftp bounce attacks.
If class is
.Dq none
or
@ -562,6 +564,19 @@ the super-user only when binding addresses to sockets. The
possible security holes have been extensively
scrutinized, but are possibly incomplete.
.Pp
.Cm RFC-959
provides no restrictions on the PORT command, and this can lead
to security problems, as
.Nm
can be fooled into connecting to any service on any host. With the
``checkportcmd'' feature of the
.Pa /etc/ftpd.conf ,
PORT commands with different host addresses, or TCP ports lower than
.Dv IPPORT_RESERVED
will be rejected. Use of this option is
.Em strongly
recommended.
.Pp
The feedback to the client is inadequate in the case of an
error that occurs during a retrieval that uses a
.Dq conversion