Posts Tagged ‘ IP ’

Automatically block aggressive IPs to prevent brute force or DDOS attacks using Bash and IPtables

Oct 11th, 2014 | By

Something I do, mainly because of my ignorance of a more elegant solution, is to manually check my logs every 4 hours and the mail server logs every 2 minutes for excessive access by individual IP’s. I run a few scripts together that: Check the access.log and list off the top 10 IP’s organized by
[continue reading…]



Able to ping IP’s but not domain names in Debian

Jan 23rd, 2012 | By

Well a funny thing happened today and I think might have to do with me changing the router’s static DNS’s to google’s and then changing it back again.. Anyways somewhere along there debian forgot what a DNS was and lost the ability to resolve domains.. IP’s were fine, just not domains.  The router was able
[continue reading…]



Automatically blocking brute-force attacks on your FreeBSD server

Aug 1st, 2011 | By

I was going through my auth.log today and noticed that a simple brute-force attack was underway.  a few hundred attacks from IP’s originating out of HANKUK UNIVERSITY OF FOREIGN STUDIES in Korea(220.67.126.35), Sun Network in China(121.127.231.251) and finally from Vodaphone in Italy(2.40.63.99).  I’m not concerned about them actually breaking through as there are no open accounts
[continue reading…]