mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
QUIC: Introduce discarded_packet() event
And include its occurrence into the history as X. The event raising is configurable with a new const redef QUIC::max_discarded_packet_events.
This commit is contained in:
parent
9345a8c84e
commit
586b7b94cb
15 changed files with 96 additions and 8 deletions
|
@ -0,0 +1,19 @@
|
|||
# @TEST-DOC: Test the QUIC::max_discarded_packet_events setting and its.
|
||||
|
||||
# @TEST-REQUIRES: ${SCRIPTS}/have-spicy
|
||||
|
||||
# @TEST-EXEC: zeek -r $TRACES/quic/quic-39264-rand.pcap base/protocols/quic QUIC::max_discarded_packet_events=-1
|
||||
# @TEST-EXEC: test ! -f analyzer.log || cat analyzer.log >&2
|
||||
# @TEST-EXEC: zeek-cut -m ts uid history service_name < quic.log > quic.log.no-discarded-packets
|
||||
|
||||
# @TEST-EXEC: zeek -r $TRACES/quic/quic-39264-rand.pcap base/protocols/quic QUIC::max_discarded_packet_events=1
|
||||
# @TEST-EXEC: test ! -f analyzer.log || cat analyzer.log >&2
|
||||
# @TEST-EXEC: zeek-cut -m ts uid history service_name < quic.log > quic.log.one-discarded-packet
|
||||
|
||||
# @TEST-EXEC: zeek -r $TRACES/quic/quic-39264-rand.pcap base/protocols/quic
|
||||
# @TEST-EXEC: test ! -f analyzer.log || cat analyzer.log >&2
|
||||
# @TEST-EXEC: zeek-cut -m ts uid history service_name < quic.log > quic.log.default-discarded-packets
|
||||
|
||||
# @TEST-EXEC: btest-diff quic.log.no-discarded-packets
|
||||
# @TEST-EXEC: btest-diff quic.log.one-discarded-packet
|
||||
# @TEST-EXEC: btest-diff quic.log.default-discarded-packets
|
Loading…
Add table
Add a link
Reference in a new issue