Learn R Programming

⚠️There's a newer version (0.7.2) of this package.Take me there.

iptools (version 0.2.1)

Manipulate, Validate and Resolve IP Addresses

Description

A toolkit for manipulating, validating and testing IP addresses and ranges, along with datasets relating to IP addresses. While it primarily has support for the IPv4 address space, more extensive IPv6 support is intended.

Copy Link

Version

Install

install.packages('iptools')

Monthly Downloads

71

Version

0.2.1

License

MIT + file LICENSE

Maintainer

Bob Rudis

Last Published

July 23rd, 2015

Functions in iptools (0.2.1)

iptools

A package to quickly and easily handle IP addresses.
hostname_to_ip

Returns the IP addresses associated with a hostname.
ip_in_range

check if IP addresses fall within particular IP ranges
iana_assignments

IANA IPv4 Address Space Registry
iana_assignments_refresh

Refresh iptools Internal Datasets
ip_random

generate random IPv4 IP addresses
iana_ports

IANA Service Name and Transport Protocol Port Number Registry
xff_extract

Take vectors of IPs and X-Forwarded-For headers and produce single, normalised IP addresses.
iana_special_assignments

IANA IPv4 Special-Purpose Address Registry
range_boundaries

calculate the maximum and minimum IPs in an IP range
ip_classify

Identify whether an IP address is IPv4 or IPv6
range_generate

generate all IP addresses within a range
ip_to_numeric

convert between numeric and dotted-decimal IPv4 forms.
ip_to_hostname

Return the hostname associated with particular IP addresses
validate_range

check whether IPv4 ranges are valid