From: Victor Julien Date: Thu, 27 Jun 2019 07:10:49 +0000 (+0200) Subject: tests: add basic vxlan test X-Git-Tag: suricata-6.0.4~421 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F81%2Fhead;p=thirdparty%2Fsuricata-verify.git tests: add basic vxlan test --- diff --git a/tests/vxlan-decoder-01/README.md b/tests/vxlan-decoder-01/README.md new file mode 100644 index 000000000..b217bf78a --- /dev/null +++ b/tests/vxlan-decoder-01/README.md @@ -0,0 +1,7 @@ +# Description + +Test basic VXLAN decoding + +# PCAP + +Pcap from https://github.com/OISF/suricata/pull/3847/files diff --git a/tests/vxlan-decoder-01/input.pcap b/tests/vxlan-decoder-01/input.pcap new file mode 100644 index 000000000..ec4e3adcf Binary files /dev/null and b/tests/vxlan-decoder-01/input.pcap differ diff --git a/tests/vxlan-decoder-01/test.yaml b/tests/vxlan-decoder-01/test.yaml new file mode 100644 index 000000000..f7b2a6d0e --- /dev/null +++ b/tests/vxlan-decoder-01/test.yaml @@ -0,0 +1,19 @@ +requires: + min-version: 5.0.0 + features: + - HAVE_LIBJANSSON + +checks: + - filter: + count: 1 + match: + event_type: flow + src_port: 53 + dest_port: 12345 + - filter: + count: 1 + match: + event_type: flow + src_port: 32021 + dest_port: 12345 +