Add basic testing for Geneve protocol analyzer

The added pcap file was downloaded from an attachment to
https://gitlab.com/wireshark/wireshark/-/issues/10193 without explicit
license.
This commit is contained in:
Benjamin Bannier 2021-04-21 15:42:08 +02:00
parent 5b2bf374fd
commit 83ecbeea6d
6 changed files with 33 additions and 13 deletions

View file

@ -0,0 +1,13 @@
# @TEST-EXEC: zeek -b -r $TRACES/tunnels/geneve.pcap %INPUT >out
# @TEST-EXEC: btest-diff out
# @TEST-EXEC: btest-diff conn.log
# @TEST-EXEC: btest-diff tunnel.log
@load base/frameworks/tunnels
@load base/frameworks/dpd
@load base/protocols/conn
event geneve_packet(c: connection, inner: pkt_hdr, vni: count)
{
print "geneve_packet", c$id, inner, vni;
}