From owner-freebsd-doc Sun Dec 15 21:30: 4 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3279D37B401 for ; Sun, 15 Dec 2002 21:30:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4729943ED1 for ; Sun, 15 Dec 2002 21:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gBG5U1x3009083 for ; Sun, 15 Dec 2002 21:30:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBG5U1ib009082; Sun, 15 Dec 2002 21:30:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C803B37B401 for ; Sun, 15 Dec 2002 21:21:20 -0800 (PST) Received: from mirapoint3.brutele.be (mirapoint3.brutele.be [212.68.203.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id C62D643EFA for ; Sun, 15 Dec 2002 21:21:19 -0800 (PST) (envelope-from jylefort@twist.frontis.net) Received: from gateway.lefort.net ([213.189.162.78]) by mirapoint3.brutele.be (Mirapoint Messaging Server MOS 3.2.0-GA) with ESMTP id AFP91629; Mon, 16 Dec 2002 06:21:07 +0100 (CET) Received: from jsite.lefort.net (jsite.lefort.net [192.168.1.2]) by gateway.lefort.net (Postfix) with ESMTP id 91BC854F9 for ; Mon, 16 Dec 2002 06:21:06 +0100 (CET) Received: by jsite.lefort.net (Postfix, from userid 1000) id 4C74323005; Mon, 16 Dec 2002 06:21:06 +0100 (CET) Message-Id: <20021216052106.4C74323005@jsite.lefort.net> Date: Mon, 16 Dec 2002 06:21:06 +0100 (CET) From: Jean-Yves Lefort Reply-To: Jean-Yves Lefort To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/46286: there's an omission and an error in the natd(8) manual page Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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