parent
20150977a5
commit
e439e278f0
|
@ -2,7 +2,7 @@
|
|||
|
||||
#
|
||||
# Hello, lovely FastNetMon customer! I'm really happy to see you here!
|
||||
# Pavel Odintsov, author
|
||||
# Pavel Odintsov, author
|
||||
#
|
||||
|
||||
# This script will get following params:
|
||||
|
@ -14,7 +14,7 @@
|
|||
email_notify="root,please_fix_this_email@domain.ru"
|
||||
|
||||
#
|
||||
# Please be carefult! You should not remove cat >
|
||||
# Please be careful ! You should not remove cat >
|
||||
#
|
||||
|
||||
if [ "$4" = "unban" ]; then
|
||||
|
@ -27,7 +27,7 @@ fi
|
|||
#
|
||||
# For ban and attack_details actions we will receive attack details to stdin
|
||||
# if option notify_script_pass_details enabled in FastNetMon's configuration file
|
||||
#
|
||||
#
|
||||
# If you do not need this details, please set option notify_script_pass_details to "no".
|
||||
#
|
||||
# Please do not remove "cat" command if you have notify_script_pass_details enabled, because
|
||||
|
@ -42,6 +42,6 @@ fi
|
|||
|
||||
if [ "$4" == "attack_details" ]; then
|
||||
cat | mail -s "FastNetMon Guard: IP $1 blocked because $2 attack with power $3 pps" $email_notify;
|
||||
|
||||
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue