iptools
iptools copied to clipboard
:fork_and_knife: 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, mo...
https://www.stats.ox.ac.uk/pub/bdr/M1mac/iptools.out ``` * using log directory ‘/Users/ripley/R/packages/tests-devel/iptools.Rcheck’ * using R Under development (unstable) (2021-01-09 r79815) * using platform: aarch64-apple-darwin20.2.0 (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ *...
Thank you for this wonderful package. I've run range_boundaries_to_cidr, but there were lots of errors. When I was using it with ip addresses starts with 2xx.xxx.xxx.xxx, it returns 128.0.0./32 for...
Function `is_valid` tests if a given IP address is a valid. It returns `TRUE` correctly, but returns `NA` instead of `FALSE` for an invalid IP address. (iptools version 0.6.1.) This...
Hello, I ran into an issue of mapping host ips and subnet lengths collected from flow data into subnet ranges, and did not find a way to make it with...
longs?
The codebase now includes those. Do we have that supported, R-side?
Hello! I have found a logical error in iptools. Iptools **validate_range** does not see the errors in network/netmask pair. **write** ``` > iptools::validate_range("10.0.0.0/8") [1] TRUE ``` **wrong** ``` > iptools::validate_range("10.0.1.0/8")...
I currently need to use Python 3 for any serious Internet address hacking, principally using the _ipaddress_, _netaddr_, and, occasionally, _socket_ modules. There is also _py-radix_ , but that's apparently...
I guess it's possible to do this easily in R, but what I would like to have is a modified range_generate that as a second argument can take GenerateIpLookupTable=true The...
Not that good at R, I putted a list with IP ranges into the range_generate() function. Doing the same thing for range_boundaries() will generate a "correct" data.frame, but with range_generate,...
need to add a logical `bsd` parameter for `is_ipv4` (ref: https://tools.ietf.org/html/draft-main-ipaddr-text-rep-00) to avoid saying ipv4 addresses with leading 0's in octets are valid.