Register FAQ/Rules Forum Spy Search Today's Posts Mark Forums Read

Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate.

 
Go Back   Mac Forums > Special Interests > Web Design and Development
TouchArcade.com - iPhone Game Reviews and News

Reply
 
Thread Tools Search this Thread  
Old Jul 30, 2008, 06:16 PM   #1
Aperture
macrumors 68000
 
Aperture's Avatar
 
Join Date: Mar 2006
Location: PA
Send a message via AIM to Aperture
Block IP Range of City

I know it is possible to block access to a site based on a broad IP range. (of say a country) Would it be possible, though, to obtain an IP range of a city and block access accordingly?

Thanks
__________________
Aluminum Macbook
iPhone 3G
Aperture is offline   Reply With Quote
Old Jul 30, 2008, 06:19 PM   #2
Queso
macrumors 603
 
Queso's Avatar
 
Join Date: Mar 2006
Location: Sota el mar
CIDR blocks (basically ranges of public IP addresses) are allocated to ISPs, not geographically. So unless the place you want to block has a very limited set of service providers you're not going to be able to just blacklist it.
__________________
Gary Ablett's Blue and White Army
Queso is offline   Reply With Quote
Old Jul 30, 2008, 06:33 PM   #3
angelwatt
macrumors 601
 
Join Date: Aug 2005
Location: Dayton, OH
I concur. I've walked down that path before, or at least similar path.
angelwatt is offline   Reply With Quote
Old Jul 30, 2008, 06:36 PM   #4
gauchogolfer
macrumors Demi-God
 
gauchogolfer's Avatar
 
Join Date: Jan 2005
Location: American Riviera
Send a message via AIM to gauchogolfer Send a message via Yahoo to gauchogolfer Send a message via Skype™ to gauchogolfer
Are you trying to block Redmond or Cupertino?
__________________
Victoria Concordia Crescit
gauchogolfer is offline   Reply With Quote
Old Jul 30, 2008, 06:37 PM   #5
Aperture
Thread Starter
macrumors 68000
 
Aperture's Avatar
 
Join Date: Mar 2006
Location: PA
Send a message via AIM to Aperture
Quote:
Originally Posted by Queso View Post
CIDR blocks (basically ranges of public IP addresses) are allocated to ISPs, not geographically. So unless the place you want to block has a very limited set of service providers you're not going to be able to just blacklist it.
Got ya. When I check my external IP online it always estimates my city correctly and I was just curious if there was a way to act on that information.

Quote:
Originally Posted by gauchogolfer View Post
Are you trying to block Redmond or Cupertino?
Nope, I was mainly just curious if it could be setup. Nice guess, though.
__________________
Aluminum Macbook
iPhone 3G
Aperture is offline   Reply With Quote
Old Jul 30, 2008, 06:54 PM   #6
TEG
macrumors 601
 
TEG's Avatar
 
Join Date: Jan 2002
Location: Langley, Washington
Send a message via ICQ to TEG Send a message via AIM to TEG Send a message via MSN to TEG Send a message via Yahoo to TEG Send a message via Skype™ to TEG
The only accept ion is Qatar (I believe), in which the entire nation shares a single IP address.

TEG
__________________
Apple and Dell are the only ones in this industry making money. They make it by being Wal-Mart. We make it by innovation-Steve Jobs
TEG is offline   Reply With Quote
Old Jul 30, 2008, 07:00 PM   #7
Aperture
Thread Starter
macrumors 68000
 
Aperture's Avatar
 
Join Date: Mar 2006
Location: PA
Send a message via AIM to Aperture
Quote:
Originally Posted by TEG View Post
The only accept ion is Qatar (I believe), in which the entire nation shares a single IP address.

TEG
I thought a country had an "IP range" based on the ISPs available in said county because of this site.
__________________
Aluminum Macbook
iPhone 3G
Aperture is offline   Reply With Quote
Old Jul 30, 2008, 07:06 PM   #8
TEG
macrumors 601
 
TEG's Avatar
 
Join Date: Jan 2002
Location: Langley, Washington
Send a message via ICQ to TEG Send a message via AIM to TEG Send a message via MSN to TEG Send a message via Yahoo to TEG Send a message via Skype™ to TEG
To some degree, Countries have IP ranges, but as we get closer to running out of IPv4 addresses, different parties in different countries trade them back and forth, muddying the waters.

TEG
__________________
Apple and Dell are the only ones in this industry making money. They make it by being Wal-Mart. We make it by innovation-Steve Jobs
TEG is offline   Reply With Quote

Reply

Mac Forums > Special Interests > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:21 AM.

Mac News | Mac Rumors | iPhone Game Reviews | iPhone Apps

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright 2002-2009, MacRumors.com, LLC