ccidr
ccidr is a command line tool written in Go that help you get and filter Public Cloud IP address ranges.
Public clouds supported :
The IP address ranges for each cloud are included in the binaries. A new version will be release each week with update IP address ranges.
Examples
-
Prints All Azure regions
ccidr azure regions
-
Prints All Azure services
ccidr azure services
-
Prints All Azure IP address ranges
ccidr azure ips
-
Prints All Azure IP address ranges for a specific region
ccidr azure ips -r eastus
-
Prints All Azure IP address ranges for a specific service
ccidr azure ips -s AppService
-
Prints All Azure IP address ranges for a specific service and region
ccidr azure ips -s AppService -r eastus
Installation
The Go Get way
go get -u github.com/runoncloud/ccidr/cmd/ccidr
Binaries
OSX
curl -L -o ccidr.gz https://github.com/runoncloud/ccidr/releases/download/v1.0.0/ccidr_darwin_amd64.tar.gz && \
tar zxvf ccidr.gz && chmod +x ccidr && mv ccidr $GOPATH/bin/
Linux
curl -L -o ccidr.gz https://github.com/runoncloud/ccidr/releases/download/v1.0.0/ccidr_linux_amd64.tar.gz && \
tar zxvf ccidr.gz && chmod +x ccidr && mv ccidr $GOPATH/bin/
Windows
https://github.com/runoncloud/ccidr/releases/download/v1.0.0/ccidr_windows_amd64.zip
From source
Requirements:
- go 1.13 or newer
- GNU make
- git
make bin # binaries will be placed in bin/