16 lines
357 B
Bash
Executable File
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
|
|
|