Download the PHP package emden-norfolk/cidrl without Composer
On this page you can find all versions of the php package emden-norfolk/cidrl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download emden-norfolk/cidrl
More information about emden-norfolk/cidrl
Files in emden-norfolk/cidrl
Package cidrl
Short Description IP tools for CIDR blocks.
License LGPL-2.0
Homepage https://github.com/emden-norfolk/cidrl
Informations about the package cidrl
cidrl — CIDR List
CIDRL lists all IP addresses within a CIDR block (IPv4 and IPv6.) Supports subnetting.
Classless Inter-Domain Routing (CIDR; rfc1519) is a strategy for assigning and routing Internet Protocol (IP) addresses.
Usage
cidrl for IPv4
Analyse and list all hosts in a /29:
Split a /24 into /28:
See examples/host_exists_in_network.sh for an example on how to use the -e option to programmatically check if a host exists within a given network. Alternatively, use cidrl -ae <host> <network>.
cidrl6 for IPv6
Split an IPv6 /60 into /64:
Analyse an IPv6 network and check if a given host exists within it:
Installation
References
The following manual pages are helpful for understanding the implementation of CIDRL:
Further reading:
- Grothof, C. (2008), Migrating Code to IPv6 the good, the bad and the ugly, Colorado Research Institute for Security and Privacy.
See also:
Author
2016 (c) Damien Bezborodov