mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

detect-protocol.zeek was the last non-deprecated script left in policy/frameworks/dpd. It was moved to policy/frameworks/analyzer. A script that loads the script from the new location with a deprecation warning was added.
46 lines
1.7 KiB
Text
46 lines
1.7 KiB
Text
@load test-all-policy.zeek
|
|
|
|
# Scripts which are commented out in test-all-policy.zeek.
|
|
@load frameworks/analyzer/deprecated-dpd-log.zeek
|
|
@load frameworks/dpd/detect-protocols.zeek
|
|
@load protocols/ssl/decryption.zeek
|
|
@ifdef ( Cluster::CLUSTER_BACKEND_ZEROMQ )
|
|
@load frameworks/cluster/backend/zeromq/connect.zeek
|
|
@endif
|
|
@load frameworks/cluster/nodes-experimental/manager.zeek
|
|
@load frameworks/control/controllee.zeek
|
|
@load frameworks/control/controller.zeek
|
|
@load frameworks/dpd/packet-segment-logging.zeek
|
|
@load frameworks/management/agent/main.zeek
|
|
@load frameworks/management/controller/main.zeek
|
|
@load frameworks/management/node/__load__.zeek
|
|
@load frameworks/management/node/main.zeek
|
|
@load frameworks/files/extract-all-files.zeek
|
|
@load frameworks/signatures/iso-9660.zeek
|
|
@load policy/misc/dump-events.zeek
|
|
@load policy/protocols/conn/speculative-service.zeek
|
|
|
|
# Remove in v8.1: This script is deprecated and conflicts with detect-sql-injection.zeek
|
|
# @load policy/protocols/http/detect-sqli.zeek
|
|
|
|
@if ( have_spicy() )
|
|
# Loading this messes up documentation of some elements defined elsewhere.
|
|
# @load frameworks/spicy/record-spicy-batch.zeek
|
|
@load frameworks/spicy/resource-usage.zeek
|
|
@endif
|
|
|
|
@load ./example.zeek
|
|
|
|
event zeek_init() &priority=1000
|
|
{
|
|
# Disable events in modules that use zeek_init() to do stuff and may
|
|
# fail when run under zeekygen. For the purpose of zeekygen, we could
|
|
# probably disable all modules, too.
|
|
disable_module_events("Control");
|
|
disable_module_events("Cluster::Backend::ZeroMQ");
|
|
disable_module_events("Cluster::Experimental");
|
|
disable_module_events("Management::Agent::Runtime");
|
|
disable_module_events("Management::Controller::Runtime");
|
|
disable_module_events("Management::Node");
|
|
terminate();
|
|
}
|