Learn how to a build a cloud-first strategyRegister Now


is there a ready-made list of non-US ip addresses?

Posted on 2006-03-24
Medium Priority
Last Modified: 2008-08-05

looking for a ready-made list of non-us ip addresses... either in csv format for import or straight text (ip tab subnet, per line).  this is for importing into a spam filter.

our company doesnt currently do any business with anyone who should be sending from an oversea mail server, and we're ok taking the risk that one or two legit emails will be blocked (we can retrieve it later).

we're using ORF from www.vamsoft.com  and i'm sick of going thru the log by hand, just to find that 90% of the spam that still gets thru, is from other countries.

a sample straight text file that could be imported is like this:

the formatting may look messed up here, but its   ip [tab] subnet [enter]

i'm ok understanding subnetting, ranges, etc... and i'm ok blocking 18 million ip addresses too...  is there something i can just copy/paste rather than sit on www.dnsstuff.com all day and look up every range?

it gets complicated doing that because might be US, but might be taiwan.  i wish it was more organized, where the first octet indicated country... or something... but i realize how not possible that really is.


p.s. i understand that not all overseas people or ISPs send spam... but most of what we get is from overseas and i'm ok blocking all non-us servers.  if thats prejudicial, whatever... to each his own...

Question by:hack-4-good
  • 7
  • 2
LVL 27

Accepted Solution

pseudocyber earned 2000 total points
ID: 16280236
(From MY post in another thread):

Here are the blocks of addresses assigned to the other Regional Regestries for Internet Numbers - other meaning "non-American".  Note, these won't block ALL "foreign" traffic, but most of it.  There's nothing you could do to prevent a hacker from getting a global dial up service, dialing into a US provider, and having a "US" IP address.

I think this is as close to what you are asking for as you're going to get.

041/8     AfriNIC
058/8     APNIC
059/8     APNIC
060/8     APNIC
061/8     APNIC
121/8     APNIC
122/8     APNIC
123/8     APNIC
124/8     APNIC
125/8     APNIC
126/8     APNIC
202/8     APNIC
203/8     APNIC
210/8     APNIC
211/8     APNIC
218/8     APNIC
219/8     APNIC
220/8     APNIC
221/8     APNIC
222/8     APNIC
062/8     RIPE NCC
080/8     RIPE NCC
081/8     RIPE NCC
082/8     RIPE NCC
083/8     RIPE NCC
084/8     RIPE NCC
085/8     RIPE NCC
086/8     RIPE NCC
087/8     RIPE NCC
088/8     RIPE NCC
089/8     RIPE NCC
090/8     RIPE NCC
091/8     RIPE NCC
193/8     RIPE NCC
194/8     RIPE NCC
195/8     RIPE NCC
212/8     RIPE NCC
213/8     RIPE NCC
217/8     RIPE NCC
189/8     LACNIC
190/8     LACNIC
200/8     LACNIC
201/8     LACNIC
LVL 27

Expert Comment

ID: 16280274
Not sure if you realize what these mean, for instance the first one 041/8 means anythig in the classful "A" notation - would be allocated from the Africa authority.

So, you could use Excel to replace "/8" with ".0.0.0"
LVL 27

Expert Comment

ID: 16280428
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

LVL 27

Expert Comment

ID: 16280466
LVL 78

Expert Comment

by:Rob Williams
ID: 16280736
pseudocyber, why don't you post a link to this question on the following :
Excellent answer above to that question and hardly seems fair for me to steal the credit, especially where I was advocating it wasn't possible.
--Rob  (RobWill)
LVL 27

Expert Comment

ID: 16280782
Rob, I didn't know about that question.  I just remembered the list I compiled a little while ago and went to find it.  Then I was discussing with my ccie wannabe coworker and he was telling me abou the bogon list.

Don't understand your excellent answer comment - are you referring to your link or my comments?

LVL 27

Expert Comment

ID: 16280789
Oh, now I understand ... Thanks Rob. :)

Author Comment

ID: 16280802
guys, thanks... this is exactly what i was looking for...

thanks again
LVL 78

Expert Comment

by:Rob Williams
ID: 16280909
>>"Don't understand your excellent answer comment"
pseudocyber, guess you figured out but I was referring to your comments above. I thought they were very good, and would be useful to tabmpierce in the other question. I didn't want to steal the credit. Would be embarrassing if I was awarded points for your answer.  :-)
LVL 27

Expert Comment

ID: 16281081
No problem, Rob.  Thanks for the compliment.  :)

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
In this article I will be showing you how to subnet the easiest way possible for IPv4 (Internet Protocol version 4). This article does not cover IPv6. Keep in mind that subnetting requires lots of practice and time.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question