Package 'ip2proxy'

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

Help Index


Lookup for IP address proxy information

Description

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.

Usage

get_all(ip)

Arguments

ip

IPv4 or IPv6 address

Value

Return all the proxy information about the IP address

Examples

## Not run: 
get_all("1.0.241.135")

## End(Not run)

Lookup for IP address proxy information

Description

Check whether if an IP address was a proxy.

Usage

is_proxy(ip)

Arguments

ip

IPv4 or IPv6 address

Value

Return a digit value: -1 (errors), 0 (not a proxy), 1 (a proxy), and 2 (a data center IP address).

Examples

## Not run: 
is_proxy("1.0.241.135")

## End(Not run)

Lookup for IP address proxy information using IP2Proxy web service.

Description

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.

Usage

lookup_web_service(api_key, ip, package = "PX1")

Arguments

api_key

IP2Proxy web service API key

ip

IPv4 or IPv6 address

package

Package to use for IP2Proxy web service.

Value

Return all the proxy information about the IP address

Examples

## Not run: 
lookup_web_service("1.0.241.135","PX1")

## End(Not run)

Load IP2Proxy BIN data

Description

Load the IP2Proxy BIN data for lookup. Free IP2Proxy LITE data available for download at <https://lite.ip2location.com/>

Usage

open(bin_location)

Arguments

bin_location

Absolute path of IP2Proxy BIN data

Examples

## Not run: 
open("~/IP-COUNTRY.BIN")

## End(Not run)

Plot map using IP2Location data.

Description

Plot the country on the map based on IP addresses and its IP2Location country data.

Usage

plot_map(ips)

Arguments

ips

A vector of IP addresses to be plot on

Examples

## Not run: 
plot_map(c("1.0.241.135", "1.2.3.4"))

## End(Not run)