Skip to content

dog-ai/dhcprl

Repository files navigation

👀 Monitor DHCP requests on a LAN 💻

Build Status Coverage Status

Monitor DHCP requests on a LAN.

How to use

Use it in your terminal

Run the daemon listening to requests on interface eth0 and making them available on socket /var/run/dhcprl.sock

dhcprld -i eth0 -s /var/run/dhcprl.sock

How to build

Clone the GitHub repo

git clone https://github.com/dog-ai/dhcprl.git

Change current directory

cd dhcprl

Create build directory

mkdir build

Change current directory

cd build

Generate Makefile with Raspberry Pi toolchain

cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/rpi/toolchain/armv6-rpi1-linux-gnueabihf.cmake ..

Compile source code

make