1
0
Fork 0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-04-27 16:55:19 +02:00
fastnetmon-rewritten/src/juniper_plugin/notify_about_attack.sh
2018-12-06 17:33:42 +00:00

17 lines
410 B
Bash
Executable File

#!/usr/bin/env bash
#
# Fastnetmon: Juniper plugin
#
# Author: - info@mkesolutions.net - http://maxid.com.ar
# Modified by Christian David <davidchristia@gmail.com> for juniper implementation
#
# 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_juniper.php $1 $2 $3 $4
exit 0