#!/bin/sh
/etc/csf/csf.pl -td $value 24h BFM IP Block
exit $?;
Thank you, but if I using script without csf, It just protect directadmin and directadmin with other sevices in drectamdin ?)http://help.directadmin.com/item.php?id=380 it's just a script you can use at own risk.
Personally I use it with CSF:
/usr/local/directadmin/scripts/custom/brute_force_notice_ip.sh
Code:#!/bin/sh /etc/csf/csf.pl -td $value 24h BFM IP Block exit $?;
This script just work on csf. You can't use without csf. And if you use it, it will protect all directadmin and services.
iptables-save | grep DROP
In CSF you can also search for an IP address, it will look through iptables.
Also after it's blocked with CSF, DA might still send a notification I experienced.