fastnetmon-ng/src/mikrotik_plugin/notify_about_attack.sh
2016-07-04 18:11:58 -03:00

16 lines
357 B
Bash
Executable File

#!/usr/bin/env bash
#
# Fastnetmon: MikroTik RouterOS plugin
#
# by Maximiliano Dobladez - info@mkesolutions.net - http://maxid.com.ar
#
# This script will get following params:
# $1 client_ip_as_string
# $2 data_direction
# $3 pps_as_string
# $4 action (ban or unban)
php -f /opt/fastnetmon/fastnetmon_mikrotik.php $1 $2 $3 $4
exit 0