Sample Header Ad - 728x90

Reading wireless beacon frames in linux

0 votes
0 answers
1578 views
I am completely new to networks, and need to find a way to read wireless networks beacon frames data. I did so for windows, using Win32 wlanapi, now need to do the same for linux. I have been trying to port iwlist scanning functionality (which seems to parse bssds beacon frames good enough for me) into a c# app, but without success. As a last shot, I would like to inquire about which other tools in linux do read beacon frames. I prefer reading the frames following the type-length-value structure myself, rather than have it parsed to string. What are the options out there for this ? could you please share an example call for such a tool ? I have been playing (or trying) with: 1. iwlist scanning 2. iw dev [interface name] scan dump -v (does not seem to read beacon frames, at least not as iwlist scanning) 3. wpa_supplicant - not managed to do so, if possible at all 4. libpcap (not tried yet) Remark: UI tools are not suitable. My goal is to have a C# app running at regular intervals reading beacon frames and extracting info from them. Do ultimately all options rely on communicating with linux 80211 driver ? Meaning writing a C program that interfaces the driver a good option, so not to rely in anything else?
Asked by Veverke (378 rep)
Aug 25, 2021, 08:48 PM
Last activity: Aug 26, 2021, 01:36 PM