mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-03 19:51:16 +02:00
This uses the `go-packet` library with native bindings for the packet capture (without `libpcap`). This is not the most performant way, but it allows us to avoid CGo. There is a problem with converting network filter expressions (like `tcp port 3222`) into BPF instructions, it's only available in C libraries, but there's a workaround with `tcpdump`. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>