FastNetMon community Slackware install

Let us assume you have full Slackware install. It is tested with version 14.1 First we need to install libnuma. Download ftp://oss.sgi.com/www/projects/libnuma/download/numactl-2.0.10.tar.gz (or newer version if any).

As root:

Now install log4cpp:

As root:

Now install PF_RING

Install kernel module:

As root:

Install library:

As root:

You must add this line to /etc/ld.so.conf: /opt/pf_ring/lib

Then execute command as root: ldconfig

Now you have all you need for compiling fastnetmon.

If you have some ‘boost’ related errors it is recomended to remove your version of ‘boost’ and install the newest from source. If compiling finishes without errors – you have two binaries – fastnetmon and fastnetmon_client. You can put them for example in /usr/local/bin. You can put /usr/src/fastnetmon/notify_about_attack there too. Copy /usr/src/fastnetmon/fastnetmon.conf to /etc and edit it for your needs. Create /etc/networks_list with your networks in CIDR format (one per line). And you are done – you have installed fastnetmon.

Author: Martin Stoyanov