mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Add registration for GRE-over-UDP
This commit is contained in:
parent
01302a8989
commit
6d9d4523bc
14 changed files with 85 additions and 12 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -1,5 +1 @@
|
|||
module PacketAnalyzer::UDP;
|
||||
|
||||
#event zeek_init() &priority=20
|
||||
# {
|
||||
# }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue