Strangely Perfect

This is Our World

How to Quickly Block an IP Address from your Website

| 1 Comment

Use .htaccess!!!

*Ebook Admin/Secure Apache

I’ve mentioned it before – and the technique I used to use a lot with a huge list of blocked IP addresses.  I then decided that the list was too time consuming to maintain and stopped using it except in extreme cases about the end of last year.  Such a thing was last night when I got 3 spam comment hits in rapid succession.  (is that all, I can hear the cries!).  The thing is, I hardly get to see spam because of the measures I’ve used.

But seeing spam is not the same as receiving spam!

So what I did was to quickly add a single block until this little episode is passed, probably a day or so.  It relates to this this comment here: http://strange…google-treasure-chest-phone-and-address-list/#comment-1399

This is what I added to my site’s .htaccess file:

#who has access who doesn't
order allow,deny
deny from 78.32.230.59
allow from all
#end access blocking list

Simple innit!  WordPress and it’s plugins doesn’t even get to see the ping.  Any pings from 78.32.230.59 are effortlessly palmed away.    The order of the ‘allow,deny’ is important…

Extra Investigation

I did a Google Search on a part of the text that looks really weird here:

http://www.google.com/search?q=%22Wall+clock.+I+found+only+this%22

The text in the message I used is : “Wall clock. I found only this”

There are HUNDREDS of comment spams on websites that should really be protecting themselves better.  Websites devoted to Alzheimers Disease and even Amnesty International!

Related posts:

  1. Google Treasure Chest – Phone and Address List
    Pre-script Comments are now closed on this posting as Google Treasure Chest is dead. However, the problem has not gone...
  2. Weird Email Address in WordPress Registration Spam
    My Crawling Chaos website refused access to a registration spammer recently.  They had the email address of … auiq.a.j.i.a.p.y.c.e.2.0.3.6.6@gmail.com This...
  3. Robert G Allen, Grants, and a Credit Card Slimeball
    Introduction This is a small investigation into mail lists and scammy companies.  Some companies are fine, but I always go...
  4. Back to Doing the TanTan
    I’ve gone back to enabling the TanTanNoodles Simple Spam Filter on my WordPress installation.  I didn’t realise what spam it...
  5. Spam Pings from American University
    It’s happened again! Actually, it’s happened several times but this is the first post on it… While looking at my...

Author: Strangely

The last remaining founder member of the band that would go on to publish as Crawling Chaos. SGI buddhist. Programmer and software development.

One Comment

  1. Pingback: Pligg Comment Spam | Strangely Perfect

Leave a Reply

Required fields are marked *.

*


Powered by Sweet Captcha
Verify your real existence,
Drag the knife to the bathroom
  • captcha
  • captcha
  • captcha
  • captcha

Attach a file Uploading File types: jpg, png, gif, zip,pdf, Max size: 3Mbytes, Max count: 3