iptools
Home
Reference
Articles
News
Function reference
version 0.5.0.9000
All functions
asn_table_to_trie
Convert a
cached_country_cidrs
Inspect cached CIDR countries
country_ranges
Return CIDR ranges for given ISO 3166-1 alpha-2 country codes
expand_ipv6
Expand an IPv6 address from an abbreviated version
flush_country_cidrs
Flush the country CIDR cache
get_all_country_ranges
Fetch all country CIDR blocks
hilbert_encode
Encode an IPv4 address to Hilbert space
hostname_to_ip
Returns the IP addresses associated with a hostname.
iana_assignments
IANA IPv4 Address Space Registry
iana_ports
IANA Service Name and Transport Protocol Port Number Registry
iana_special_assignments
IANA IPv4 Special-Purpose Address Registry
ip_classify
Identify whether an IP address is IPv4 or IPv6
ip_in_any
check if IP address falls within any of the ranges specified
ip_in_range
check if IP addresses fall within particular IP ranges
ip_numeric_to_binary_string
Convert a charcter vector of IPv4 addresses to a character vector of
ip_to_numeric
numeric_to_ip
convert between numeric and dotted-decimal IPv4 forms.
ip_random
generate random IPv4 IP addresses
ip_to_asn
Match IP addresses to autonomous systems
ip_to_binary_string
Convert a numeric vector of IPv4 addresses to a character vector of
ip_to_hostname
Return the hostname associated with particular IP addresses
ips_in_cidrs
Determine if a vector if IPv4 addresses are in a vector of CIDRs
iana_assignments_refresh
iana_ports_refresh
iana_special_assignments_refresh
Refresh iptools Internal Datasets
iptools
iptools-package
A package to quickly and easily handle IP addresses.
is_ipv4
is_ipv6
is_multicast
is_valid
Logical checks for IP addresses
range_boundaries
calculate the maximum and minimum IPs in an IP range
range_generate
generate all IP addresses within a range
v6_scope
Return the scope of an IPv6 address (string)
validate_range
check whether IPv4 ranges are valid
xff_extract
Take vectors of IPs and X-Forwarded-For headers and produce single, normalised