地理定位数据库是如何组装的?
我不是问要使用什么地理定位服务或如何使用它们。
我想问的是,这些公司如何如此清楚地知道每个IP地址在哪里? 是否存在侵犯隐私的情况?
我查看了维基百科页面,他们所说的只是使用 WHOIS 服务,这显然根本不起作用:我的 IP 属于另一个州列出的一家公司所有。
I am not asking what geolocation service to use or how you use them.
I am asking, how the do these companies know so well where every IP address is? Is there some breach of privacy being violated?
I looked at the wikipedia page, and all they had to say was using the WHOIS service, which obviously doesn't work at all: my IP is owned by a company listed in another state.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
这与 ISP 的逻辑位置以及 ARIN 知道网络分配的位置有很大关系。
他们还可以根据路由器确定您的位置。
在命令/终端窗口中运行:
Tracert google.com
我确信您可以在 Tracert 中看到一些基于位置的信息。
It has a lot to do where the ISP's are logically located and that ARIN knows where networks are assigned.
They can also determine your location based on routers.
run this in a command/terminal window :
tracert google.com
I'm sure you can see some location based info in your tracert.
许多此类数据库似乎是从区域互联网注册管理机构(RIPE、ARIN 等)持有的“whois”数据库中提取的。
这些在域名“whois”查找中不相同,这些具体与 IP 地址相关。
此类数据提取非法侵犯了他们的数据库版权,并严格违反了他们的条款和条件。
有关更多详细信息,请参阅IP 地理查找如何工作?。
Many such databases appear to be extracting it from the 'whois' databases held by the Regional Internet Registries (RIPE, ARIN, etc).
These are not the same at the domain name 'whois' lookups, these relate specifically to IP addresses.
Such data extraction is an illegal breach of their database copyrights and strictly against their T&Cs.
See How does geographic lookup by IP work? for more details.
让我用一个类比来回答,每辆车都有一个唯一的编号,可以从制造商那里识别它,该公司有一份所有汽车的清单,发送给世界各地的每个市长经销商,每个经销商都有几个经销商他们分配一组汽车进行销售,每个经销商将汽车出售给最终客户。 因此,从理论上讲,如果制造商想知道汽车在世界的哪个地方,他不必问,因为他知道它降落在哪个国家。
将其转化为 IP,每家出售公共 IP 地址的公司都有一个拥有该地址的记录,并且他们通常会将数千个公共 IP 地址批量分发给 ISP(电话号码过去是这样的)。 例如,我可以通过查看前 2 组来告诉您某个 IP 是否来自我的国家/地区。 另一方面,托管提供商和数据中心的工作方式相同,他们几乎总是知道机器的物理位置,最后但并非最不重要的一点是,进行跟踪将跳转到最近的跳数(理论上,因为您可以强制跟踪为你想要的)IP到盒子,这意味着如果你有它之前的一跳,你就可以猜测位置。
Let me answer with an analogy each car has a unique number that identifies it from it's manufacturer, the company has a list of all the cars that where send to each mayor distributor on each part of the world, each one of those distributors has several dealers to which they assign a set of cars to sell, and each one of those dealers sells the cars to end customers. So in theory if the manufacturer wants to know where is the world is a car he doesn't has to ask because he know in which country it landed.
Translating that to IPs every company that sells public IP address has a record of who owns it, and they are normally give them away in bulks of 1000s to ISP (phone numbers used to be like this). For example I can tell you if an IP is from my country just by looking at the first 2 groups. On the other hand hosting providers and data centers work the same way and they almost always know where is the machine physically, and last but not least doing a trace will jump hops to the closest (theoretically, as you can force the traces to be what you want) IP to the box which means you can guess the location if you have the one of the hop before it.
这些公司为数据付费。
获取这些数据的方法有很多(并非都是非法的),一种简单的方法是,例如,提供免费服务,鼓励您提供一些有关您实际位置的信息,例如 DslReports。 一旦他们知道一个 IP,ISP 就可以轻松关联同一区域的其他 IP。
正如您在此处看到的那样,一家公司推荐了另一家公司,以便您可以看到其中的联系。
Those companies pay for the data.
There are many ways to get this data (not all illegal), one simple one is, for example, providing free services that encourage you to provide some information about your actual location like for example DslReports. Once they know one IP and the ISP is easy to correlate other IPs from the same area.
As you can see here one company recommends the other so you can see the connection.
我想知道同样的事情。 查看 Google 项目经理 Ken Norton 关于 Google 如何获取地理位置数据的回应:http://www.quora.com/How-does-Google-keep-its-geolocation-database-updated-with-new-MAC-addresses。
I was wondering the same thing. Check out Ken Norton, Project Manager at Google, 's response on how Google acquires geolocation data: http://www.quora.com/How-does-Google-keep-its-geolocation-database-updated-with-new-MAC-addresses.