iptools: Manipulate, Validate and Resolve 'IP' Addresses

A toolkit for manipulating, validating and testing 'IP' addresses and ranges, along with datasets relating to 'IP' addresses. Tools are also provided to map 'IPv4' blocks to country codes. While it primarily has support for the 'IPv4' address space, more extensive 'IPv6' support is intended.

Author
Bob Rudis <bob@rudis.net> [aut, cre], Oliver Keyes <ironholds@gmail.com> [aut], Tim Smith [ctb]
Date of publication
2016-04-04 18:39:39
Maintainer
Bob Rudis <bob@rudis.net>
License
MIT + file LICENSE
Version
0.4.0
URLs

View on CRAN

Man pages

cached_country_cidrs
Inspect cached CIDR countries
country_ranges
Return CIDR ranges for given ISO 3166-1 alpha-2 country codes
flush_country_cidrs
Flush the country CIDR cache
get_all_country_ranges
Fetch all country CIDR blocks
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_range
check if IP addresses fall within particular IP ranges
ip_numeric
convert between numeric and dotted-decimal IPv4 forms.
ip_random
generate random IPv4 IP addresses
ip_to_hostname
Return the hostname associated with particular IP addresses
iptools
A package to quickly and easily handle IP addresses.
iptools_refresh
Refresh iptools Internal Datasets
is_checks
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
validate_range
check whether IPv4 ranges are valid
xff_extract
Take vectors of IPs and X-Forwarded-For headers and produce...

Files in this package

iptools
iptools/inst
iptools/inst/doc
iptools/inst/doc/introduction_to_iptools.Rmd
iptools/inst/doc/iptools_datasets.Rmd
iptools/inst/doc/introduction_to_iptools.R
iptools/inst/doc/iptools_datasets.R
iptools/inst/doc/introduction_to_iptools.html
iptools/inst/doc/iptools_datasets.html
iptools/inst/js
iptools/inst/js/in.js
iptools/inst/js/bundle.js
iptools/tests
iptools/tests/testthat
iptools/tests/testthat/test_range_validation.R
iptools/tests/testthat/test_is.R
iptools/tests/testthat/test_ip_conversion.R
iptools/tests/testthat/test_generators.R
iptools/tests/testthat/test_ip_in_range.R
iptools/tests/testthat/text_xff_extraction.R
iptools/tests/test-all.R
iptools/src
iptools/src/iptools.cpp
iptools/src/Makevars
iptools/src/asio_bindings.cpp
iptools/src/Makevars.win
iptools/src/RcppExports.cpp
iptools/src/asio_bindings.h
iptools/NAMESPACE
iptools/data
iptools/data/iana_ports.rda
iptools/data/iana_special_assignments.rda
iptools/data/iana_assignments.rda
iptools/R
iptools/R/dataset_refreshers.R
iptools/R/RcppExports.R
iptools/R/is.R
iptools/R/iptools.R
iptools/R/datasets.R
iptools/R/zzz.R
iptools/R/generators.R
iptools/R/country_ranges.R
iptools/vignettes
iptools/vignettes/introduction_to_iptools.Rmd
iptools/vignettes/iptools_datasets.Rmd
iptools/MD5
iptools/README
iptools/build
iptools/build/vignette.rds
iptools/DESCRIPTION
iptools/man
iptools/man/range_boundaries.Rd
iptools/man/iana_ports.Rd
iptools/man/range_generate.Rd
iptools/man/ip_classify.Rd
iptools/man/ip_in_range.Rd
iptools/man/flush_country_cidrs.Rd
iptools/man/hostname_to_ip.Rd
iptools/man/ip_to_hostname.Rd
iptools/man/validate_range.Rd
iptools/man/ip_random.Rd
iptools/man/iptools.Rd
iptools/man/iana_assignments.Rd
iptools/man/xff_extract.Rd
iptools/man/country_ranges.Rd
iptools/man/ip_numeric.Rd
iptools/man/is_checks.Rd
iptools/man/get_all_country_ranges.Rd
iptools/man/cached_country_cidrs.Rd
iptools/man/iptools_refresh.Rd
iptools/man/iana_special_assignments.Rd
iptools/LICENSE