Page 1 of 1

Request: IP Block (Class A/B/C/D)

Posted: Sun Feb 04, 2007 2:36 pm
by Loopy
I'd like to request, if possible, an IP Block plugin. I'm not talking about comments, I'm talking about access.

I have a list of IP addresses of people who persistently spam, or try to hack my servers. I'd like to be able to block them entirely from my blog. I'd also like to block at the class level (e.g. 192.168.0.XXX for example, or 192.168.XXX.XXX). Blocking would result in them getting either a "Access Denied" error on the screen, or would pop up in an authentication window (as in the HTTP 403 Forbidden code) -- this would allow the author to continue blogging, even though the IP address they're using has been blocked.

Loopy

Posted: Sun Feb 04, 2007 6:00 pm
by abdussamad
If your using cpanel you can do that with the ip deny manager.

Posted: Sun Feb 04, 2007 10:49 pm
by Loopy
Problem is I can't access cpanel all the time, and what about people who do not use cpanel?

Posted: Tue Feb 06, 2007 10:15 am
by garvinhicking
Hi!

Blocking based on IPs should best be done at apache level, not at application level.

Thus, editing the .htaccess file to block/deny IP ranges is the best way to go, without the interaction of Serendipity - if s9y would block a request, it would first be loaded completely, but when apache does the blocking, no traffic and CPU time must be spent for s9y.

Best regards,
Garvin

Posted: Tue Feb 06, 2007 12:15 pm
by Loopy
Okay, thanks for the advise. Not the solution I was hoping for, but it will have to do.