1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-23 17:32:59 +01:00
fastnetmon-rewritten/docs/REDIS.md
2015-08-11 09:27:55 +03:00

24 lines
715 B
Markdown

# Redis backend
I introduced Redis support for storing information about attacks. Redis support is bundled to project installer now. Please use installer with flag --use-git-master if you want Redis support.
Please call ```redis-cli``` and input following commands
```bash
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```