Netflow
yum install nfdump libpcap-devel libpcap
wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/softflowd/softflowd-0.9.9.tar.gz
tar xvzf softflowd-0.9.9.tar.gz
cd softflowd-0.9.9
./configure
make && make install
/bin/nfcapd -w -D -p 9995 -B 200000 -S 1 -P /var/run/nfsen/p9995.pid -z -I ns99 -l /root/nfsen/ns99
/usr/local/sbin/softflowd -i ens192 -n 127.0.0.1:9995
nfdump -M /root/nfsen/ns99 -T -r 2022/11/02/nfcapd.202211022015 -a -B -c 20
nfdump -M /root/nfsen/ns99 -T -R 2022/11/02/nfcapd.202211021045:2022/11/02/nfcapd.202211022355 -a -B -c 20
nfdump -M /root/nfsen/ns99 -T -R 2022/11/02/nfcapd.202211021045:2022/11/02/nfcapd.202211022355 -n 10 -s ip/flows
Không có nhận xét nào:
Đăng nhận xét