1
0
Fork 0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-05-10 04:26:11 +02:00
fastnetmon-rewritten/src/juniper_plugin/notify_about_attack.sh

17 lines
410 B
Bash
Raw Normal View History

2018-12-06 18:33:42 +01:00
#!/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