cidrrr

Crates.iocidrrr
lib.rscidrrr
version2024.3.22
sourcesrc
created_at2024-03-21 15:13:21.523721
updated_at2024-03-21 21:20:25.638529
descriptionConvert a CIDR block to a list of IPs
homepage
repositoryhttps://github.com/icepuma/cidrrr
max_upload_size
id1181730
size17,943
Stefan Ruzitschka (icepuma)

documentation

README

cidrrr

Does the same as cidrr, but with one more r :D

Makes inspection of IPv4 and IPv6 CIDR blocks a bit easier :)

Installation

cargo install cidrrr

Usage

# shows the first and last IP of the block
cidrrr 10.105.4.0/24

10.105.4.1
10.105.4.254
# shows all IPs of the block as a JSON array
# running the tool without "--danger-zone" will yield at most "1.048.576" addresses
cidrrr --all --output json 10.105.4.0/24

["10.105.4.1", "10.105.4.2", "10.105.4.3", ..., "10.105.4.253", "10.105.4.254"]
Commit count: 6

cargo fmt