JA3 is a compile time option, breakout the JA3 tests to another test
that depends on HAVE_JA3.
--- /dev/null
+# Description
+
+Test quic ietf v1 parsing
+
+# PCAP
+
+The pcap comes from https://www.bortzmeyer.org/quic.html
--- /dev/null
+alert quic any any -> any any (msg:"QUIC JA3"; ja3s.string; content:"771,4866,43-51-41"; sid:3;)
+alert quic any any -> any any (msg:"QUIC JA3 HASH"; ja3.hash; content:"deadbeefdeadbeefdeadbeefdeadbeef"; sid:5;)
--- /dev/null
+requires:
+ min-version: 7.0.0
+ features:
+ - HAVE_JA3
+
+checks:
+ - filter:
+ count: 0
+ match:
+ event_type: alert
+ alert.signature_id: 5
+ - filter:
+ count: 1
+ match:
+ event_type: alert
+ alert.signature_id: 3
alert quic any any -> any any (msg:"QUIC SNI"; quic.sni; content:"msquic.net"; sid:4;)
-alert quic any any -> any any (msg:"QUIC JA3"; ja3s.string; content:"771,4866,43-51-41"; sid:3;)
-alert quic any any -> any any (msg:"QUIC JA3 HASH"; ja3.hash; content:"deadbeefdeadbeefdeadbeefdeadbeef"; sid:5;)
quic.extensions[1].values[0]: "msquic.net"
quic.extensions[2].name: "alpn"
quic.extensions[2].values[0]: "h3-29"
- - filter:
- count: 1
- match:
- event_type: alert
- alert.signature_id: 4
- - filter:
- count: 1
- match:
- event_type: alert
- alert.signature_id: 3