automating blocking of IP numbers
Posted: 03 Apr 2014, 02:28
hello all -
i have a crontab script that runs every two minutes scanning logfiles for brute-force wordpress login attempts. if i find more than 40 in a one minute period, my script issues the following command something like:
csf --deny 111.222.333.444 ;
this seems to do the same thing as the "Quick Deny" button.
is there a command line equivalent of the "Quick Ignore" button? i am thinking this pesky IP number needs to be put into both places because the "csf --deny" command does not seem to be doing anything (or maybe i misunderstand what it is doing)
also, is there a limit to the number of IP numbers i can block?
thank you all.
i have a crontab script that runs every two minutes scanning logfiles for brute-force wordpress login attempts. if i find more than 40 in a one minute period, my script issues the following command something like:
csf --deny 111.222.333.444 ;
this seems to do the same thing as the "Quick Deny" button.
is there a command line equivalent of the "Quick Ignore" button? i am thinking this pesky IP number needs to be put into both places because the "csf --deny" command does not seem to be doing anything (or maybe i misunderstand what it is doing)
also, is there a limit to the number of IP numbers i can block?
thank you all.