All IP numbers within a country

How can I learn the numbers of all the IP net blocks within a country ?

- Urgent -
XephyrAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cyrnelCommented:
Short answer is you can't, not guaranteed. You can generally find out where a few addresses reside, or even a goodly sized range, but not all the ranges assigned to a country. You might find that some countries have large blocks of numbers assigned, some sequential others not, and some countries only a few, but depending on when and how quickly the country "came onto" the net they may have clean or very messy allocations. There's no master list available to the public that lists the actual allocation. Anti-spam and geographic mapping groups have attempted to map ranges for various purposes but those maps are largely based on derived data with no guarantee of accuracy.

Dave
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
XephyrAuthor Commented:
Very well, I do not wish to have such a guarantee that the information is exactly correct. e.g I just wish to see all recorded IP blocks from New Zealand. No whois search engine supplies this feature (while ripe and such other authorities might supply this info if you send an email telling that you wish to be a mirror, but they are so very reluctant since this information could also be used for spamming and so on).

I have found some lists containing AS (autonomous systems) numbers for each and every service provider on the net with the country information. When I try to query these AS numbers in ripe.net, the system does not return all of the IP numbers and instead put some information about administrative contacts etc. I think I can do this manually but it would take so much time to first query the AS numbers and then query names found in the AS numbers before recording the ip blocks to a file.

So any place on the net that return IP blocks when fed with AS numbers (AS13207 etc, - reference may not exist - ) would resolve my issue. whois.ripe.net does not seem to do it correctly, perhaps another server that queries that ripe.net would do it correctly ?
0
XephyrAuthor Commented:
Also you can answer the question I point hereby; (packet inspecting firewall with IPtables) if you think you could resolve that problem also

http://www.experts-exchange.com/Security/Linux_Security/Q_21104708.html

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.