Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Nov 2011 05:41:26 GMT
From:      Paul Procacci <pprocacci@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/162265: [Patch] [ipfw.8] Documentation clarity
Message-ID:  <201111030541.pA35fQSL027719@red.freebsd.org>
Resent-Message-ID: <201111030550.pA35o7U1061660@freefall.freebsd.org>

index | next in thread | raw e-mail


>Number:         162265
>Category:       misc
>Synopsis:       [Patch] [ipfw.8] Documentation clarity
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 03 05:50:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Paul Procacci
>Release:        8.x both release and stable
>Organization:
>Environment:
FreeBSD nat.myhome 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #3: Wed Mar  9 22:21:01 CST 2011     root@nat.myhome:/usr/obj/usr/src/sys/FIREWALL  i386

>Description:
Up until today I didn't realize the one could use tablearg to a nat action in a ipfw rule.  Someone was kind enough to slap me.  ;P

What I propose is a very simple and small patch which would clarify it for retards like myself.  ;P
>How-To-Repeat:
man ipfw
>Fix:
See attached patch.

Patch attached with submission follows:

--- sbin/ipfw/ipfw.8.orig       2011-11-03 00:31:29.000000000 -0500
+++ sbin/ipfw/ipfw.8    2011-11-03 00:35:47.000000000 -0500
@@ -765,7 +765,7 @@
 .Cm fwd
 a custom kernel needs to be compiled with the option
 .Cd "options IPFIREWALL_FORWARD" .
-.It Cm nat Ar nat_nr
+.It Cm nat Ar nat_nr | tablearg
 Pass packet to a
 nat instance
 (for network address translation, address redirect, etc.):


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


help

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