in Home

NDPMon running in Raspberry Pi

After my previous example, i decided to install NDPMon (the fantastic tool to monitor the Neighbor Discovery Protocol) in a small box and well, the Raspberry Pi is my the best option: is small, cheaper, linux powered and fun, very fun.

My Raspberry runs Debian 7, so the main instructions posted in the official project website, almost not change. Please check that you have ipv6 enabled and working using any path. With this complete, run the next command as root user (or via sudo, as you want).

First, install dependencies:

apt-get install build-essential libpcap-dev libssl-dev libtool autoconf automake autotools-dev libxml2-dev libxslt1-dev bsd-mailx wireshark

After, I decided to use nginx as web server, is small and powerful.

apt-get install nginx

Finally, download ndpmon and compile it.

wget -c
tar -zxvf ndpmon_2.1.0.tar.gz -C /usr/local/src
cd /usr/local/src/ndpmon_2.1.0/
autoreconf -vi
./configure --prefix=/usr/local  --with-var-datadir=/var/local/lib   --with-confdir=/usr/local/etc --enable-mac-resolv  --enable-webinterface --with-webdir=/usr/share/nginx/www --enable-syslog --enable-countermeasures  
make && make install

The parameter –with-webdir changed because uses the nginx documentroot.

To run the service:

/etc/init.d/ndpmon start
/etc/init.d/nginx restart

For more information, go to the project web site

ndmon in raspberry

ndmon in raspberry

Write a Comment