mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Add basic LLC, SNAP, and Novell 802.3 packet analyzers
This commit is contained in:
parent
31afe082ac
commit
7e88a2b3fb
30 changed files with 527 additions and 171 deletions
12
testing/btest/scripts/base/protocols/snap/snap-arp.test
Normal file
12
testing/btest/scripts/base/protocols/snap/snap-arp.test
Normal file
|
@ -0,0 +1,12 @@
|
|||
# @TEST-EXEC: zeek -b -r $TRACES/snap-arp.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 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 mac_src, mac_dst, SPA, SHA, TPA, THA;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue