Premier jet concernant nfsen
This commit is contained in:
parent
b721e7d37d
commit
6e60f49eec
|
@ -94,6 +94,38 @@ Quelques exemples utiles :
|
||||||
# nfdump -M /var/cache/nfdump -R . 'proto tcp and dst host 192.0.2.1 and dst port 80' -s srcip/flows
|
# nfdump -M /var/cache/nfdump -R . 'proto tcp and dst host 192.0.2.1 and dst port 80' -s srcip/flows
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
## NfSen
|
## NfSen & nfdump
|
||||||
|
|
||||||
TODO
|
### Installer le module PERL Socket6
|
||||||
|
|
||||||
|
~~~
|
||||||
|
perl -MCPAN -e 'install Socket6'
|
||||||
|
~~~
|
||||||
|
|
||||||
|
### Installer nfdump
|
||||||
|
|
||||||
|
~~~
|
||||||
|
wget https://sourceforge.net/projects/nfdump/files/stable/nfdump-1.6.13/nfdump-1.6.13.tar.gz/download
|
||||||
|
tar zxvf nfdump-1.6.13.tar.gz
|
||||||
|
cd nfdump-1.6.13
|
||||||
|
./configure --enable-nfprofile --enable-nftrack
|
||||||
|
make && make install
|
||||||
|
~~~
|
||||||
|
|
||||||
|
### Installer nfsen
|
||||||
|
|
||||||
|
~~~
|
||||||
|
wget https://sourceforge.net/projects/nfsen/files/stable/nfsen-1.3.8/nfsen-1.3.8.tar.gz/download
|
||||||
|
tar zxvf nfsen-1.3.8.tar.gz
|
||||||
|
cd ./nfsen-1.3.8
|
||||||
|
cp etc/nfsen-dist.conf /etc/nfsen.conf
|
||||||
|
vim /etc/nfsen.conf
|
||||||
|
mkdir -p /opt/nfsen/data/nfsen
|
||||||
|
mkdir -p /opt/nfsen/www
|
||||||
|
adduser nfsen
|
||||||
|
adduser nfsen www-data
|
||||||
|
chown -R nfsen:www-data /opt/nfsen
|
||||||
|
./install.pl /etc/nfsen.conf
|
||||||
|
cd /opt/nfsen/data/nfsen/bin/
|
||||||
|
./nfsen start
|
||||||
|
~~~
|
||||||
|
|
Loading…
Reference in a new issue