From b1c0621088243880631ace8f2ab10fd9c51e3e20 Mon Sep 17 00:00:00 2001 From: Arne Welzel Date: Thu, 8 Feb 2024 16:44:36 +0100 Subject: [PATCH] config-tests: Add websocket pcap tests These were created by tunneling various traffic with wstunnel (HTTP downloads and SSH uploads and a tiny bit of SSL). Hook up the both, BinPac and Spicy versions to see improvements or regressions in Spicy over time. Here these run in 8.3 vs 14.4 seconds runtime, with bare mode taking some 3.5 seconds to process the pcap. --- ci-based/config-tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci-based/config-tests.yml b/ci-based/config-tests.yml index ab3f55d..ed2d047 100644 --- a/ci-based/config-tests.yml +++ b/ci-based/config-tests.yml @@ -41,6 +41,13 @@ ZEEK_TESTS: - id: pcap-quic-12k pcap_file: quic-12k-connections.pcap + - id: pcap-websocket-traffic-mix + pcap_file: websocket-traffic-mix.pcap + + - id: pcap-spicy-websocket-traffic-mix + pcap_file: websocket-traffic-mix.pcap + pcap_args: 'WebSocket::use_spicy_analyzer=T' + - id: micro-misc-zeek-version bench_command: /benchmarker/scripts/tiny-benchmark.sh bench_args: -D -b microbenchmarks/misc/zeek-version.zeek