mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

- Use `-b` most everywhere, it will save time. - Start some intel tests upon the input file being fully read instead of at an arbitrary time. - Improve termination condition for some sumstats/cluster tests. - Filter uninteresting output from some supervisor tests. - Test for `notice_policy.log` is no longer needed.
17 lines
540 B
Text
17 lines
540 B
Text
# @TEST-EXEC: zeek -b -r $TRACES/arp-leak.pcap %INPUT
|
|
# @TEST-EXEC: btest-diff .stdout
|
|
|
|
event arp_request(mac_src: string, mac_dst: string, SPA: addr, SHA: string, TPA: addr, THA: string)
|
|
{
|
|
print "REQ", mac_src, mac_dst, SPA, SHA, TPA, THA;
|
|
}
|
|
|
|
event arp_reply(mac_src: string, mac_dst: string, SPA: addr, SHA: string, TPA: addr, THA: string)
|
|
{
|
|
print "REP", mac_src, mac_dst, SPA, SHA, TPA, THA;
|
|
}
|
|
|
|
event bad_arp(SPA: addr, SHA: string, TPA: addr, THA: string, explanation: string)
|
|
{
|
|
print "BAD", SPA, SHA, TPA, THA, explanation;
|
|
}
|