pavel-odintsov / fastnetmon

FastNetMon - very fast DDoS sensor with sFlow/Netflow/IPFIX/SPAN support
https://fastnetmon.com
GNU General Public License v2.0
3.4k stars 561 forks source link

fastnetmon.log/fastnetmon_attacks is hardcoded #591

Open evgkrsk opened 7 years ago

evgkrsk commented 7 years ago

We have two instances of Fastnetmon-stable v1.1.3 (seems like current HEAD affected too) with different config files, but both of them write logs to /var/log/fastnetmon.log. Also, both drop attack logs/dumps to /var/log/fastnetmon_attacks. There is no way to determine working instance in any work case (no even PID in log file).

Source code shows that this settings is not customizable by command line argument or config file. It is very inconvenient in such setup.

pavel-odintsov commented 6 months ago

We made them configurable from cmake: https://github.com/pavel-odintsov/fastnetmon/commit/1da33bb50e9ac9794d7f594f0b60751fc0a30bb2