Networking Forums

Networking Forums > Computer Networking > Linux Networking > IP ranges used in North America, Hawaii, and Alaska?

Reply
Thread Tools Display Modes

IP ranges used in North America, Hawaii, and Alaska?

 
 
Alan Jones
Guest
Posts: n/a

 
      12-18-2005, 06:38 PM

Is there a list of all IP ranges, perhaps with masking, used in
North America, Hawaii, and Alaska? Might it be better to just
allow those networks rather than hassle with blocking the rest
of the globe?

Thanks
 
Reply With Quote
 
 
 
 
Joe Beanfish
Guest
Posts: n/a

 
      12-19-2005, 07:05 PM
On Sun, 18 Dec 2005 14:38:07 -0500, Alan Jones <(E-Mail Removed)> wrote:

>
> Is there a list of all IP ranges, perhaps with masking, used in
> North America, Hawaii, and Alaska? Might it be better to just
> allow those networks rather than hassle with blocking the rest
> of the globe?


Check tha ARIN website. I'm pretty sure I saw the list of
all blocks there once. http://www.arin.net/
 
Reply With Quote
 
Rod
Guest
Posts: n/a

 
      12-19-2005, 08:53 PM
I think you are trying to do the same thing I am working on. I have come to
the same conclusion. The company that I work for does not do business
outside the USA but we get pounded with SPAM and hacking attempts outside
the USA. I found the following page that defines the North American IP
address ranges: http://www.arin.net/reference/ip_blocks.html#ipv4 .

For a test, for about a week, I have blocked all traffic into our routers
from Asia Pacific. I found those IP address ranges at:
http://www.apnic.net/db/ranges.html . It was amazing how much less SPAM we
received by just blocking those ranges.

My question is, how can I use iptables to define the list of ARIN IP
addresses as a whitelist? I have in mind something like:
iptables -A mybasicfilter -s ! $ARIN -j notallowed
I'm not sure how to define multiple ip ranges for the preceeding example.

If anyone has any ideas on how to implement this, I would appreciate it.

Thanks,

Rod


"Alan Jones" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> Is there a list of all IP ranges, perhaps with masking, used in
> North America, Hawaii, and Alaska? Might it be better to just
> allow those networks rather than hassle with blocking the rest
> of the globe?
>
> Thanks



 
Reply With Quote
 
buck
Guest
Posts: n/a

 
      12-19-2005, 09:13 PM
On Sun, 18 Dec 2005 14:38:07 -0500, Alan Jones <(E-Mail Removed)>
wrote:

>
>Is there a list of all IP ranges, perhaps with masking, used in
>North America, Hawaii, and Alaska? Might it be better to just
>allow those networks rather than hassle with blocking the rest
>of the globe?
>
>Thanks


I suggest you try this. It is not 100% accurate, but it is certainly
better than IANA and it gets updated every day.

http://ip.ludost.net/

--
buck

 
Reply With Quote
 
Alan Jones
Guest
Posts: n/a

 
      12-19-2005, 11:40 PM
On Mon, 19 Dec 2005 15:53:18 -0600, "Rod"
<(E-Mail Removed)> wrote:

>I think you are trying to do the same thing I am working on. I have come to
>the same conclusion. The company that I work for does not do business
>outside the USA but we get pounded with SPAM and hacking attempts outside
>the USA.


Indeed. I think working it from the 'allow' direction is more
productive than from the commonly accepted 'deny' approach.

>I found the following page that defines the North American IP
>address ranges: http://www.arin.net/reference/ip_blocks.html#ipv4 .


There ya go, right to the exact page I needed. Yesterday, I found
this page... http://www.iana.org/assignments/ipv4-address-space

It lists some other domestic networks I went ahead and allowed.

>For a test, for about a week, I have blocked all traffic into our routers
>from Asia Pacific. I found those IP address ranges at:
>http://www.apnic.net/db/ranges.html . It was amazing how much less SPAM we
>received by just blocking those ranges.


Indeed.

>My question is, how can I use iptables to define the list of ARIN IP
>addresses as a whitelist? I have in mind something like:
>iptables -A mybasicfilter -s ! $ARIN -j notallowed
>I'm not sure how to define multiple ip ranges for the preceeding example.


I use APF firewall, which is basically a very easy to use front-end
for iptables... http://www.rfxnetworks.com/apf.php

After you install it and are familiar with it, I would be glad to
explain how I use it to allow only limited access to ports 22, 25,
and 8443 (Plesk). The process involves just two files; 'conf.apf'
and 'allow_hosts.rules'.

>If anyone has any ideas on how to implement this, I would appreciate it.
>
>Thanks,
>
>Rod
>
>
>"Alan Jones" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed).. .
>>
>> Is there a list of all IP ranges, perhaps with masking, used in
>> North America, Hawaii, and Alaska? Might it be better to just
>> allow those networks rather than hassle with blocking the rest
>> of the globe?
>>
>> Thanks


 
Reply With Quote
 
Alan Jones
Guest
Posts: n/a

 
      12-19-2005, 11:40 PM

Thanks.

On Mon, 19 Dec 2005 15:05:27 -0500, "Joe Beanfish" <(E-Mail Removed)>
wrote:

>Check tha ARIN website. I'm pretty sure I saw the list of
>all blocks there once. http://www.arin.net/


 
Reply With Quote
 
Alan Jones
Guest
Posts: n/a

 
      12-19-2005, 11:41 PM

Thanks, that's a very interesting page. It'll take me a bit to
figure it out.

On Mon, 19 Dec 2005 14:13:45 -0800, buck <(E-Mail Removed)> wrote:

>I suggest you try this. It is not 100% accurate, but it is certainly
>better than IANA and it gets updated every day.
>
>http://ip.ludost.net/


 
Reply With Quote
 
Joe Beanfish
Guest
Posts: n/a

 
      12-20-2005, 06:06 PM
On Mon, 19 Dec 2005 19:40:07 -0500, Alan Jones <(E-Mail Removed)> wrote:

>
> Thanks.
>
> On Mon, 19 Dec 2005 15:05:27 -0500, "Joe Beanfish" <(E-Mail Removed)>
> wrote:
>
>> Check tha ARIN website. I'm pretty sure I saw the list of
>> all blocks there once. http://www.arin.net/

>
>



Other followups to this refreshed my memory. What I saw was at iana.org
http://www.iana.org/assignments/ipv4-address-space
 
Reply With Quote
 
 
 
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
North America Patrick Whittle Windows Networking 10 12-24-2009 05:20 AM
802.11a North American Standards Papa Smurf Wireless Internet 0 01-04-2009 03:26 PM
Moving Companies By state city North America Movers linkswanted Wireless Internet 0 01-19-2008 04:24 PM
Alaska People Search harriskevin Wireless Internet 0 01-11-2008 10:34 AM
Can you find the antenna problem at the Homer Alaska Harbormasters office Frank Wireless Internet 9 07-24-2004 01:44 AM



1 2 3 4 5 6 7 8 9 10 11