Updated GCP + Compacting CIDR Ranges
This update brings the new method for fetching GCP ip ranges from their published json file instead of the janky dns crawling mechanism.
It also brings a new flag, --compacted
which can be used to automatically compact neighboring CIDR ranges. When run against the four cloud providers that sephiroth supports, a reduction in size of roughly 10x is seen.
sephiroth -t aws -t gcp -t oci -t azure -s nginx --compacted >/dev/null
sephiroth -t aws -t gcp -t oci -t azure -s nginx >/dev/null
wc -l output/2020-08-05_001815_nginx_aws_gcp_oci_azure.conf output/2020-08-05_001827_nginx_aws_gcp_oci_azure.conf
3037 output/2020-08-05_001815_nginx_aws_gcp_oci_azure.conf
32069 output/2020-08-05_001827_nginx_aws_gcp_oci_azure.conf