12-05-2023, 12:42 PM
If the internal BPF compiler is available depend on how hcxdumptool has been compiled (see Makefile).
My version (development system running Arch Linux) is compiled with BPF compiler:
If the internal BPF compiler is disabled, you have to use a third party tool (e.g. tcpdump) to build a filter.
My version (development system running Arch Linux) is compiled with BPF compiler:
Code:
$ hcxdumptool -v
hcxdumptool 6.3.2-70-gdf8f2e6 (C) 2023 ZeroBeat
running on Linux kernel 6.6.3-arch1-1
running GNU libc version 2.38
compiled by gcc 13.2.1
compiled with Linux API headers 6.4.0
compiled with GNU libc headers 2.38
enabled REALTIME DISPLAY
enabled GPS support
enabled BPF compiler