...Updated my patch for #tcpdump / #libpcap to add #batman_adv support. The patch is nearing 3 years of getting no full review... and I have no clue why that is.
This patch allows to filter for specific batman-adv packet types. And allows to filter within a packets payload by adjusting offsets, like "tcpdump ... 'batadv 15 bcast and arp' ". Very handy for debugging, especially on devices with limited resources, as libpcap uses #BPF on #Linux.
finally got around to write a PoC for a #rust-based #libpcap analysis/interceptor tool. But since https://crates.io/crates/pcap uses unsafe rust to wrap around the native libpcap library, there's no way to build the binary statically, right? The target system on which the binary shall be executed on must provide the libpcap.so?
I also used https://www.tcpdump.org/linktypes.html as reference fyi