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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 7 17:22:32 UTC 2021


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

Lutz Donnerhacke <donner at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |In Progress
           Assignee|ipfw at FreeBSD.org            |donner at FreeBSD.org
                 CC|                            |donner at FreeBSD.org,
                   |                            |ipfw at FreeBSD.org

--- Comment #3 from Lutz Donnerhacke <donner at FreeBSD.org> ---
That's a parsing problem.

# ipfw add 7110 fwd 0.0.0.0,8000 tcp from 'table(5)' to any dst-port
80,8000,8080
07110 fwd tablearg,8000 tcp from table(5) to any 80,8000,8080

# ipfw add 7110 fwd tablearg tcp from 'table(5)' to any dst-port 80,8000,8080
07110 fwd tablearg tcp from table(5) to any 80,8000,8080

Probably this case was never tested well, because the port is only used when
the forward address is a locally bounded one. (According to the man page.)

Thank you for notifying this.

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


More information about the freebsd-ipfw mailing list