mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-24 02:23:27 +08:00
88d16c2dc6
Improve decoding of BSN vendor commands: update printing of commands that set/get mirror port reporting flag, add decoding of shell exec commands. Introduce decoding of vendor-specific actions with BSN as the first such vendor and "mirror" as the first such BSN action. Add a new test case based on a packet capture produced using Trema controller and an Arista 7050SX-64 switch in Arista Networks' test lab. Besides the structures above the capture contains the following items: * OFPT_QUEUE_GET_CONFIG_REPLY with 0 queues (a valid edge case) * OFPT_FEATURES_REPLY with ports 21 and 23 having bogus "config" field (a violation of the protocol, which required temporary patching of the controller to avoid the session shutdown) * a set of IP mask manipulation BSN-specific commands
6.5 KiB
6.5 KiB