![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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 ..? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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 | |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jun 2002
Location: france
Posts: 996
|
67.202.22.0/24 means 67.202.22.0-67.202.22.225 ?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
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 | |
![]() |
![]() ![]() ![]() ![]() ![]() |