[Bug 252744] ipfw cannot add fwd rule with tablearg,port

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 18 06:16:10 UTC 2021


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

--- Comment #8 from commit-hook at FreeBSD.org ---
A commit in branch stable/12 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=8addaaa5fb864190882dfcf1a1ad3d7af802dd35

commit 8addaaa5fb864190882dfcf1a1ad3d7af802dd35
Author:     Lutz Donnerhacke <donner at FreeBSD.org>
AuthorDate: 2021-05-07 18:59:34 +0000
Commit:     Lutz Donnerhacke <donner at FreeBSD.org>
CommitDate: 2021-05-18 06:14:25 +0000

    sbin/ipfw: Fix parsing error in table based forward

    The argument parser does not recognise the optional port for an
    "tablearg" argument.  Fix simplifies the code by make the internal
    representation expicit for the parser.  Includes the fix from D30208.

    PR:             252744
    Reported by:    <bugs.freebsd.org at mx.zzux.com>
    Approved by:    nc
    Tested by:      <bugs.freebsd.org at mx.zzux.com>
    Differential Revision: https://reviews.freebsd.org/D30164

    (cherry picked from commit 6cb13813caa09305046e0cecad8bba3ae2287b0d)
    (cherry picked from commit f6f297871d469daf808f78faead8f950a2c81e36)

 sbin/ipfw/ipfw2.c | 88 +++++++++++++++++++++++++++----------------------------
 1 file changed, 43 insertions(+), 45 deletions(-)

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


More information about the freebsd-ipfw mailing list