1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sniffer
2018-09-26 20:39:32 +02:00
..
tools sniffer: adapt parsing script 2018-09-26 20:39:30 +02:00
main.c sniffer: reduce rawdump thread stack size 2018-09-26 20:39:32 +02:00
Makefile sniffer: use fmt instead of printf 2018-09-26 20:38:18 +02:00
README.md sniffer: re-add sniffer 2015-09-10 00:10:12 +02:00

About

This application is build to run together with the script RIOTBASE/dist/tools/sniffer/sniffer.py as sniffer for (wireless) data traffic. This application works with any board with any network device that supports the gnrc network stack (or precisely the gnrc parts up to the link-layer). Further the network device (and it's driver) needs to support promiscuous and raw mode for usable output. Finally the board needs to include auto-initialization code for the targeted network device.

Usage

Compile and flash this application to the board of your choice. You can check if everything on the RIOT side works by connecting to the board via UART and by checking with ifconfig if a network device is available. Further you can check with ifconfig 4 promisc if promiscuous mode is supported and with ifconfig 4 raw if raw mode is supported by the driver/network device.

For further information on setting up the host part, see RIOTBASE/dist/tools/sniffer/README.md.