mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
update tests and add a new one for key_id and mac
This commit is contained in:
parent
2cd2c65fe3
commit
38ad648082
12 changed files with 324 additions and 224 deletions
11
testing/btest/scripts/base/protocols/ntp/ntp-digest.test
Normal file
11
testing/btest/scripts/base/protocols/ntp/ntp-digest.test
Normal file
|
@ -0,0 +1,11 @@
|
|||
# @TEST-EXEC: zeek -C -r $TRACES/ntp/NTP-digest.pcap %INPUT
|
||||
# @TEST-EXEC: btest-diff ntp.log
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
@load base/protocols/ntp
|
||||
|
||||
event ntp_message(c: connection, is_orig: bool, msg: NTP::Message)
|
||||
{
|
||||
print fmt("ntp_message %s -> %s:%d %s", c$id$orig_h, c$id$resp_h, c$id$resp_p, msg);
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue