HART-Empire Network II - (All Blogs In Our Network)
HART-Empire Network II - (Pet Related Blogs)
HART-Empire Network II - (Entertainment Blogs)
HART-Empire Network II - (Shopping Blogs)
HART-Empire Network II - (Opinionated Blogs)
HART-Empire Network II - (Small Business & Finance Blogs)
HART-Empire Network II - (Sports Related Blogs)
HART-Empire Network II - (Health & Fitness Blogs)
HART-Empire Network II - (Personal & Security Blogs)

October 16, 2007

How I Ban I.P. Addresses From My Network

Filed under: Hmmmm Things, Quickies, HART-Empire Network — HART -

Every day my dedicated server automatically sends me a “LogWatch” email run at 4:00am every morning. For the most part, there is not much in there to worry about.

However, on some occassions I receive some details such as the following:

sshd:
Authentication Failures:
unknown (66.221.196.201): 6083 Time(s)
~~
etc

What I do is use my PuTTy program (to access SSH) and post ..

iptables -I INPUT -s 66.221.196.201 -j DROP

… and voila - that IP is permanently banned from accessing anything on my server, or in technical terms denies a specific host from accessing my gateway!

It’s a neat trick my server Tech Support taught me to do - and, it works. I wish I was more technically adept at stuff like this, but with a blog .. it’s easier to post about something and search for it later, than find a stickum on my office wall fall down behind my desk onto the floor!

So, if you knew about this - nothing new to see here~! In the meantime, welcome to my new stickum site! hehe

Tags: , ,

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress

|
Theme: Northern-Web-Coders by Kai Ackermann
"Empire'ized" by 1-8-0-0-H-A-R-T
Website: Version 1.1

Bad Behavior has blocked 1690 access attempts in the last 7 days.

Close
E-mail It