[Bug 254192] ipfw(8): incorrect nat show log command example

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 10 14:43:00 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254192

            Bug ID: 254192
           Summary: ipfw(8): incorrect nat show log command example
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs at FreeBSD.org
          Reporter: novel at FreeBSD.org
                CC: doc at FreeBSD.org

Created attachment 223154
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223154&action=edit
proposed fix

The ipfw(8) manpage has the following text:

     To show logs of all the instances in range 111-999:

           ipfw nat 111-999 show

However, this command is not valid for two reasons:

1. Specifying nat ranges is not supported (apparently was removed by this
commit:https://github.com/freebsd/freebsd-src/commit/d6164b77f8b779cd7357387dcfcd3407f1457579)
2. The 'show' command requires an argument: config or log.

So update this example to show logs for all nat instances using this command:

 ipfw nat show log

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-doc mailing list