scieee AI-readable full text Open interactive document viewer

Retrospective IP Address Geolocation for Geography-Aware Internet Services

Komosný, Dan

Abstract

The paper deals with the locations of IP addresses that were used in the past. This retrospective geolocation suffers from continuous changes in the Internet space and a limited availability of past IP location databases. I analyse the retrospective geolocation of IPv4 and IPv6 addresses over five years. An approach is also introduced to handle missing past IP geolocation databases. The results show that it is safe to retrospectively locate IP addresses by a couple of years, but there are differences between IPv4 and IPv6. The described parametric model of location lifetime allows us to estimate the time when the address location changed in the past. The retrospective geolocation of IP addresses has a broad range of applications, including social studies, system analyses, and security investigations. Two longitudinal use cases with the applied results are discussed. The first deals with geotargeted online content. The second deals with identity theft prevention in e-commerce.

Full text

sensors Article Retrospective IP Address Geolocation for Geography-Aware Internet Services Dan Komosny   Citation: Komosny, D. Retrospective IP Address Geolocation for Geography-Aware Internet Services. Sensors 2021,21, 4975. https:// doi.org/10.3390/s21154975 Academic Editors: Alexios Mylonas and Nikolaos Pitropakis Received: 26 May 2021 Accepted: 19 July 2021 Published: 22 July 2021 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. Copyright: © 2021 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). Faculty of Electrical Engineering and Communication, Department of Telecommunications, Brno University of Technology, 61600 Brno, Czech Republic; [email protected]; Tel.: +420-54114-6973 Abstract: The paper deals with the locations of IP addresses that were used in the past. This retrospective geolocation suffers from continuous changes in the Internet space and a limited availability of past IP location databases. I analyse the retrospective geolocation of IPv4 and IPv6 addresses over five years. An approach is also introduced to handle missing past IP geolocation databases. The results show that it is safe to retrospectively locate IP addresses by a couple of years, but there are differences between IPv4 and IPv6. The described parametric model of location lifetime allows us to estimate the time when the address location changed in the past. The retrospective geolocation of IP addresses has a broad range of applications, including social studies, system analyses, and security investigations. Two longitudinal use cases with the applied results are discussed. The first deals with geotargeted online content. The second deals with identity theft prevention in e-commerce. Keywords: database; location; geotargeted content; cybercrime; RIPE Atlas; MaxMind 1. Introduction IP geolocation is a fundamental part of many Internet services and applications. It delivers the geographical location of any Internet device, independent of its use, installation, software, and hardware. Any of these locations may be needed retrospectively when the reason to locate the device was not known before, or when the locations were obtained but not archived. These usages include evaluation of longitudinal studies, observation of long-term location patterns, replication of past system states, study of long-term evolution of the global Internet, and investigation of crime incidents. In theory, there is an unlimited history of all IP address locations available. However, this is in reality not true as only pieces of historical data are available, which makes the retrospective location a challenge. This work presents results of retrospective location. It also introduces an approach to handle missing historical data. The usage of the results is demonstrated by two longitudinal use cases. The first deals with the geotargeted online content in which some pages with dynamically generated content based on the viewers’ locations do not work for unknown reasons. The past viewers’ locations are used to investigate the reasons for the page loading errors. The second use case discusses the application in identity theft prevention. The history of address locations is used to estimate the confidence of the user travel between places of subsequent logins. In a secured system, such as an e-shop with stored credit card details for one-click payments, a confident suspicion of ID theft can prevent the payment to minimize fraud losses and chargebacks. Historical IP geolocation databases are used to obtain past locations. Such databases are populated by various techniques, which include location self-reporting [ 1 , 2 ], network measurements [ 3 , 4 ], mining web content [ 5 ], host and domain-name analyses [ 6 , 7 ], and custom submissions [ 8 ]. The stored locations in a database are shared by a range of addresses to maximize the Internet space coverage. I work with the historical ground truth that includes past IPv4 and IPv6 addresses and their locations over five years. There are approx. 51 k IPv4 and 17 k IPv6 addresses in the ground truth. This ground truth was linked to historical geolocation databases to Sensors 2021,21, 4975. https://doi.org/10.3390/s21154975 https://www.mdpi.com/journal/sensors Sensors 2021,21, 4975 2 of 18 observe the past address locations. The NA (not available; not returned) locations are also considered in the analysis as their number significantly affects the accuracy, especially for IPv6 addresses. The results show how far into the past the system may locate an address without a noticeable accuracy loss. I also work with the location lifetime in a database. For this purpose, I evaluate the database-stored location history of one year of about 421 k IPv4 and 47 k IPv6 addresses. Due to missing data, survival analysis is applied to process the data. Specifically, interval censoring is used to cover the past dates where the historical geolocation databases are missing. The fitted lifetime model allows for a given address to estimate the time when its location was changed in the past. The presented results have a defined scope. The results dealing with retrospective IP address locations (Section 5) are limited to fixed devices. In addition, the historical ground truth is not evenly distributed across the world. Therefore, these results are mostly descriptive of Europe and North America. The results dealing with IP address location lifetime (Section 6) are also valid for mobile devices. The analyzed locations were observed via the past MaxMind GeoLite2 City databases. This database is commonly shipped with various software and operating systems. This makes their past versions available in data archives such as OS repositories and software development snapshots on GitHub and GitLab. To the best of my knowledge, it is the only universal solution for retrospective location. The historical data used in this work are made available as a single collection for result replication and further work in [ 9 ], with the list of files and their format described in Appendix A. The processed data are also published, including the observed past locations and lifetime durations. The particular sources used for obtaining the past databases are described. The work is structured as follows: The general problem of missing past IP geolocation databases is discussed in Section 2. Section 3overviews the related work. Section 4 describes the historical data used, including their sources. Locations of the addresses used in the past are analysed in Section 5, including a discussion. Survival analysis of the location lifetime is described in Section 6, including the discussion. Two use cases are described in Section 7. The work limitations are given in Section 8. 2. Problem of Retrospective IP Location Retrospective IP geolocation is based on the availability of past IP location databases. Some past databases may be found by searching the historical content on the Internet. The success of the search highly depends on the targeted past dates (the range could be months to years) and how distant into the past it is. More databases can be found for recent dates and fewer for the distant past. The particular problems with the past databases availability are: (i) Past databases are typically a part of other software, such as application installations or compressed files, such as software packages (e.g., Linux rpm). These data, which could be in all possible formats, need to be extracted and inspected in order to collect the past database. One needs to know or guess the application or software names that contain past geolocation databases. (ii) Past databases are searched for a specific date of interest. However, the metadata of the files including the database do not correspond with the date the database was built. The reason is that the file date refers to the file-system storage time, which changes when the file is moved/copied (e.g., on an ftp repository). Thus, the file date is different from the database build date, with a possible difference of years. Dates incorporated into filenames are not also reliable, as they are not the date when the database was built. Therefore, it is not possible to search for the past databases by lower and upper date limits due to the file metadata and the database build date difference. (iii) For some database formats, such as the common CSV, it is not possible to obtain the database build date as there is no such information stored in the database itself. Therefore, Sensors 2021,21, 4975 3 of 18 the database creation date is completely lost as time passes. The result is that many databases that may have been found cannot be used at all due to large date inaccuracies. These historical data problems result in missing past databases. There are two basic approaches to retrospective IP location, as shown in Figure 1. The first is a naive solution that the past IP addresses are located by a current geolocation database. In this work, I refer to this naive approach as “late location”. The second approach uses an incomplete list of past databases to locate addresses used in the past. I refer to this approach as “past location”. Past IP addr. Current database Historical databases A) Late location B) Past location Past IP addr. Figure 1. Approaches to retrospective IP geolocation due to missing past databases. ( A ) Naive approach with the current database used. ( B ) Past approach with a limited set of past databases used. The past databases should be close to the date of the past IP address use. 3. Related Work A recent major comparison of IP location databases was done by Gharaibeh et al. [ 10 ]. They deal with the location accuracy of the addresses that belonged to router interfaces. Their ground truth included about 16,500 addresses. The evaluated geolocation databases were MaxMind GeoLite2 (free), IP2location DB11.Lite (free), MaxMind GeoIP2 (commercial), and Digital Envoy NetAcuity (commercial). The ground truth of router interface addresses was created by decoding the location hints from the router hostnames. The particular router addresses were collected from the RIPE Atlas built-in measurements. Specifically, the traceroute data were used to collect the addresses of the routers, which were within a distance of 50 km to the Atlas probes. The Atlas probe coordinates were used as reference locations. The work results were that the Digital Envoy NetAcuity had the best accuracy at the city level, followed by MaxMind GeoIP2 and GeoLite2. The latter databases performed similarly. The authors also used 692,000 addresses to study the inconsistency between the databases at the city level. The result was that at least 29% of the addresses across the databases had a city-level disagreement. A pairwise comparison of the MaxMind databases (free and commercial) showed that they were similar. There were 68% of the addresses with the same coordinates, and about 11% of the addresses had a distance difference of over 40km. The authors also justified the usage of the 40 km limit for the city level, as this value is commonly used for location accuracy evaluation. In general, the databases may return different coordinates for the same city. These coordinates point, for example, to the organization headquarters with their own delegated address space or to the city cultural/geographical center. To justify this limit, the authors examined the distance between the coordinates from different databases. These coordinates were returned for the same cities. The result was that 99% of the same-city coordinates were within a distance of 40 km. The active location is used to populate the databases, along with other methods, such as data mining and device self-reporting. The recent work of Du et al. [ 11 ] has dealt with active location using the RIPE Atlas platform called IPmap. A single-radius engine was used to deliver the location of IP addresses. The latency measurements approximated the geographical distance between the located device and the Atlas probe, whose coordinates Sensors 2021,21, 4975 4 of 18 were taken as the ground truth. The cities around the geographically closest Atlas probe were ordered, and the most probable city was used as the location result for the IP address. The measurements were done only by a selected set of Atlas probes to reduce the Internet traffic and location delay. A possible triggering of a DoS attack alert was mitigated this way. The ground truth used covered 968 addresses of which 870 were located. Eighty percent of them were located within the city-level distance (40 km) to the correct location. Other work combined different location approaches to improve the accuracy. Scheitle et al. [ 7 ] used the hints in domain names and latency measurements to locate the routers. There was a location match in these two methods for 45,000 IPv4 addresses and 5000 IPv6 addresses. This way, they proposed an efficient way to establish a ground truth. Zhao et al. [ 3 ] combined a location database and latency measurements to reduce the number of NA (not available) locations. The work was based on a set of classifiers. The result was a location accuracy of 99% at the the province level and 82% at the city level. The results were obtained for places in China. The authors also mentioned a non-standard application of IP location to broadcast important information, for example, issued by the government. The information is displayed similarly to online adverts. The broadcasting range may be limited to users from specific cities, thus introducing a new channel for message delivery. IP location accuracy suffers from constant changes in the Internet space. Padmanabhan et al. [ 12 ] studied the reasons behind the changes in the IP address space and consequently changes in their locations. The RIPE Atlas was used in this work as the ground truth. The ground truth IP addresses were obtained from the periodic connections of the Atlas probes to the controller. The authors worked with 3038 IPv4 probes over 12 months. The result was that ISPs assigned IP addresses to probes in a periodical manner, probably due to security reasons. Work by Almohri et al. [ 13 ] focused on the IP address assignment. They attempted to predict the next assigned address, which may be used to improve the location accuracy. The previous address location could be immediately assigned to the new address. This way, the negative effect on the address reassignments could be mitigated. The work particularly dealt with the IPv4 addresses used by cloud service providers, which were the Amazon Web Services and Google Cloud Platform. There were around 4000 addresses used. The prediction success of the next assigned address was around 90% for the first three address bytes, which is sufficient for IP geolocation. There are many applications of IP geolocation, such as where the device locations may be needed retrospectively. These include address reputation [ 14 ], phishing mitigation [ 15 ], credit card fraud [16], and forensic investigation [17]. 4. Collection of Historical Data The historical data used in this work consist of IP addresses used in the past, their past locations, and the previous versions of a geolocation database. The addresses used in the past and their locations were processed from the RIPE Atlas archive [ 18 ]. This archive stores information about fixed devices, which are measurement probes. These probes are distributed around the world in different network environments. I use them as the historical ground truth since their past descriptive information is available, including IP address, operational status, and location. The archive starts in 2014 and is available up to 2021 as of the date of this work [19]. I processed the archived ground truth to avoid bias caused by invalid data, including possible faulty addresses. The Atlas software automatically stores the probe addresses when they periodically connect to the Atlas controller. The probe operational status is also automatically set by the success of these connections as Connected, Abandoned, Disconnected, and Never Connected. I excluded probes that were not in the status Connected at a given past date. This way, only the IP addresses that were truly active in the past were considered. The probes without a location specified in the past were also excluded. For example, the original number of ground truth probes on 2 March 2021 was 33,655, and it was reduced by this processing to 11,523. There were also some missing or invalid Sensors 2021,21, 4975 5 of 18 networking data (e.g., duplicated addresses). This further reduced the number of usable probes on that date to 9781. The final reduction resulted in about one-third of the original data for each year covered. The original and reduced ground truth data over the years are shown in Table 1. The ground truth probes had IPv4, IPv6, or both addresses, as shown by the numbers. There were large differences in the number of usable probes between the years, mainly towards 2014, which was the start of the archive. The large difference in the number of probes could cause an inconsistency in the address space coverage. Therefore, I did not use the first two years (2014, 2015) of the ground truth for the IPv4 address historical analysis. For IPv6 addresses, I considered the years from 2018. In total, approx. 51 thousand IPv4 addresses and approx. 17 thousand IPv6 addresses were used. Table 1. Historical ground truth data over years. 2016 2017 2018 2019 2020 2021 ∑ Probes org. 17,313 21,227 25,167 27,867 30,854 33,655 Probes red. 7714 7793 8688 8802 9263 9781 IPv4 addresses 7600 7675 8519 8598 9025 9470 50,887 IPv4 year used XXXXXX IPv6 addresses 3006 3189 3652 3920 4345 4650 16,567 IPv6 year used NO NO X X X X ‘org.’ refers to original ground truth data, ‘red.’ refers to the reduced data. The address numbers are after the reduction. Figure 2shows the global geographical distribution of the ground truth probes. The majority of the ground truth was in Europe and North America. Figure 2. Ground truth global distribution in 2016 (blue) and 2021 (red). The historical data include past versions of a geolocation database. I used the past versions of the MaxMind GeoLite2 City database. This database is commonly shipped as a Sensors 2021,21, 4975 6 of 18 part of various software and operating systems. This makes some of their past versions reachable in the respective software archives compared to other databases, which are not archived. These particular sources were used: • Archives of UNIX and Linux OS updates [ 20 ]. The historical data were obtained from the past versions of software packages (e.g., rpm, deb). • Web content archive provided by the Wayback Machine [ 21 ]. The historical data were obtained from the snapshots of pages’ past content, mainly in the MaxMind domain. • Research datasets, such as Harvard Dataverse Repository [22]. • Installations of web servers that use IP geolocation, such as WordPress. • GitHub and GitLab and other general software repositories. The data were obtained from the archived software development versions. As discussed in Section 2, there is an issue with the database dates as the file metadata date is not the date when the database was built. Accurate dates of the past database are needed for past address locations and analysis. A single inaccurate date may give wrong results or wrong estimates of the location lifetime for many addresses. I also used the database date to link it to the correct day of the past ground truth. The MaxMind databases are stored in the MaxMind DB File Format (mmdb), which holds the “epoch” value [ 23 ]. I used this epoch as the genuine database building date. For databases that are stored in other formats, such as the common CSV, obtaining the genuine date is not possible. The past databases were linked to the past ground truth with a prerequisite of the same relative difference between the database dates. The best match was found to be in March and April of each of the covered years. The databases complying with this prerequisite were dated to 3 April 2014, 3 March 2015, 3 March 2016, 7 March 2017, 4 April 2018, 15 April 2019, 3 March 2020, and 2 March 2021. The past ground truth comes exactly from these same dates, starting from 2016. The used past databases and Atlas archives are listed in Table A1. The survival analysis is based on the duration of address locations over past databases. The databases store the locations for groups of addresses, delimited by a network range, for example, /24 for IPv4 addresses and /48 for IPv6 addresses. To extract the IP addresses, the CSV database version was used (the build date was obtained by direct download of the linked binary mmdb alternative of the same database). The database blocks are described as (simplified) network address/range, geoname_id, and coordinates. The geoname_id property refers to another CSV file storing the place textual descriptions. An example record for IPv4 is 71.195.26.0/23, 5037649, (45.0196, − 93.2402), where the place geoname_id refers to Minneapolis, US. An example for IPv6 is 2a0f:9400:8008::/48, 3163392, (62.4684, 6.3427), where the place ID refers to Alesund, Norway. The CSV files used to derive the IPv4 and IPv6 addresses are listed in Table A2 as ‘source files for lifetime end’. I selected the locations linked to the first IP address of each block in the database dated to 13 April 2021. These IP address locations were further checked for their change in the closest database dated to 5 April 2021. The changed address locations were used in the survival analysis only as their lifetime end date was known this way. There were 421 k IPv4 and 47 k IPv6 addresses with the known location end date. In total, 38 past databases were used in the survival analysis. Table A2 lists the dates of the past databases used. 5. Retrospective IP Address Location 5.1. Late Location Late location deals with the naive approach to handle missing geolocation databases. The IP addresses used in the past were located by the most current database as shown in Figure 3. The database used was dated to 2 March 2021. The ground truth was dated from 3 March 2016 to 2 March 2021 (day is first in the dot format; day is last in the reversed slash format, which is used for clarity in the figure). Sensors 2021,21, 4975 7 of 18 2021/03/02 2016/03/03 2017/03/07 2018/04/04 2019/04/15 2020/03/03 2021/03/02 Historical groundtruth Figure 3. Late IP address location by the most current database. Past IPv4 addresses were dated from 2016. Past IPv6 addresses were dated from 2018. Figure 4shows the probability of IPv4 address location error greater than x km, P(X>x) = 1 −P(X≤x) . The error is the distance between the ground truth location and the estimated location. The “current location” curve describes the error for the addresses dated to the same date as the database build. It therefore shows the minimal location error. There was a constant error increase with the number of past years. The median location error increased by a minor value of up to 3 years to past; later, the increase was larger. The percentage of the locations outside the city level (40 km) changed with relatively small steps that were different across the years. The numerical values of the analysis are given in Table 2. These data also include the percentage of NA (not available) locations, which are the locations not returned by the database. For IPv4 addresses, there were no or a negligible number of NA locations over the years (below 0.07%). 0 20 40 60 80 100 Error [km] 0.0 0.2 0.4 0.6 0.8 1.0 P(X>x) Current location Late loc. by -1 year Late loc. by -2 years Late loc. by -3 years Late loc. by -4 years Late loc. by -5 years Figure 4. Changes in late location of IPv4 addresses over the years. The arrows show the changes in the location error median and in the percentage of locations outside the city level. IPv6 addresses showed a significant number of NA locations, which was approx. 7%. Their presence introduces a bias in the analysis, as the results indicate a better accuracy. This is true from the typical application point of view when all IP addresses are located and missing locations decrease the value of the system output. Consequently, with many NA locations, the system might have a good accuracy, but with an overall poor value. The effect of NA locations on the accuracy in 2021 is shown in Figure 5. The red curve shows the accuracy when NA locations are not included. The blue curve shows the location accuracy with NA locations substituted by the maximal error observed for the ground truth in 2021. This is, in my opinion, an appropriate interpretation of the NA data from the application point of view. Moreover, the inclusion of NA locations is crucial when the accuracy is compared over different sets. The sets with a higher number of NA data are Sensors 2021,21, 4975 8 of 18 favored, as only more accurate locations are present. The original and updated results for IPv6 addresses in Table 2show different values for the median location error. The relative differences over the years are about the same. Table 2. Late location of IPv4 and IPv6 addresses. −5 y −4 y −3 y −2 y −1 y Cur. IPv4 Location median error [km] 24 20 14 11 10 9 Not available a[%] - - - - - - Locations outside city level b[%] 44 42 37 33 29 28 IPv6 Location median error c[km] - - 76 50 33 31 Not available [%] - - 8 7 7 7 Location median error d[km] - - 108 69 50 50 Locations outside city level b,d [%] - - 60 55 52 52 a NA locations for IPv4 are none or negligible (below 1 ‰ ); b Location error over 40km; c NA locations not considered; dNA locations considered. 0 20 40 60 80 100 Error [km] 0.0 0.2 0.4 0.6 0.8 1.0 P(X>x) IPv6 NA loc. considered IPv6 NA loc. not considered Figure 5. Effect of NA locations substituted by the maximal error observed for the ground truth in 2021. 5.2. Past Location With past location, the addresses used in the past were located by a set of past addresses. These databases were dated exactly to the same day as the addresses’ past use, as shown in Figure 6. The databases used were dated from 3 March 2016 to 2 March 2021 (the day is first in the dot format; the day is last in the reversed slash format, which is used for clarity in the figure). Figure 7shows the probability of IPv4 address location error greater than x km. The median location error was higher in the past years, but only by a small value. However, the percentage of locations outside a city showed greater improvements over the years. This indicates that IP geolocation is improving over the years, especially at the city level, despite the constant changes in the address space. The numerical data for both IPv4 and IPv6 are given in Table 3. The number of NA locations for IPv4 addresses was again negligible (below 0.04%). On the other hand, their number was high for the IPv6 addresses, with percentages similar to the late location. The median error for IPv6 addresses varied across the years. The same was true for the percentage of locations outside the city level, which were about twice the value for IPv4 addresses. Sensors 2021,21, 4975 9 of 18 2016/03/03 2017/03/07 2018/04/04 2019/04/15 2020/03/03 2021/03/02 Historical groundtruth Historical databases 2016/03/03 2017/03/07 2018/04/04 2019/04/15 2020/03/03 2021/03/02 Figure 6. Past IP addresses location by historical databases. IPv4 addresses were dated from 2016. IPv6 addresses were dated from 2018. 0 20 40 60 80 100 Error [km] 0.0 0.2 0.4 0.6 0.8 1.0 P(X>x) City-level IPv4 2021 IPv4 2020 IPv4 2019 IPv4 2018 IPv4 2017 IPv4 2016 Figure 7. Past location of IPv4 addresses over the years. The dashed lines highlight the location error median and the percentage of locations outside the city level. Table 3. Past location of IPv4 and IPv6 addresses. 2016 2017 2018 2019 2020 2021 IPv4 Location median error [km] 13 12 11 10 9 9 Not available a[%] - - - - - - Locations outside city level b[%] 37 34 32 30 29 28 IPv6 Location median error c[km] - - 84 61 78 31 Not available [%] - - 7 7 7 7 Location median error d[km] - - 107 78 100 50 Locations outside city level b,d [%] - - 63 58 61 52 a NA locations for IPv4 are none or negligible (below 1 ‰ ); b Location error over 40km; c NA locations not considered; dNA locations considered. The raw data used in the analysis are available in the format listed in Table A3. 6. IP Address Location Lifetime Geolocation databases store locations for IP addresses. I apply survival analysis to these locations to investigate their lifetime. The location lifetime is the duration of the unchanged location over past geolocation databases. The survival function S(t) Sensors 2021,21, 4975 16 of 18 Funding: This research received no funding. Data Availability Statement: The reproducibility data are available at [9]. Acknowledgments: The data was processed by the developed software based on the Python library Life-Lines [27]. Conflicts of Interest: The author declare no conflict of interest. Appendix A. List of Reproducibility Data Table A1. Collection for historical analysis. Past ver. of Geoloc. Database Past Loc. and Addresses 20140403_GeoLite2.mmdb 20150303_GeoLite2.mmdb 20160303_GeoLite2.mmdb 20160303_Atlas.json 20170307_GeoLite2.mmdb 20170307_Atlas.json 20180404_GeoLite2.mmdb 20180404_Atlas.json 20190415_GeoLite2.mmdb 20190415_Atlas.json 20200303_GeoLite2.mmdb 20200303_Atlas.json 20210302_GeoLite2.mmdb 20210302_Atlas.json Table A2. Collection of data for survival analysis. Past Geoloc. Databases Past Geoloc. Databases 20200415_GeoLite2.mmdb 20201209_GeoLite2.mmdb 20200421_GeoLite2.mmdb 20201215_GeoLite2.mmdb 20200505_GeoLite2.mmdb 20201222_GeoLite2.mmdb 20200512_GeoLite2.mmdb 20201229_GeoLite2.mmdb 20200518_GeoLite2.mmdb 20210105_GeoLite2.mmdb 20200527_GeoLite2.mmdb 20210112_GeoLite2.mmdb 20200603_GeoLite2.mmdb 20210119_GeoLite2.mmdb 20200609_GeoLite2.mmdb 20210122_GeoLite2.mmdb 20200616_GeoLite2.mmdb 20210126_GeoLite2.mmdb 20200630_GeoLite2.mmdb 20210202_GeoLite2.mmdb 20200707_GeoLite2.mmdb 20210209_GeoLite2.mmdb 20200714_GeoLite2.mmdb 20210218_GeoLite2.mmdb 20200721_GeoLite2.mmdb 20210223_GeoLite2.mmdb 20200814_GeoLite2.mmdb 20210302_GeoLite2.mmdb 20200909_GeoLite2.mmdb 20210310_GeoLite2.mmdb 20200915_GeoLite2.mmdb 20210316_GeoLite2.mmdb 20201027_GeoLite2.mmdb 20210323_GeoLite2.mmdb 20201110_GeoLite2.mmdb 20210329_GeoLite2.mmdb 20201124_GeoLite2.mmdb 20210405_GeoLite2.mmdb Source files for lifetime end 20210413_GeoLite2-Blocks-IPv4.csv 20210413_GeoLite2-Blocks-IPv6.csv Sensors 2021,21, 4975 17 of 18 Table A3. Format of file 2016–2021_history.csv with processed historical data and sample. Item Value Descripton id 11299 Atlas probe ID lat 51.5115 Atlas probe coord. lon 7.4915 Atlas probe coord. v4 37.24.156.234 Atlas probe IP v6 2a02:908:4e3:8c40: ... Atlas probe IP cntr DE Atlas probe country adate 20180404 Probe activity date v4latelocLat 48.7349 Current database (2021) v4latelocLon 9.1521 v4latelocCity Stuttgart v4latelocCntr DE v4latelocErr 331 – values for v6 – v4pastlocLat 51.5208 Past database 20180404 v4pastlocLon 7.5184 v4pastlocCity Dortmund v4pastlocCntr DE v4pastlocErr 2 – values for v6 – Table A4. Format of file 2020–2021_lifetime.csv with processed survival data and sample. Address Ver LatLon DatabaseL DatabaseR L R 24.172.103.136 v4 35.1873, −79.473 2021-03-10 2021-03-02 26 42 179.109.149.0 v4 −21.033, −41.939 2020-04-15 NaT 355 NaN 240a:6b:950.. . v6 36.659, 139.822 2021-01-12 2021-01-05 83 98 2001:470:1f.. . v6 51.2993, 9.491 2021-04-05 2021-03-29 0 15 L, R—in days; location lifetime ended between 5 April 2021 and 13 April 2021. References 1. Keßler, C.; McKenzie, G. A geoprivacy manifesto. Trans. GIS 2018,22, 3–19. [CrossRef] 2. Liu, B.; Zhou, W.; Zhu, T.; Gao, L.; Xiang, Y. Location Privacy and Its Applications: A Systematic Study. IEEE Access 2018 , 6, 17606–17624. [CrossRef] 3. Zhao, Q.; Wang, F.; Huang, C.; Yu, C. Improving IP geolocation databases based on multi-method classification. In Proceedings of the 2020 IEEE 14th International Conference on Anti-Counterfeiting, Security, and Identification (ASID), Xiamen, China, 30 October–1 November 2020; pp. 44–48. [CrossRef] 4. Patel, K.B.; Moukdad, N.; Anand, S. Geolocation of IP Hosts in Large Computer Networks with Congestion. In Proceedings of the ICC 2020—2020 IEEE International Conference on Communications, Dublin, Ireland, 7–11 June 2020; pp. 1–6. [CrossRef] 5. Guo, C.; Liu, Y.; Shen, W.; Wang, H.J.; Yu, Q.; Zhang, Y. Mining the Web and the Internet for Accurate IP Address Geolocations. In Proceedings of the IEEE International Conference on Computer Communications 2009, Rio de Janeiro, Brazil, 19–25 April 2009; pp. 2841–2845. [CrossRef] 6. Sousa, A.; Costa, A.; Santos, A.; Meneses, F.; Nicolau, M.J. Using DNS to establish a Localization Service. In Proceedings of the International Conference on Indoor Positioning and Indoor Navigation 2014, Busan, Korea, 27–30 October 2014; pp. 385–392. [CrossRef] 7. Scheitle, Q.; Gasser, O.; Sattler, P.; Carle, G. HLOC: Hints-based geolocation leveraging multiple measurement frameworks. In Proceedings of the 2017 Network Traffic Measurement and Analysis Conference (TMA), Dublin, Ireland, 21–23 June 2017; pp. 1–9. [CrossRef] 8. Olmsted-Hawala, E.; Nichols, E. Willingness of the Public to Share Geolocation Information in a U.S. Census Bureau Survey. Soc. Sci. Comput. Rev. 2019,37, 568–588. [CrossRef] 9. Komosny, D. Historical IP Geolocation Data. 2021. Available online: gitlab.com/komosny/historical-ip-address-geolocation (accessed on 24 March 2021). 10. Gharaibeh, M.; Shah, A.; Huffaker, B.; Zhang, H.; Ensafi, R.; Papadopoulos, C. A look at router geolocation in public and commercial databases. In Proceedings of the Proceedings of the 2017 Internet Measurement Conference, London, UK, 1–3 November 2017; pp. 463–469. [CrossRef] Sensors 2021,21, 4975 18 of 18 11. Du, B. RIPE IPmap active geolocation: Mechanism and performance evaluation. ACM SIGCOMM Comput. Commun. Rev. 2020, 50, 3–10. [CrossRef] 12. Padmanabhan, R.; Dhamdhere, A.; Aben, E.; Claffy, K.; Spring, N. Reasons Dynamic Addresses Change. In Proceedings of the 2016 Internet Measurement Conference, Santa Monica, CA, USA, 14–16 November 2016; pp. 183–198. [CrossRef] 13. Almohri, H.M.J.; Watson, L.T.; Evans, D. Predictability of IP Address Allocations for Cloud Computing Platforms. IEEE Trans. Inf. Forensics Secur. 2020,15, 500–511. [CrossRef] 14. Lewis, J.L.; Tambaliuc, G.F.; Narman, H.; Yoo, W.-S. IP Reputation Analysis of Public Databases and Machine Learning Techniques. In Proceedings of the 2020 International Conference on Computing, Networking and Communications (ICNC), Big Island, HI, USA, 17–20 February 2020; pp. 181–186. [CrossRef] 15. Abdou, A.; Oorschot, P. Server Location Verification Augmenting (SLV) and Server Location Pinning: TLS Authentication. ACM Trans. Priv. Secur. (TOPS) 2017,21, 1–26. [CrossRef] 16. Gulati, A.; Dubey, P.; MdFuzail, C.; Norman, J.; Mangayarkarasi, R. Credit card fraud detection using neural network and geolocation. In Proceedings of the IOP Conference Series: Materials Science and Engineering, Sibiu, Romania, 14–17 June 2017. 17. Koch, R.; Golling, M.; Stiemert, L.; Rodosek, G.D. Using Geolocation for the Strategic Preincident Preparation of an IT Forensics Analysis. IEEE Syst. J. 2016,10, 1338–1349. [CrossRef] 18. Candela, M.; Gregori, E.; Luconi, V.; Vecchio, A. Using RIPE Atlas for Geolocating IP Infrastructure. IEEE Access 2019 ,7, 48816– 48829. [CrossRef] 19. RIPE Atlas Archive. RIPE NCC. 2021. Available online: ftp.ripe.net/ripe/atlas/probes/archive/ (accessed on 24 March 2021). 20. RPM Find. Daniel Veillard. 2021. Available online: www.rpmfind.net (accessed on 24 March 2021). 21. Wayback Machine. Internet Archive. 2021. Available online: archive.org/web/ (accessed on 24 March 2021). 22. Sood, G. Maxmind IP Geolocation Archival Data. Harvard Dataverse. 2020. Available online: dataverse.harvard.edu/dataset. xhtml?persistentId=doi:10.7910/DVN/RMZOEN (accessed on 29 April 2021). [CrossRef] 23. Oschwald, G.; Rolsky, D.; Zentner, B. MaxMind DB File Format Specification. Database Metadata. Available online: maxmind. github.io/MaxMind-DB/ (accessed on 24 March 2021). 24. Dejardin, D.; Lesaffre, E. Stochastic EM algorithm for doubly interval-censored data. Biostatistics 2013 ,14, 766–778. [CrossRef] [PubMed] 25. Giolo, S. Turnbull’s Nonparametric Estimator for Interval-Censored Data; Technical Report; Department of Statistics, Federal University of Parana: Paraná, Brazil, 2004. 26. Kishore, J.; Goel, M.K.; Khanna, P. Understanding survival analysis: Kaplan-Meier estimate. Int. J. Ayurveda Res. 2010 ,1, 274–278. [CrossRef] [PubMed] 27. Davidson-Pilon, C. Lifelines: Survival analysis in Python. J. Open Source Softw. 2019,4, 1317. [CrossRef] 28. Cowgill, B.; Dorobantu, C. Competition and Specificity in Market Design: Evidence from Geotargeted Advertising. Columbia Business School Research Paper No. 101. 2020. Available online: papers.ssrn.com/sol3/papers.cfm?abstract_id=3267053 (accessed on 4 March 2021). 29. Lian, S.; Cha, T.; Xu, Y. Enhancing geotargeting with temporal targeting, behavioral targeting and promotion for comprehensive contextual targeting. Decis. Support Syst. 2019,117, 28–37. [CrossRef] 30. Cho, Y.; Lee, S. Detection and Response of Identity Theft within a Company Utilizing Location Information. In Proceedings of the International Conference on Platform Technology and Service (PlatCon), Jeju, Korea, 15–17 February 2016; pp. 1–5. 31. Buchhop, P. Use of Velocity in Fraud Detection or Prevention. U.S. Patent US20130110715A1, 2 May 2013. 32. Kaup, F. Assessing the Implications of Cellular Network Performance on Mobile Content Access. IEEE Trans. Netw. Serv. Manag. 2016,13, 168–180. [CrossRef] 33. Livadariu, I.; Dreibholz, T.; Al-Selwi, A.S.; Bryhni, H.; Lysne, O.; Bjørnstad, S.; Elmokashfi, A. On the Accuracy of Country-Level IP Geolocation. In Proceedings of the Applied Networking Research Workshop, Virtual Event, Spain, 27–30 July 2020; pp. 67–73. [CrossRef] 34. RIPE Atlas Docs Centre. RIPE NCC. 2021. Available online: beta-docs.atlas.ripe.net (accessed on 27 April 2021).