Sniffing V2X/DSRC with LibreSDR B210/B220 AD9361 on Linux

Continuing with the last post, here’s how to conifgure the LibreSDR B210/B220 to sniff V2X/DSRC traffic.

First lets install some dependencies:

sudo apt install gnuradio gnuradio-dev cmake libsndfile1 libsndfile1-dev

Next lets follow this awesome GitHub Repo’s instructions

Now within GNURadio Companion open the following:

/opt/gr-iee802-11/examples/wifi_phy_hier.gcr

Now run it then exit GNURadio and reopen it.

Now open the following to confirm that the software side is all good:

/opt/gr-iee802-11/examples/wifi_loopback.gcr

Boom, easy enough. Now lets start sniffing!

First open:

/opt/gr-iee802-11/examples/wifi_rx.gcr

And add your device address to the UHD properties:

Now right click Wireshark Connector and File Sink and enable them.

Now run it!

On the other device which will be sending the V2X traffic, ensure that they’re sending on the same channel.

You should see something like:

Note the groupings as it receives the traffic.

You can then double check by looking at the pcap with:

tcpdump -r /tmp/wifi.pcap

Notice the ethertype 0x88b5 which is DSRC/WAVE/V2x.

END TRANSMISSION

Leave a Reply