13 lines
387 B
Plaintext
13 lines
387 B
Plaintext
# @TEST-EXEC: zeek -b -C -r $TRACES/ntp/misordered-ntp.pcap %INPUT
|
|
# @TEST-EXEC: btest-diff ntp.log
|
|
# @TEST-EXEC: btest-diff conn.log
|
|
# @TEST-EXEC: btest-diff .stdout
|
|
|
|
@load base/protocols/conn
|
|
@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, c$history);
|
|
}
|