0.0
No commit activity in last 3 years
No release in over 3 years
Writes nginx or apache real ip config for amazon cloudfront or azure cloudflare
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

Gem to download and parse AWS or Azure CDN ranges

Build Status

Use the cloudeffrontery program to output them into nginx or Apache to allow real remote IPs to be reflected in the log

Usage: cloudeffrontery [options]
    -c, --cloud CLOUD                Which cloud - aws or azure (default: aws)
    -s, --service SERVICE            Which service (only applies to Amazon) (default: CLOUDFRONT)
    -d, --debug                      Some debug
    -a, --action ACTION              What to output - nginx, apache or print (an array of addresses) (default: nginx)
    -r, --region REGION              Which region (only applies to Amazon) (default: .*)
    -u, --url URL                    Custom URL to download the source from
cloudeffrontery -u https://ibroketheinternet.co.uk/ipsv4 -c azure -a print
["103.21.244.0/22", "103.22.200.0/22", "103.31.4.0/22", "104.16.0.0/12", "108.162.192.0/18", "131.0.72.0/22", "141.101.64.0/18", "162.158.0.0/15", "172.64.0.0/13", "173.245.48.0/20", "188.114.96.0/20", "190.93.240.0/20", "197.234.240.0/22", "198.41.128.0/17"]