A CLI to check that IP addresses are included in CIDR.
checkcidr <CIDR list file> <IP addresses list file>...
# ex:
checkcidr testdata/cidr_1.txt testdata/ip_1.txt
checkcidr
prints result as free text style.
You can choose a format from free_text
, json
or json_stream
(ex: -style json
).
checkcidr -style json <CIDR list file> <IP addresses list file>...
checkcidr
prints progress to stderr by default. Please set -noprogress
if you don't need it.
checkcidr -noprogress <CIDR list file> <IP addresses list file>...
MIT