zeek/scripts/policy/protocols/conn/disable-unknown-ip-proto-support.zeek
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

12 lines
339 B
Plaintext

##! 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);
}