I have a relatively small, but aggravating problem on my apache server. Some script kiddie somewhere keeps trying to telnet into my server with a very crude brute force prog. I see it in my auth.log file as
...and so on, the list must be enormous because this will continue until I add a 'deny from 123.123.12.12' from entry into the .htaccess file. The ip is always different.
I'm thinking about setting up a cron script to automatically add this line to my .htaccess file. That shouldn't be too hard. But before I proceed, I wanted to see if anyone had any thoughts, or a better way to address this. TIA-
Joe
Because a thing seems difficult for you, do not think it impossible for anyone to accomplish.
Marcus Aurelius
Code:
Jul 24 14:17:03 localhost sshd[4506]: Illegal user amanda from 218.202.223.244
Jul 24 14:17:05 localhost sshd[4510]: Illegal user rpm from 218.202.223.244
Jul 24 14:17:07 localhost sshd[4512]: Illegal user operator from 218.202.223.244
Jul 24 14:17:10 localhost sshd[4514]: Illegal user sgi from 218.202.223.244
Jul 24 14:17:15 localhost sshd[4518]: Illegal user users from 218.202.223.244
Jul 24 14:17:17 localhost sshd[4520]: Illegal user admins from 218.202.223.244
Jul 24 14:17:19 localhost sshd[4522]: Illegal user admins from 218.202.223.244
Jul 24 14:17:31 localhost sshd[4532]: Illegal user shutdown from 218.202.223.244
Jul 24 14:17:34 localhost sshd[4534]: Illegal user halt from 218.202.223.244
Jul 24 14:17:39 localhost sshd[4538]: Illegal user smmsp from 218.202.223.244
I'm thinking about setting up a cron script to automatically add this line to my .htaccess file. That shouldn't be too hard. But before I proceed, I wanted to see if anyone had any thoughts, or a better way to address this. TIA-
Joe
Because a thing seems difficult for you, do not think it impossible for anyone to accomplish.
Marcus Aurelius