zeek/testing/btest/core/connection_status_update.zeek
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

12 lines
350 B
Plaintext

# @TEST-EXEC: zeek -b -C -r $TRACES/icmp/5-pings.pcap %INPUT >out
# @TEST-EXEC: btest-diff out
global update_count = 0;
global connection_status_update_interval = 1sec;
event new_connection(c: connection)
{ print "new_connection", c$id; }
event connection_status_update(c: connection)
{ print "connection_status_update", ++update_count, c$id; }