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

37 lines
1.2 KiB
Markdown
Raw Normal View History

2015-04-24 12:55:42 +02:00
FreeBSD 9, 10, 11 and Dragonfly BSD 4.0
2015-02-10 14:38:00 +01:00
Stable version 1.1.2 is already in [official FreeBSD ports](https://freshports.org/net-mgmt/fastnetmon/) but if you want to hack it or install development version, please use this script.
2015-02-10 14:38:00 +01:00
2015-09-21 11:15:12 +02:00
Please install wget:
```bash
2015-09-21 11:16:41 +02:00
pkg install -y wget perl5
2015-09-21 11:15:12 +02:00
```
Install stable 1.1.2 version:
2015-02-10 14:38:00 +01:00
```bash
wget --no-check-certificate https://raw.githubusercontent.com/FastVPSEestiOu/fastnetmon/master/src/fastnetmon_install.pl -Ofastnetmon_install.pl
sudo perl fastnetmon_install.pl
2015-02-10 14:38:00 +01:00
```
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
```
2015-06-06 22:18:55 +02:00
And please switch capture interface to promisc mode.
Add into /etc/rc.conf following line (for applying this option at boot time):
```bash
ifconfig_ix1="up promisc"
```
And switch it with ifconfig for already running system:
```bash
ifconfig ix1 promisc
```
2015-06-25 18:24:31 +02:00
Please put your networks in CIDR format here: /usr/local/etc/networks_list.
2015-03-13 16:35:39 +01:00
For netmap support you may need compile kernel manually with this [manual](BUILDING_FREEBSD_KERNEL_FOR_NETMAP.md).