mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-09-26 18:01:01 +02:00
1.0 KiB
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.