[Bug 121807] [request] TCP and UDP port_table in ipfw

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 2 08:29:07 UTC 2019


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

Andrey V. Elsukov <ae at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |Closed
                 CC|                            |ae at FreeBSD.org
         Resolution|---                         |Not A Bug

--- Comment #6 from Andrey V. Elsukov <ae at FreeBSD.org> ---
This feature is already implemented. You can create table with type "number"
and use it with "lookup src-port|dst-port" opcode.

# ipfw table PORTS create type number algo number:array
# ipfw table PORTS add 80
# ipfw table PORTS add 443
# ipfw add count tcp from any to any lookup dst-port PORTS

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


More information about the freebsd-ipfw mailing list