From: Victor Julien Date: Fri, 28 Jun 2019 08:52:08 +0000 (+0200) Subject: tests: add vxlan with ssh test X-Git-Tag: suricata-6.0.4~419 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=451501de6544265042f5751d90be236b87d9ee6b;p=thirdparty%2Fsuricata-verify.git tests: add vxlan with ssh test --- diff --git a/tests/vxlan-decoder-03/README.md b/tests/vxlan-decoder-03/README.md new file mode 100644 index 000000000..6acdd4fc4 --- /dev/null +++ b/tests/vxlan-decoder-03/README.md @@ -0,0 +1,8 @@ +# Description + +Test basic VXLAN decoding by tracking SSH over VXLAN + +# PCAP + +Pcap provided by Eric Leblond. Captured using AWS traffic mirror feature. + diff --git a/tests/vxlan-decoder-03/test.yaml b/tests/vxlan-decoder-03/test.yaml new file mode 100644 index 000000000..1611b4f6e --- /dev/null +++ b/tests/vxlan-decoder-03/test.yaml @@ -0,0 +1,29 @@ +requires: + min-version: 5.0.0 + features: + - HAVE_LIBJANSSON + +checks: + - filter: + count: 13 + match: + event_type: flow + dest_port: 4789 + flow.pkts_toclient: 0 + flow.bytes_toclient: 0 + - filter: + count: 4 + match: + event_type: ssh + dest_port: 22 + - filter: + count: 1 + match: + event_type: flow + app_proto: ntp + dest_port: 123 + - filter: + count: 8 + match: + event_type: dns + dns.rrname: "ec2-18-196-145-224.eu-central-1.compute.amazonaws.com" diff --git a/tests/vxlan-decoder-03/vxlan.pcap b/tests/vxlan-decoder-03/vxlan.pcap new file mode 100644 index 000000000..c71d5dcdc Binary files /dev/null and b/tests/vxlan-decoder-03/vxlan.pcap differ