Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jan 2017 17:15:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 215875] [ipfw] ipfw lookup tables do not support mbuf_tags(9) ipfw cookies lookups
Message-ID:  <bug-215875-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215875

            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@FreeBSD.org
          Reporter: ports@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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215875-8>