--- /dev/null
+Simple test that tests a TLS 1.3 draft 28 pcap file from Wireshark issue
+tracker [1].
+
+PCAP URL:
+ https://bugs.wireshark.org/bugzilla/attachment.cgi?id=16519
+
+[1] "12779 - Add TLS 1.3 support"
+https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=12779
--- /dev/null
+%YAML 1.1
+---
+
+include: ../../etc/suricata-3.1.2.yaml
+
+outputs:
+ - eve-log:
+ enabled: yes
+ filetype: regular #regular|syslog|unix_dgram|unix_stream|redis
+ filename: eve.json
+ types:
+ - tls:
+ extended: yes # enable this for extended logging information
+
+app-layer:
+ protocols:
+ tls:
+ enabled: yes
+ detection-ports:
+ dp: 443
+
+ # Generate JA3 fingerprint from client hello
+ ja3-fingerprints: yes
+
+ encrypt-handling: bypass
--- /dev/null
+min-version: 4.1.0
+
+requires:
+ features:
+ - HAVE_LIBJANSSON
+ - HAVE_NSS
+
+args:
+ - -k none
+
+checks:
+
+ - filter:
+ count: 1
+ match:
+ event_type: tls
+ tls.sni: "localhost"
+ tls.version: "TLS 1.3 draft-28"
+ tls.ja3.hash: "d00857e0c8e7a7f35e446508c6233460"
+ tls.ja3.string: "771,4866-4867-4865-4868-49196-52393-49325-49162-49195-49324-49161-49200-52392-49172-49199-49171-157-49309-53-156-49308-47-159-52394-49311-57-158-49310-51,5-10-11-13-22-23-35-51-43-65281-0-45-41,23,0"
+
+ - filter:
+ count: 1
+ match:
+ event_type: tls
+ tls.sni: "localhost"
+ tls.version: "TLS 1.3 draft-28"
+ tls.ja3.hash: "43202faa1c8c1760d6f7f4bd9adde4ab"
+ tls.ja3.string: "771,4866-4867-4865-4868-49196-52393-49325-49162-49195-49324-49161-49200-52392-49172-49199-49171-157-49309-53-156-49308-47-159-52394-49311-57-158-49310-51,5-10-11-13-22-23-35-51-43-65281-0-45,23,0"