Merge pull request #3023 in SNORT/snort3 from ~RUCOMBS/snort3:pub_order to master
Squashed commit of the following:
commit
e1f7f82009202b4dd5f3f2f8a72b82b95decc0e6
Author: russ <rucombs@cisco.com>
Date: Wed Aug 25 16:29:47 2021 -0400
framework: update base API version to 7
commit
f465cfcbfeace58569b37b00b62db54daa766ca2
Author: russ <rucombs@cisco.com>
Date: Fri Aug 6 11:40:46 2021 -0400
policy: reorganize for sanity
commit
86df6f2bf31b78cc5251c42df5dbfaa6943b8cc7
Author: russ <rucombs@cisco.com>
Date: Fri Aug 6 11:32:37 2021 -0400
policy: put inspection policy accessors in public space
commit
56a76559b84bff6437f5e412f807ba27c8e3bf98
Author: russ <rucombs@cisco.com>
Date: Sat Jul 31 09:51:31 2021 -0400
data_bus: support ordered call of handlers
Each handler can set a desired order which defaults to zero meaning
last. One would be first, and so on. The sequence in which handlers with
the same order are called is unspecified.
binder sets order 100 for flow setup events to apply policy. (That makes
it effectively first since by default everything else is zero / last.)
plugins which want to predictably set policy on flow setup can run
before or after binder by setting an appropriate order.