Andrey Smirnov 6f3cd05935
refactor: update packet capture to use 'afpacket' interface
First of all, this interface is way more performant than `pcap`
interface. It is Linux-specific, but we don't care in Talos Linux :)

Second, this drop dependency of `machined` on `gopacket/layers` package,
which has huge issues with memory allocations and startup time.

This cuts around 20MiB of process RSS for all Talos processes.
(`talosctl` still requires this `gopacket/layers` library for decoding
packets).

Fixes #7880

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2023-11-07 15:52:04 +04:00
..
2023-10-17 17:41:38 +04:00
2023-10-17 17:41:38 +04:00
2023-09-22 12:13:13 +04:00
2023-07-12 20:41:28 +05:30
2023-09-22 12:13:13 +04:00
2023-09-22 12:13:13 +04:00
2023-07-18 12:58:45 +05:30
2023-08-03 21:17:58 +04:00
2023-09-22 12:13:13 +04:00