Wi-Fi: OpenBSD
Added: 2024-01
The OpenBSD Wi-Fi source captures from Wi-Fi interfaces on OpenBSD, using the net80211 monitor mode support and libpcap.
The OpenBSD Wi-Fi source is still under development, and has significant limitations; see Limitations below.
The source should be configured with the type set explicitly:
source=iwm0:type=openbsdwifi
Supported hardware
Any OpenBSD Wi-Fi interface supporting monitor mode can be used. Interfaces in the wlan interface group are listed as available sources.
Compiling OpenBSD Wi-Fi support
OpenBSD Wi-Fi support is built automatically when compiling Kismet on OpenBSD, and requires libpcap.
The capture tool must run as root to control the interface; install it with make suidinstall, or run Kismet as root.
On other platforms the OpenBSD Wi-Fi source can only be used as a remote capture from an OpenBSD system.
Kismet OpenBSD Wi-Fi support
When the source is opened, Kismet places the interface in monitor mode and brings it up. Kismet also assigns a random MAC address to the interface.
Packets are captured with radiotap headers and processed as normal 802.11 frames.
OpenBSD Wi-Fi source parameters
Naming and description options
All data sources accept the common naming and description options.
Channel options
The OpenBSD Wi-Fi source supports the common channel and hopping options. The channel list is read from the interface.
channel={ channel number }
Filtering options
filter_mgmt={ true } / { false }
truncate_data={ true } / { false }
Debugging options
verbose={ true } / { false }
statistics={ true } / { false }
Limitations
The OpenBSD Wi-Fi source currently has these limitations:
- Only 2.4GHz channels are tuned correctly. HT and VHT channels (such as
6HT40+) are not supported. - The
ht_channels,vht_channels,default_ht20,expand_ht20,band24ghz,band5ghz, andband6ghzoptions are accepted for compatibility with the Linux Wi-Fi source, but have no effect. - The
filter_locals,filter_interface, andfilter_addressoptions are accepted, but no filter is applied. - The source does not auto-detect interfaces reliably; always set
type=openbsdwifi. - The interface MAC address is changed when the source opens, and the source UUID is generated from it, so the UUID changes each time the source opens. Set a fixed UUID with the
uuid=option if needed.