Move default path to notify_about_attack.sh to platform specific variables

This commit is contained in:
Pavel Odintsov 2015-06-04 14:10:42 +03:00
parent 061661b5d7
commit 72306ffc89
2 changed files with 3 additions and 3 deletions

@ -13,6 +13,9 @@ std::string global_config_path = "/etc/fastnetmon.conf";
std::string log_file_path = "/var/log/fastnetmon.log";
std::string attack_details_folder = "/var/log/fastnetmon_attacks";
// Default path to notify script
std::string notify_script_path = "/usr/local/bin/notify_about_attack.sh";
// Default path to file with networks for whitelising
std::string white_list_path = "/etc/networks_whitelist";

@ -159,9 +159,6 @@ bool print_average_traffic_counts = true;
// Key used for sorting clients in output. Allowed sort params: packets/bytes/flows
std::string sort_parameter = "packets";
// Path to notify script
std::string notify_script_path = "/usr/local/bin/notify_about_attack.sh";
// Number of lines in programm output
unsigned int max_ips_in_list = 7;