misc/162265: [Patch] [ipfw.8] Documentation clarity

Paul Procacci pprocacci at gmail.com
Thu Nov 3 05:50:08 UTC 2011


>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 at 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:


More information about the freebsd-bugs mailing list