zeek/testing/btest/core
Arne Welzel 9e7537044f btest/core/suspend_processing: Add WebSocket example
Add a test/example forwarding all new_connection() events produced during
`zeek -r wikipedia.trace` as my_new_connection() to a WebSocket client.

This is mostly to demonstrate and verify usage of suspend_processing(),
websocket_client_added(), resume_processing(), Pcap::file_done(),
websocket_client_lost() and terminate() together.
2025-09-08 11:11:13 -07:00
..
event-groups testing/btest/*zeek: Comment all @TEST lines 2025-04-17 16:30:23 +02:00
event-metadata Event: Bail on add_missing_remote_network_timestamp without add_network_timestamp 2025-06-02 17:31:36 +02:00
icmp
mmdb Merge remote-tracking branch 'origin/topic/vern/zam-asan-fixes' 2024-11-12 10:29:56 +01:00
network_time testing/btest/*zeek: Comment all @TEST lines 2025-04-17 16:30:23 +02:00
pcap Btests: don't use -C in Zeek invocations that don't actually need it 2025-06-06 13:46:45 -07:00
suspend_processing btest/core/suspend_processing: Add WebSocket example 2025-09-08 11:11:13 -07:00
tcp Fixing productive connections with missing SYN still considered partial after flipping direction. 2022-11-16 09:56:51 +01:00
tunnels Btests: don't use -C in Zeek invocations that don't actually need it 2025-06-06 13:46:45 -07:00
analyzer-confirmation-violation-info-ftp.zeek Remove analyzer_confirmation/analyzer_violation events (6.1 deprecation) 2023-06-14 10:07:22 -07:00
analyzer-confirmation-violation-info.zeek PPPoE: don't forward more bytes than header indicates 2025-07-08 10:20:59 +01:00
analyzer-stream-event-disable.zeek protocol: Add StreamEvent analyzer 2024-12-06 16:12:40 +01:00
analyzer-stream-event.zeek protocol: Add StreamEvent analyzer 2024-12-06 16:12:40 +01:00
bits_per_uid.zeek
checksums-cli.test BTest baseline updates for -O gen-C++ 2023-05-05 12:03:00 -07:00
checksums.test
checksums_ignore_nets.test
checksums_ignore_nets_runtime_update.test
cisco-fabric-path.zeek The cisco-fabric-path pcap used in tests doesn't need the -C argument 2024-11-15 16:50:10 -07:00
command-line-option-redefs.zeek
conn-generic-packet-threshold.zeek Allow for multiple generic packet thresholds 2025-07-08 11:29:06 +02:00
conn-size-threshold.zeek
conn-stats.zeek ConnStats: Expose num_packets_unprocessed 2025-07-28 14:10:53 +02:00
conn-uid.zeek Spelling testing 2022-11-16 20:05:03 -05:00
connection_flip_roles.zeek
connection_flipped.zeek Conn: In-place val flip and connection_flipped() 2023-07-04 20:01:17 +02:00
connection_status_update.zeek
dict-iteration-expire-3523.zeek Dict: Invalidate iterators during Clear() 2024-01-09 09:12:21 +01:00
dict-iteration-expire1.zeek ZAM maintenance for recent changes and some newly exercised corner cases 2022-05-01 14:33:58 -07:00
dict-iteration-expire4.zeek testing/btest/*zeek: Comment all @TEST lines 2025-04-17 16:30:23 +02:00
dict-iteration-expire5.zeek testing/btest/*zeek: Comment all @TEST lines 2025-04-17 16:30:23 +02:00
discarder.zeek annotate a number of BTests as unsuited for -O gen-C++ testing due to multiple Zeek runs 2025-09-03 11:19:38 -07:00
div-by-zero.zeek
dns-init.zeek Remove deprecations tagged for v8.1 2025-08-12 10:19:03 -07:00
doctest.zeek Add btest that runs the doctest-based unit tests. 2022-07-19 11:35:09 +02:00
embedded-null.zeek
empty_conn_weird.zeek
enum-redef-exists.zeek
erspan.zeek Btests: don't use -C in Zeek invocations that don't actually need it 2025-06-06 13:46:45 -07:00
erspanI.zeek Btests: don't use -C in Zeek invocations that don't actually need it 2025-06-06 13:46:45 -07:00
erspanII.zeek Btests: don't use -C in Zeek invocations that don't actually need it 2025-06-06 13:46:45 -07:00
erspanIII.zeek Btests: don't use -C in Zeek invocations that don't actually need it 2025-06-06 13:46:45 -07:00
ether-addrs.zeek Btests: don't use -C in Zeek invocations that don't actually need it 2025-06-06 13:46:45 -07:00
event-arg-reuse.zeek
event-trace.zeek btest/core: Add event-trace test 2025-05-19 18:23:08 +02:00
expire-all-timers.zeek Add btest for expiration of all pending timers. 2022-11-27 15:02:09 +01:00
expired-conn-weird.zeek
expr-exception.zeek More robust memory management for ZAM execution - fixes #4052 2024-11-26 17:05:38 +01:00
fake_dns.zeek Remove deprecations tagged for v8.1 2025-08-12 10:19:03 -07:00
file-analyzer-violation.zeek testing/btest/*zeek: Comment all @TEST lines 2025-04-17 16:30:23 +02:00
global_opaque_val.zeek
history-flip.zeek Optimize Conn::set_conn to minimize operations 2025-07-29 09:11:57 +01:00
init-error.zeek Force event order in core/init-error btest 2022-08-24 12:47:25 +10:00
ip-broken-header.zeek
ipv6-atomic-frag.test
ipv6-flow-labels.test
ipv6-frag.test
ipv6_esp.test
ipv6_ext_headers.test
ipv6_zero_len_ah.test
linuxsll2.zeek Skip test based on preprocessor flag set by cmake 2022-08-24 12:47:32 +10:00
load-duplicates-links.zeek
load-duplicates.zeek updates for gen-C++ maintenance, including skipping some inappropriate tests 2022-08-01 16:47:17 -07:00
load-file-extension.zeek testing/btest/*zeek: Comment all @TEST lines 2025-04-17 16:30:23 +02:00
load-pkg.zeek testing/btest/*zeek: Comment all @TEST lines 2025-04-17 16:30:23 +02:00
load-prefixes.zeek annotate a number of BTests as unsuited for -O gen-C++ testing due to multiple Zeek runs 2025-09-03 11:19:38 -07:00
load-relative.zeek testing/btest/*zeek: Comment all @TEST lines 2025-04-17 16:30:23 +02:00
load-stdin.zeek updates for gen-C++ maintenance, including skipping some inappropriate tests 2022-08-01 16:47:17 -07:00
load-unload.zeek testing/btest/*zeek: Comment all @TEST lines 2025-04-17 16:30:23 +02:00
local-flip.zeek Optimize Conn::set_conn to minimize operations 2025-07-29 09:11:57 +01:00
max-analyzer-violations.zeek test: Add btest verifying max_analyzer_violations functionality 2022-11-08 16:44:34 -07:00
mobile-ipv6-dst-opts.test
mobile-ipv6-home-addr.test
mobile-ipv6-routing.test
mobility-checksums.test
mobility_msg.test
mpls-in-vlan.zeek
network-time-init.zeek
network-time.zeek
nflog.zeek
nop.zeek
option-errors.zeek testing/btest/*zeek: Comment all @TEST lines 2025-04-17 16:30:23 +02:00
option-priorities.zeek
option-redef.zeek
option-runtime-errors.zeek testing/btest/*zeek: Comment all @TEST lines 2025-04-17 16:30:23 +02:00
option-zeek-done.zeek option.bif: Short-circuit option changes when terminating 2022-07-29 18:22:03 +02:00
packet-analyzer-override.zeek Add reporter framework to core.packet-analyzer-override btest 2023-03-30 12:28:39 -07:00
parse-only-signature-file-issues.zeek testing/btest/*zeek: Comment all @TEST lines 2025-04-17 16:30:23 +02:00
parse-only-usage-issues.zeek
pbb.zeek Add btest for PBB and update baselines 2023-02-15 14:36:26 -07:00
pcap_file_done.zeek
ppp.test btest/core/ppp: Run test in bare mode 2023-10-11 15:13:23 +02:00
pppoe-over-qinq.zeek Spicy SSL analyzer: make record layer version parsing more strict 2025-06-26 16:57:51 +01:00
pppoe.test
print-bpf-filters.zeek ci/btest: Remove spicy-quic helper, disable Spicy on CentOS 7 2023-10-11 17:17:23 +02:00
print-interval.zeek
proc-status-file.zeek
protocol-registration-error.zeek
q-in-q.zeek
radiotap.zeek Remove @load base/frameworks/dpd from tests 2022-08-31 17:00:55 +02:00
raw-truncation.zeek Add length checking to ToRawPktHdrVal for truncated packets 2023-05-19 09:37:18 -07:00
raw_packet.zeek
reassembly.zeek
record-field-defer-parse-time-nested.zeek testing/btest: Un-deferred record initalization tests 2023-09-12 12:12:46 +02:00
record-field-defer-parse-time.zeek testing/btest: Un-deferred record initalization tests 2023-09-12 12:12:46 +02:00
record-field-defer-table.zeek testing/btest: Un-deferred record initalization tests 2023-09-12 12:12:46 +02:00
record-field-defer.zeek testing/btest: Un-deferred record initalization tests 2023-09-12 12:12:46 +02:00
record-field-redef-errors.zeek testing/btest: Fix double commented @TEST- lines 2025-05-06 14:06:29 +02:00
record-field-redef.zeek Support redef'ing the &log attribute of record fields 2022-08-10 17:27:05 +02:00
recursive-event.zeek btest: More verbose recursive-event output 2023-03-23 12:41:56 +01:00
recursive-types.zeek
reporter-error-in-handler.zeek Spelling testing 2022-11-16 20:05:03 -05:00
reporter-fmt-strings.zeek
reporter-parse-error.zeek
reporter-paths.zeek testing/btest/*zeek: Comment all @TEST lines 2025-04-17 16:30:23 +02:00
reporter-runtime-error.zeek
reporter-shutdown-order-errors.zeek
reporter-type-mismatch.zeek
reporter-weird-sampling-disable.zeek
reporter-weird-sampling-global.zeek Btests: don't use -C in Zeek invocations that don't actually need it 2025-06-06 13:46:45 -07:00
reporter-weird-sampling.zeek
reporter.zeek
save-load-seeds.zeek util/init_random_seed: write_file implies deterministic 2025-02-04 11:57:51 +01:00
script-args.zeek btest: Skip core.script-args under TSAN 2024-08-08 15:32:20 +02:00
seed-errors.zeek Introduce ZEEK_SEED_VALUES environment variable 2023-05-12 19:50:37 +02:00
seed.zeek Introduce ZEEK_SEED_VALUES environment variable 2023-05-12 19:50:37 +02:00
sigterm-regular.sh Add btests to verify Zeek's handling of SIGTERM and reading stdin 2022-07-09 11:17:14 -07:00
sigterm-stdin.sh Add btests to verify Zeek's handling of SIGTERM and reading stdin 2022-07-09 11:17:14 -07:00
skip_analyzer.zeek
tcp-padding.zeek Merge remote-tracking branch 'origin/topic/johanna/tcp-padding' 2023-08-03 07:18:49 +01:00
truncation.test
udp-broadcast-no-flip.zeek IPBasedAnalyzer: Don't flip connections when destination is broadcast 2023-08-28 12:15:55 +02:00
udp-content-ports.zeek
udp-contents-delivery-ports-use-resp.zeek
udp-padding.zeek Do not forward padding to downstream TCP packet analyzer 2023-08-02 17:17:01 +01:00
unknown-ip-protocol.zeek Add conn.log entries for connections with unhandled IP protocols 2024-11-13 11:25:40 -07:00
unknown-protocol-event.zeek Update btest baselines for analyzer history 2024-08-12 12:21:09 +02:00
unknown-protocol-log.zeek Add btest for unknown_protocols.log 2024-12-10 14:54:19 +01:00
vector-assignment.zeek
vlan-mpls.zeek Special case HTTP 0.9 early on 2023-03-10 09:52:34 -07:00
vntag-in-vlan.zeek Add analyzer registration from VLAN to VNTAG 2025-03-18 11:51:27 -07:00
vntag.zeek Add conn.log entries for connections with unhandled IP protocols 2024-11-13 11:25:40 -07:00
when-interpreter-exceptions.zeek
wlanmon.zeek Remove @load base/frameworks/dpd from tests 2022-08-31 17:00:55 +02:00
x509-generalizedtime.zeek