1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-24 02:46:36 +01:00
fastnetmon-rewritten/docs/FreeBSD_INSTALL.md
2015-09-21 12:16:41 +03:00

1.2 KiB

FreeBSD 9, 10, 11 and Dragonfly BSD 4.0

Stable version 1.1.2 is already in official FreeBSD ports but if you want to hack it or install development version, please use this script.

Please install wget:

pkg install -y wget perl5

Install stable 1.1.2 version:

wget --no-check-certificate https://raw.githubusercontent.com/FastVPSEestiOu/fastnetmon/master/src/fastnetmon_install.pl -Ofastnetmon_install.pl 
sudo perl fastnetmon_install.pl

Install development version:

wget --no-check-certificate https://raw.githubusercontent.com/FastVPSEestiOu/fastnetmon/master/src/fastnetmon_install.pl -Ofastnetmon_install.pl 
sudo perl fastnetmon_install.pl --use-git-master

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

Please put your networks in CIDR format here: /usr/local/etc/networks_list.

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