Title: | Lookup for IP Address Proxy Information |
---|---|
Description: | Enable user to find the IP addresses which are used as VPN anonymizer, open proxies, web proxies and Tor exits. The package lookup the proxy IP address from IP2Proxy BIN Data file. You may visit <https://lite.ip2location.com> for free database download. |
Authors: | Kai Wen Ooi [aut, cre], IP2Location [cph] |
Maintainer: | Kai Wen Ooi <[email protected]> |
License: | MIT + file LICENSE |
Version: | 1.2.0 |
Built: | 2024-10-30 04:15:25 UTC |
Source: | https://github.com/cran/ip2proxy |
Find the country, region, city, ISP, domain name, usage types, asn, as name, last seen, threat type and provider. The return values will be depending on the BIN data loaded.
get_all(ip)
get_all(ip)
ip |
IPv4 or IPv6 address |
Return all the proxy information about the IP address
## Not run: get_all("1.0.241.135") ## End(Not run)
## Not run: get_all("1.0.241.135") ## End(Not run)
Check whether if an IP address was a proxy.
is_proxy(ip)
is_proxy(ip)
ip |
IPv4 or IPv6 address |
Return a digit value: -1 (errors), 0 (not a proxy), 1 (a proxy), and 2 (a data center IP address).
## Not run: is_proxy("1.0.241.135") ## End(Not run)
## Not run: is_proxy("1.0.241.135") ## End(Not run)
Find the country, region, city, ISP, domain name, usage types, asn, as name, last seen, threat type and provider. The return values will be depending on the IP2Proxy web service package used.
lookup_web_service(api_key, ip, package = "PX1")
lookup_web_service(api_key, ip, package = "PX1")
api_key |
IP2Proxy web service API key |
ip |
IPv4 or IPv6 address |
package |
Package to use for IP2Proxy web service. |
Return all the proxy information about the IP address
## Not run: lookup_web_service("1.0.241.135","PX1") ## End(Not run)
## Not run: lookup_web_service("1.0.241.135","PX1") ## End(Not run)
Load the IP2Proxy BIN data for lookup. Free IP2Proxy LITE data available for download at <https://lite.ip2location.com/>
open(bin_location)
open(bin_location)
bin_location |
Absolute path of IP2Proxy BIN data |
## Not run: open("~/IP-COUNTRY.BIN") ## End(Not run)
## Not run: open("~/IP-COUNTRY.BIN") ## End(Not run)
Plot the country on the map based on IP addresses and its IP2Location country data.
plot_map(ips)
plot_map(ips)
ips |
A vector of IP addresses to be plot on |
## Not run: plot_map(c("1.0.241.135", "1.2.3.4")) ## End(Not run)
## Not run: plot_map(c("1.0.241.135", "1.2.3.4")) ## End(Not run)