[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

documentation/561: suggestion for clearification of ftpd manual page




>Number:         561
>Category:       documentation
>Synopsis:       suggestion for clearification of ftpd manual page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bugs
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug  4 03:40:01 MDT 1998
>Last-Modified:
>Originator:     Karl-Andre' Skevik
>Organization:
Inferno Nettverk A/S, Oslo, Norway; http://www.inet.no
>Release:        2.3
>Environment:
	System      : OpenBSD 2.3
	Architecture: OpenBSD.i386
	Machine     : i386
>Description:
The manual page for ftpd lists the high port range as between 40000
and 44999, but these are defined in /usr/include/netinet/in.h as:

/*
 * Default local port range to use by setting IP_PORTRANGE_HIGH
 */
#define IPPORT_HIFIRSTAUTO	49152
#define IPPORT_HILASTAUTO	65535

>How-To-Repeat:
	man ftpd
>Fix:
	Correct portrange, also mention that the port range can be
changed with sysctl(8).

diff -c -r1.14 ftpd.8
*** ftpd.8      1997/12/15 16:52:10     1.14
--- ftpd.8      1998/08/04 09:24:07
***************
*** 78,85 ****
  .Xr inetd 8
  and is thus useful on busy servers to reduce load.
  .It Fl h
! The server will use data ports in the high port range (normally 40000..44999)
! for passive connections.
  .It Fl l
  Each successful and failed 
  .Xr ftp 1
--- 78,88 ----
  .Xr inetd 8
  and is thus useful on busy servers to reduce load.
  .It Fl h
! The server will use data ports in the high port range for passive
! connections (by default 49152 to 65535, but these values can be
! changed using the
! .Xr sysctl 8
! utility).
  .It Fl l
  Each successful and failed 
  .Xr ftp 1
***************
*** 359,365 ****
  .Xr skey 1 ,
  .Xr who 1 ,
  .Xr getusershell 3 ,
! .Xr syslogd 8
  .Sh BUGS
  The server must run as the super-user
  to create sockets with privileged port numbers.  It maintains
--- 362,369 ----
  .Xr skey 1 ,
  .Xr who 1 ,
  .Xr getusershell 3 ,
! .Xr syslogd 8 ,
! .Xr sysctl 8
  .Sh BUGS
  The server must run as the super-user
  to create sockets with privileged port numbers.  It maintains

>Audit-Trail:
>Unformatted: