[Bug 215875] [ipfw] ipfw lookup tables do not support mbuf_tags(9) ipfw cookies lookups

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 8 17:15:08 UTC 2017


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

            Bug ID: 215875
           Summary: [ipfw] ipfw lookup tables do not support mbuf_tags(9)
                    ipfw cookies lookups
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: ports at grosbein.net

Please make it possible to perform table lookups using ipfw mbuf_tags(9)
cookies as lookup keys. For example:

# this currently works:
ipfw table ngtags create type number valtype netgraph algo number:array
ipfw table ngtags add 1 1000
ipfw table ngtags add 2 2000
ipfw table ngtags add 3 3000

# but this is not supported yet:
ipfw add netgraph tablearg ip from any to any lookup tag ngtags

That is, packets tagged with cookie 1 would be directed to ng_ipfw netgraph
node hook 1000; packets tagged with 2 go to hook 2000 etc.

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


More information about the freebsd-bugs mailing list