zeek/testing/btest/core/tcp/tcp-dups.zeek
Jon Siwek db9f81a890 Merge branch 'topic/jsbarber/rexmit-patch' of https://github.com/jsbarber/zeek
* 'topic/jsbarber/rexmit-patch' of https://github.com/jsbarber/zeek:
  Duplicate TCP segment should trigger tcp_multiple_retransmissions
2019-07-29 20:16:48 -07:00

12 lines
329 B
Text

# @TEST-EXEC: zeek -C -r $TRACES/tcp/ssh-dups.pcap %INPUT >out
# @TEST-EXEC: btest-diff out
event tcp_multiple_retransmissions(c: connection, is_orig: bool, threshold: count)
{
print "RETRANSMITS:", c$id, is_orig, threshold, c$history;
}
event connection_state_remove(c: connection)
{
print "REMOVE:", c$id, c$history;
}