3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-19 01:42:33 +01:00
iwd/monitor
James Prestwood 83a2457550 monitor: add support for limiting PCAP size/count
This implements support for "rolling captures" by allowing iwmon to
limit the PCAP file size and number of PCAP's that are created.
This is a useful feature when long term monitoring is needed. If
there is some rare behavior requiring iwmon to run for days, months,
or longer the resulting PCAP file would become quite large and fill
up disk space.

When enabled (command line arguments in subsequent patch) the PCAP
file size is checked on each write. If it exceeds the limit a new
PCAP file will be created. Once the number of old PCAP files reaches
the set limit the oldest PCAP will be removed from disk.
2024-12-17 11:24:12 -06:00
..
display.c monitor: Use include path from top source directory 2019-12-13 09:04:15 +01:00
display.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
iwmon.rst build: Add skeleton manual pages for all installed binaries 2019-09-22 21:57:47 +02:00
main.c monitor: add --time-format,-t option 2024-12-17 11:22:03 -06:00
nlmon.c monitor: add support for limiting PCAP size/count 2024-12-17 11:24:12 -06:00
nlmon.h monitor: add support for limiting PCAP size/count 2024-12-17 11:24:12 -06:00
pcap.c monitor: track current PCAP size 2024-12-17 11:23:56 -06:00
pcap.h monitor: track current PCAP size 2024-12-17 11:23:56 -06:00