mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Add GPRS Tunnelling Protocol (GTPv1) decapsulation.
This currently supports automatic decapsulation of GTP-U packets on UDP port 2152. The GTPv1 headers for such tunnels can be inspected by handling the "gtpv1_g_pdu_packet" event, which has a parameter of type "gtpv1_hdr". Analyzer and test cases are derived from submissions by Carsten Langer. Addresses #690.
This commit is contained in:
parent
2915e04db4
commit
9edbf3e53c
52 changed files with 670 additions and 2 deletions
|
@ -5,6 +5,7 @@
|
|||
#include "Var.h"
|
||||
#include "NetVar.h"
|
||||
|
||||
RecordType* gtpv1_hdr_type;
|
||||
RecordType* conn_id;
|
||||
RecordType* endpoint;
|
||||
RecordType* endpoint_stats;
|
||||
|
@ -308,6 +309,7 @@ void init_net_var()
|
|||
#include "input.bif.netvar_init"
|
||||
#include "reporter.bif.netvar_init"
|
||||
|
||||
gtpv1_hdr_type = internal_type("gtpv1_hdr")->AsRecordType();
|
||||
conn_id = internal_type("conn_id")->AsRecordType();
|
||||
endpoint = internal_type("endpoint")->AsRecordType();
|
||||
endpoint_stats = internal_type("endpoint_stats")->AsRecordType();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue