Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-19-2007, 10:55 AM   #1
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
ban an entire ip range from acessing my server..

I want to bann all netseer.com crawlers IP's from spidering my website, from linux firewall (iptables)..
There are over 500 different IP's from where they are access my server..
few IP's are:

67.202.22.253
67.202.23.133
67.202.24.156
67.202.24.170

how can i ban this entire IP range? and what is the range that should be banned? it is 67.202.0.0-67.202.255.255 or ..?
__________________
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2007, 11:01 AM   #2
ServerGenius
Confirmed User
 
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
iptables -A INPUT -s 67.202.22.0/24 -j DROP
iptables -A INPUT -s 67.202.23.0/24 -j DROP
iptables -A INPUT -s 67.202.23.0/24 -j DROP
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho |
ServerGenius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2007, 11:09 AM   #3
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
Quote:
Originally Posted by ServerGenius View Post
iptables -A INPUT -s 67.202.22.0/24 -j DROP
iptables -A INPUT -s 67.202.23.0/24 -j DROP
iptables -A INPUT -s 67.202.23.0/24 -j DROP
67.202.22.0/24 means 67.202.22.0-67.202.22.225 ?
__________________
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2007, 11:12 AM   #4
ServerGenius
Confirmed User
 
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
Quote:
Originally Posted by alex79 View Post
67.202.22.0/24 means 67.202.22.0-67.202.22.225 ?
Yes a /24 is 255 ip addresses or a Class C range.
/32 is 1 ip address it's a bitmask number
4 octets (4 x 8 = 32)
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho |

Last edited by ServerGenius; 11-19-2007 at 11:14 AM..
ServerGenius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.