Merge pull request #1957 in SNORT/snort3 from ~SELYSENK/snort3:bug/network_policy_nullptr to master
Squashed commit of the following:
commit
691b1f3af718cf70893c4026b1d480ca1abe3d9b
Author: Serhii Lysenko <selysenk@cisco.com>
Date: Thu Mar 5 13:37:53 2020 +0200
loggers: update usage to GLOBAL for all loggers
commit
d661b7e1eac7fdb3386ac4cbab537de72ebfcabb
Author: Bhagya Tholpady <bbantwal@cisco.com>
Date: Wed Mar 4 11:26:20 2020 -0500
snort2lua: don't print out network_policy binding
commit
43de169f5a6f10c0c03bfe6521bd22dfab0a0b17
Author: Bhagya Tholpady <bbantwal@cisco.com>
Date: Wed Mar 4 11:25:22 2020 -0500
binder: ignore the network_policy binding
commit
3ac2647f7f2e358ab6205adabd9e22a4643ef845
Author: Bhagya Tholpady <bbantwal@cisco.com>
Date: Wed Feb 26 20:23:07 2020 -0500
filters: update threshold tracking functions
General event threshold tracking functions take one more parameter
policy_id.
Usage for suppress and rate_filter modules is changed to CONTEXT.
event_filter, rate_filter and suppress modules use get_network_policy
to get the policy_id passed to the generic threshold tracking.
detection filter module uses get_ips_policy to get the policy_id
passed to the generic threshold traching.