mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-09-22 22:20:56 +02:00
871 B
871 B
Redis backend
I introduced Redis support for store information about attacks.
How to compile:
Install dependencies:
# Debian like distros
apt-get install -y libhiredis-dev
# RedHat like distros
yum install -y hiredis-devel
Uncomment lines regarding redis in CMakeLists.txt
And compile:
cd /usr/src/fastnetmon/src/build
cmake ..
make
Please call redis-cli
and input following commands
keys *
1) "10.10.10.200_flow_dump"
2) "10.10.10.200_information"
3) "10.10.10.200_packets_dump"
Basic information about attack (stored immediately)
get 10.10.10.200_information
Complete flow dump for attack if flow tracking enabled (stored immediately)
get 10.10.10.200_flow_dump
Complete per packet attack dump (stored with some delay; can be absent in some cases of slow attacks)
get 10.10.10.200_packets_dump