{"id":19565380,"url":"https://github.com/nchekwa/cloud-iprange-feeder","last_synced_at":"2025-08-09T15:08:42.135Z","repository":{"id":157757267,"uuid":"296578159","full_name":"nchekwa/cloud-iprange-feeder","owner":"nchekwa","description":"Juniper SRX Firewall Dynamic Address Feeder","archived":false,"fork":false,"pushed_at":"2022-05-02T11:50:35.000Z","size":84,"stargazers_count":12,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-04T19:12:17.280Z","etag":null,"topics":["amazon-aws","aws","azure","cloud","feeder","firewall","firewall-rules","geoip","geoip-api","geoip-location","geoip2","geolocation","ip-range","juniper","juniper-srx","parse","pythone","srx","vsrx","vsrx-aws"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nchekwa.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-09-18T09:38:05.000Z","updated_at":"2025-02-05T22:56:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"0a81d035-0091-44ad-9327-16f44541bd50","html_url":"https://github.com/nchekwa/cloud-iprange-feeder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nchekwa%2Fcloud-iprange-feeder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nchekwa%2Fcloud-iprange-feeder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nchekwa%2Fcloud-iprange-feeder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nchekwa%2Fcloud-iprange-feeder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nchekwa","download_url":"https://codeload.github.com/nchekwa/cloud-iprange-feeder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251076722,"owners_count":21532577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amazon-aws","aws","azure","cloud","feeder","firewall","firewall-rules","geoip","geoip-api","geoip-location","geoip2","geolocation","ip-range","juniper","juniper-srx","parse","pythone","srx","vsrx","vsrx-aws"],"created_at":"2024-11-11T05:26:30.725Z","updated_at":"2025-04-27T01:30:44.690Z","avatar_url":"https://github.com/nchekwa.png","language":"Python","funding_links":["https://www.paypal.com/us/smarthelp/article/what-are-the-ip-addresses-for-live-paypal-servers-ts1056"],"categories":[],"sub_categories":[],"readme":"# cloud-iprange-feeder\nIP address ranges from Cloud Providers and from othere sources\n\n## List of Python Parsers feeds:\n- AMAZON-AWS - https://ip-ranges.amazonaws.com/ip-ranges.json\n- GITHUB - https://api.github.com/meta\n- GOOGLE-GCS - https://www.gstatic.com/ipranges/cloud.json\n- MICROSOFT-AZURE - https://www.microsoft.com/en-us/download/details.aspx?id=56519\n- Microsoft O365 - https://endpoints.office.com/endpoints/worldwide?clientrequestid=b10c5ed1-bad1-445f-b386-b919946339a7\n- ORACLE-OCI - https://docs.cloud.oracle.com/en-us/iaas/tools/public_ip_ranges.json\n- MAXMIND_GeoIP - https://www.maxmind.com/\n\n## How to run:\n1) you will need to have python + pip \u003cbr\u003e\n    ```bash\n    debian# apt-get install python3-pip\n    centos# yum install -y pip\n    ```\n2) install needed exttra lib:\u003cbr\u003e\n    ```bash\n    linux# pip install -r requirements.txt\n    ```\n3) clone repo ie. to: /opt/cloud-iprange-feeder/\u003cbr\u003e\n    ```bash\n    linux# mkdir /opt/\n    linux# git clone https://github.com/nchekwa/cloud-iprange-feeder\n    ```\n4) run feeder inside folder\u003cbr\u003e\n    ```bash\n    linux# python3 feeder_AMAZON_AWS.py\n    ```\n    Example console output:\n    ```bash\n    root@debian:/opt/cloud-iprange-feeder# python feeder_AMAZON-AWS.py\n    -----------------------------------------------------------------\n    Process: feeder_AMAZON-AWS.py at 2021-01-22 14:11:57.906558\n    Result:\n    - download in 0.206455945969 second\n    - processing in 0.590703964233 second\n    TOTAL: 0.797159910202 second\n    ```\n\n## What feeder will do?\nFeeder going to download IP Prefix list, parse it and generate in 'files' folder parsed files:\n- text files split by region/service/ALL (files contains IP ranges)\n- tgz which will contain all those text file in one compress file (for juniper SRX feed-server)\n- create info file - with time generation (when feeder was run)\n\n```\nie:\nfiles/AMAZON-AWS\n├── ALL\n├── ALL_ipv4\n├── ALL_ipv6\n├── rgn_af-south-1\n├── rgn_ap-east-1\n├── rgn_ap-northeast-1\n...\n├── svc_AMAZON\n├── svc_S3\n└── svc_WORKSPACES_GATEWAYS\nfiles/AMAZON-AWS.tgz\nfiles/AMAZON-AWS.txt\n```\n\n## How to use TGZ file\nSRX#\n```\n[edit security dynamic-address]\nset security dynamic-address feed-server MyAmazonFeed url http://\u003cserver\u003e/cloud-iprange-feeder/files/AMAZON-AWS.tgz\nset security dynamic-address feed-server MyAmazonFeed update-interval 30\nset security dynamic-address feed-server MyAmazonFeed hold-interval 3600\nset security dynamic-address feed-server MyAmazonFeed feed-name AWS_ALL path AMAZON-AWS/ALL\nset security dynamic-address address-name AWS_ALL_IPs profile feed-name AWS_ALL\n```\n\n# SRX\n```\n\u003e show configuration security dynamic-address \nfeed-server MyAmazonFeed {\n    url http://\u003cserver\u003e/cloud-iprange-feeder/files/AMAZON-AWS.tgz;\n    update-interval 30;\n    hold-interval 3600;\n    feed-name AWS_ALL {\n        path AMAZON-AWS/ALL;\n    }\n}\naddress-name AWS_ALL_IPs {\n    profile {\n        feed-name AWS_ALL;\n    }\n}\n```\n```\nroot@vSRX\u003e show security dynamic-address summary address-name AWS_ALL_IPs\n```\nJuniper SRX output command example in doc\\ folder\n\n## Othere feeds:\n- \"Alibaba Cloud\" - list not available (if you know where to find - pls let me know)\n- Cloudflare - https://www.cloudflare.com/ips-v4 | https://www.cloudflare.com/ips-v6\n- Facebook - https://developers.facebook.com/docs/sharing/webmasters/crawler\n- Atlantis - https://ip-ranges.atlassian.com/\n- zscaler - https://config.zscaler.com/zscaler.net/cenr\n- okta - https://s3.amazonaws.com/okta-ip-ranges/ip_ranges.json\n- paypal - https://www.paypal.com/us/smarthelp/article/what-are-the-ip-addresses-for-live-paypal-servers-ts1056\n- zoom - https://support.zoom.us/hc/en-us/articles/201362683-Network-firewall-or-proxy-server-settings-for-Zoom\n\n## Popular IP Threat Feeds\n- Block Lis - http://lists.blocklist.de/lists/all.txt\n- DShield - https://www.dshield.org/block.txt\n- Threatfox IP - https://threatfox.abuse.ch/export/csv/ip-port/recent/\n- Tor - https://check.torproject.org/exit-addresses\n- Feodo Tracker - https://feodotracker.abuse.ch/downloads/ipblocklist_recommended.txt\n\n## If you looking for Threat Protection - please check:\n- http://iplists.firehol.org/\n- https://github.com/firehol/blocklist-ipsets\n\n## Othere Geo-IP Feeds:\n- https://github.com/sapics/ip-location-db#readme\n- https://ipinfo.io/\n- ASN - https://bgp.potaroo.net/cidr/autnums.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnchekwa%2Fcloud-iprange-feeder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnchekwa%2Fcloud-iprange-feeder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnchekwa%2Fcloud-iprange-feeder/lists"}