Merge remote-tracking branch 'origin/topic/timw/4281-unconditionally-forward-out-of-snap'

* origin/topic/timw/4281-unconditionally-forward-out-of-snap:
  Make SNAP analyzer use both OUI and protocol for forwarding
  Change packet analyzer identifiers to be 64-bit
This commit is contained in:
Tim Wojtulewicz 2025-04-08 10:59:15 -07:00
commit 30d2642272
9 changed files with 42 additions and 25 deletions

View file

@ -0,0 +1,11 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
#separator \x09
#set_separator ,
#empty_field (empty)
#unset_field -
#path unknown_protocols
#open XXXX-XX-XX-XX-XX-XX
#fields ts analyzer protocol_id first_bytes analyzer_history
#types time string string string vector[string]
XXXXXXXXXX.XXXXXX SNAP 0xc2000 01b4dff0000100065231 ETHERNET,SNAP
#close XXXX-XX-XX-XX-XX-XX

View file

@ -48,3 +48,5 @@ Trace Index/Sources:
https://zeekorg.slack.com/archives/CSZBXF6TH/p1738261449655049
- tunnels/geneve-tagged-udp-packet.pcap
Provided by Eldon Koyle Corelight for testing.
- cdp-v1.pcap
From the Wireshark library of captures at https://wiki.wireshark.org/samplecaptures.

Binary file not shown.

View file

@ -0,0 +1,4 @@
# @TEST-EXEC: zeek -r $TRACES/cdp-v1.pcap %INPUT
# @TEST-EXEC: btest-diff unknown_protocols.log
@load policy/misc/unknown-protocols