Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)
Author Message
BlueLion
New Member
New Member



Joined: Aug 10, 2004
Posts: 12

PostPosted: Sat Aug 20, 2005 2:14 pm Reply with quote

In the last few weeks my referer table is filled with lot of porn links. I've checked most of them and they came mostly from 1 DNS but different IP's. Sure I can block all referers through the Referer blocker settings or add all IP's but I was wondering if a DNS could be blocked.

For example:
www . assparade . com was one of the latest of this day. Looking it up on [ Only registered users can see links on this board! Get registered or login! ] it results in 1 IP and the nameservers. Looking at all websites hosted on that nameserver I recognize multiple sites which are allready blocked by myself but with different IP's.

Is there I way I can block nameservers?
Maybe I'm looking the wrong way, but I haven't found it yet available in 2.4.0

TIA
BlueLion
 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Aug 20, 2005 3:06 pm Reply with quote

When you get their information like
Quote:
NetRange: 66.230.128.0 - 66.230.191.255
CIDR: 66.230.128.0/18
, it's very easy! Just add this line to your .htaccess
Code:
deny from 66.230.128.0/18

That will block
Code:
66.230.128.0 - 66.230.191.255
 
View user's profile Send private message
BlueLion







PostPosted: Mon Aug 22, 2005 2:45 pm Reply with quote

Yep, your right. Haven't had my thoughts at the .htaccess file because I was looking for a feature in Sentinel. Instead of adding this to the .htaccess, I think the range can also being added to the blocked ranges function in Sentinel now.


BL
 
Raven







PostPosted: Mon Aug 22, 2005 3:36 pm Reply with quote

It can, but that attempts to block it after it's already into your site, so to speak. Using .htaccess will block it at the Web Server level.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©