zeek/testing/btest/plugins
Robin Sommer a7343ee019 Fix registration of protocol analyzers from inside plugins.
With the recent packet manager work, it broke to register a protocol
analyzer for a specific port from inside a plugin's initialization code.
That's because that registration now depends on the packet manager being
set up, which isn't case at that time a plugin's `InitPostInit()` runs.
This fix contains two parts:

    - Initialize the packet manager before the analyzer manager, so that
      the latter's `InitPostScript()` can rely on the former being
      ready.

    - Change the analyzer manager to (only) record port registrations
      happening before it's fully initialized. Its `InitPostScript()`
      then performs the actual registrations, knowing it can use the
      packet manager now.

This comes with a `cmake/` to add a missing include directory.
2021-07-18 10:00:49 +02:00
..
binpac-flowbuffer-frame-length-plugin Prefix #includes of .bif.h files with zeek/ 2021-02-02 19:15:05 -08:00
file-plugin Prefix #includes of .bif.h files with zeek/ 2021-02-02 19:15:05 -08:00
func-hook-plugin Update plugin btests for namespace changes 2020-08-24 12:07:03 -07:00
hooks-plugin Remove Plugin::HookCallFunction and fix tests related to it 2021-01-27 10:52:40 -07:00
logging-hooks-plugin Update plugin btests for namespace changes 2020-08-24 12:07:03 -07:00
packet-protocol-plugin Remove Session prefix from some session-related classes and files 2021-04-29 11:09:35 -07:00
pktdumper-plugin Update minimum required CMake to 3.5 2020-12-01 22:13:52 -08:00
pktsrc-plugin Update minimum required CMake to 3.5 2020-12-01 22:13:52 -08:00
plugin-load-dependency Add test creating multiple plugins with load dependencies. 2020-11-24 16:59:11 +00:00
plugin-nopatchversion-plugin Update plugin btests for namespace changes 2020-08-24 12:07:03 -07:00
plugin-withpatchversion-plugin Update plugin btests for namespace changes 2020-08-24 12:07:03 -07:00
protocol-plugin Fix registration of protocol analyzers from inside plugins. 2021-07-18 10:00:49 +02:00
reader-plugin Remove all of the random single-file deprecations 2021-01-27 10:52:40 -07:00
reporter-hook-plugin Update plugin btests for namespace changes 2020-08-24 12:07:03 -07:00
writer-plugin Update minimum required CMake to 3.5 2020-12-01 22:13:52 -08:00
bifs-and-scripts-install.sh Remove all fully-deprecated files 2021-01-27 10:52:40 -07:00
bifs-and-scripts.sh Fix use of deprecated functionality in test. 2020-11-24 17:00:20 +00:00
binpac-flowbuffer-frame-length.zeek Rename aux/ to auxil/ 2020-06-04 15:18:44 -07:00
file.zeek Rename aux/ to auxil/ 2020-06-04 15:18:44 -07:00
func-hook.zeek updates to test suite tests for compatibility with upcoming ZAM functionality 2021-06-01 09:25:30 -07:00
hooks.zeek Rename aux/ to auxil/ 2020-06-04 15:18:44 -07:00
init-plugin.zeek Rename aux/ to auxil/ 2020-06-04 15:18:44 -07:00
logging-hooks.zeek Rename aux/ to auxil/ 2020-06-04 15:18:44 -07:00
packet-protocol.zeek GH-1221: Add unknown_protocols.log for logging packet analyzer lookup failures 2020-11-09 20:37:26 -07:00
pktdumper.zeek Rename aux/ to auxil/ 2020-06-04 15:18:44 -07:00
pktsrc.zeek Rename aux/ to auxil/ 2020-06-04 15:18:44 -07:00
plugin-load-dependency.zeek Add test creating multiple plugins with load dependencies. 2020-11-24 16:59:11 +00:00
plugin-nopatchversion.zeek Rename aux/ to auxil/ 2020-06-04 15:18:44 -07:00
plugin-withpatchversion.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
protocol.zeek Fix registration of protocol analyzers from inside plugins. 2021-07-18 10:00:49 +02:00
reader.zeek Increase timeout of plugins.reader btest 2021-04-03 09:40:45 -07:00
reporter-hook.zeek Rename aux/ to auxil/ 2020-06-04 15:18:44 -07:00
writer.zeek Rename aux/ to auxil/ 2020-06-04 15:18:44 -07:00