CRC check using airpcap and pcap

I am writing an application in C using libraries airpcap

and pcap

. I want to ask if there is a ready-made function to check CRC

( FCS

) received packets or it should be calculated manually. In the Airpcap control panel, you can configure the filter FCS

.

One of the functions of the application will be similar to working with a website. I want to ask how to list the detected networks so as not to duplicate them. Compare ssid

or maybe an easier way; is there some parameter that is unique to the network?

+3


source to share


2 answers


I first checked to see if the driver was providing OS

invalid frames. If your driver is capable of providing these invalid frames, then the rest is up to you. Checking your code aircrack-ng

(or other tool) should give you an idea.



Side note for site polling: I would focus on identifying the different ones BSSIDs

that should give you an idea of ​​the radio stations in your neighborhood. The same one SSID

can be used for many overlapping ones BSSes

(of course you will need it at some point too). Look at the various 802.11 frames (start with something simple - like Beacon Frame

).

+2


source


Wireshark has a CRC-32 feature that it uses to check Ethernet and 802.11 FCS when available; check out his Ethernet and 802.11 dissectors. It is licensed under the GNU Public License, version 2 .



0


source







All Articles