Promiscuous Mode Sample Application¶
This application will enable promiscuous mode for every network interface in the system. It will then start to listen for incoming network packets and show information about them.
The application will also provide a shell so that user can enable
or disable promiscuous mode at runtime. The commands are called
promisc on and
Building and Running¶
There are multiple ways to use this application. In this example QEMU is used:
# On Linux/macOS cd $ZEPHYR_BASE/samples/net/promiscuous_mode mkdir build && cd build # On Windows cd %ZEPHYR_BASE%\samples\net\promiscuous_mode mkdir build & cd build cmake -GNinja -DBOARD=qemu_x86 -DCONF_FILE=<config file to use> .. ninja