zeek/scripts/policy/protocols/conn/disable-unknown-ip-proto-support.zeek
2024-11-13 14:08:30 -07:00

11 lines
339 B
Text

##! This script filters the ip_proto field out of the conn.log and disables
##! logging of connections with unknown IP protocols.
@load base/protocols/conn
@load base/frameworks/analyzer/main
redef record Conn::Info$ip_proto -= { &log };
event zeek_init() {
Analyzer::disable_analyzer(PacketAnalyzer::ANALYZER_UNKNOWN_IP_TRANSPORT);
}