src/juniper_plugin/notify_about_attack.sh
raw| 1 | #!/usr/bin/env bash |
| 2 | # |
| 3 | # Fastnetmon: Juniper plugin |
| 4 | # |
| 5 | # Author: - [email protected] - http://maxid.com.ar |
| 6 | # Modified by Christian David <[email protected]> for juniper implementation |
| 7 | # |
| 8 | # This script will get following params: |
| 9 | # $1 client_ip_as_string |
| 10 | # $2 data_direction |
| 11 | # $3 pps_as_string |
| 12 | # $4 action (ban or unban) |
| 13 | |
| 14 | |
| 15 | php -f /opt/fastnetmon/fastnetmon_juniper.php $1 $2 $3 $4 |
| 16 | exit 0 |
| 17 |