Add registration for GRE-over-UDP

This commit is contained in:
Tim Wojtulewicz 2023-10-11 13:42:32 -07:00
parent 01302a8989
commit 6d9d4523bc
14 changed files with 85 additions and 12 deletions

View file

@ -2,4 +2,10 @@ module PacketAnalyzer::GRE;
export {
const default_analyzer: PacketAnalyzer::Tag = PacketAnalyzer::ANALYZER_IPTUNNEL &redef;
const gre_ports = { 4754/udp } &redef;
}
event zeek_init() &priority=20
{
PacketAnalyzer::register_for_ports(PacketAnalyzer::ANALYZER_UDP, PacketAnalyzer::ANALYZER_GRE, gre_ports);
}

View file

@ -1,5 +1 @@
module PacketAnalyzer::UDP;
#event zeek_init() &priority=20
# {
# }