1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-09-26 18:01:01 +02:00
fastnetmon-rewritten/docs/FreeBSD_INSTALL.md
2015-06-06 23:18:55 +03:00

1.0 KiB

FreeBSD 9, 10, 11 and Dragonfly BSD 4.0

Install dependencies:

pkg install cmake git ncurses boost-all log4cpp

Update linker paths:

/etc/rc.d/ldconfig restart
mkdir /usr/local/src
cd /usr/local/src
git clone https://github.com/FastVPSEestiOu/fastnetmon.git
cd fastnetmon/src
mkdir build
cd build
cmake ..
make

Or you can try native FreeBSD port (will be added to port tree soon):

pkg install cmake git ncurses boost-all log4cpp
/etc/rc.d/ldconfig restart

mkdir /usr/local/src
cd /usr/local/src
git clone https://github.com/FastVPSEestiOu/fastnetmon.git
cd fastnetmon/src/FreeBSD_port/
make makesum
make install 

And please switch capture interface to promisc mode.

Add into /etc/rc.conf following line (for applying this option at boot time):

ifconfig_ix1="up promisc"

And switch it with ifconfig for already running system:

ifconfig ix1 promisc

For netmap support you may need compile kernel manually with this manual.