Skip to content

Updated GCP + Compacting CIDR Ranges

Compare
Choose a tag to compare
@0xdade 0xdade released this 05 Aug 00:54

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