Merge pull request #2976 in SNORT/snort3 from ~SVLASIUK/snort3:fix_reject_inline_u2 to master
Squashed commit of the following:
commit
a2fec11b2fe6016bc4cc2c342c3db5e5ed3af3b4
Author: Serhii Vlasiuk <svlasiuk@cisco.com>
Date: Fri Jul 23 10:06:58 2021 +0300
framework: update base API version to 4
commit
4a3afcd4aeda61ac6ced9527582cee5601f2d6c7
Author: Serhii Vlasiuk <svlasiuk@cisco.com>
Date: Fri Jul 9 16:32:22 2021 +0300
actions: session data stay accessible for loggers for reject rule action
Reject action does reset session. Reset session includes drop flow in particular
destruct HttpFlowData object. Alerts may include addiotional information from flow
in case of unified2 events it aggregates http headers. To avoid bad access exceptions,
flow data should be available in place of generating alerts and cleaned up after.