Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2002 06:21:06 +0100 (CET)
From:      Jean-Yves Lefort <jylefort@brutele.be>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/46286: there's an omission and an error in the natd(8) manual page
Message-ID:  <20021216052106.4C74323005@jsite.lefort.net>

next in thread | raw e-mail | index | archive | help

>Number:         46286
>Category:       docs
>Synopsis:       there's an omission and an error in the natd(8) manual page
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 15 21:30:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 4.7-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #0: Sat Nov 16 11:18:01 CET 2002 jylefort@jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386


	
>Description:
The attached patch (diffed against
$FreeBSD: src/sbin/natd/natd.8,v 1.55 2002/08/13 14:10:36 ru Exp $)
is self-explanatory.


>How-To-Repeat:
	
>Fix:
--- natd.8.orig	Mon Dec 16 05:34:59 2002
+++ natd.8	Mon Dec 16 06:03:16 2002
@@ -65,7 +65,10 @@
 If an entry is found, it is used to determine the correct target IP
 number and port to place in the packet.
 .Pp
-The following command line options are available:
+The following command line options are available (note that address
+and port settings may be passed as symbolic names, in which case
+.Nm
+will attempt to resolve them upon startup):
 .Bl -tag -width Fl
 .It Fl log | l
 Log various aliasing statistics and information to the file
@@ -155,12 +158,11 @@
 range need not be the same numerically, but must have the same size.
 If
 .Ar remotePORT
-is not specified, it is assumed to be all ports.
+is not specified, or specified as 0, it is assumed to be all ports.
 If
 .Ar remotePORT
-is specified, it must match the size of
-.Ar targetPORT ,
-or be 0 (all ports).
+is specified as a range, it must match the size of
+.Ar targetPORT .
 For example, the argument
 .Pp
 .Dl Ar tcp inside1:telnet 6666

	


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021216052106.4C74323005>