mirror of
https://github.com/lord-alfred/ipranges.git
synced 2025-12-19 03:37:47 +00:00
Add Cloudflare (#8)
Signed-off-by: Gavin D. Howard <gavin@gavinhoward.com>
This commit is contained in:
17
cloudflare/downloader.sh
Executable file
17
cloudflare/downloader.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# https://www.cloudflare.com/ips/
|
||||
|
||||
set -euo pipefail
|
||||
set -x
|
||||
|
||||
|
||||
|
||||
# get from public ranges
|
||||
curl -s https://www.cloudflare.com/ips-v4/ > /tmp/cf-ipv4.txt
|
||||
curl -s https://www.cloudflare.com/ips-v6/ > /tmp/cf-ipv6.txt
|
||||
|
||||
|
||||
# sort & uniq
|
||||
sort -V /tmp/cf-ipv4.txt | uniq > cloudflare/ipv4.txt
|
||||
sort -V /tmp/cf-ipv6.txt | uniq > cloudflare/ipv6.txt
|
||||
15
cloudflare/ipv4.txt
Normal file
15
cloudflare/ipv4.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
103.21.244.0/22
|
||||
103.22.200.0/22
|
||||
103.31.4.0/22
|
||||
104.16.0.0/13
|
||||
104.24.0.0/14
|
||||
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
|
||||
15
cloudflare/ipv4_merged.txt
Normal file
15
cloudflare/ipv4_merged.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
103.21.244.0/22
|
||||
103.22.200.0/22
|
||||
103.31.4.0/22
|
||||
104.16.0.0/13
|
||||
104.24.0.0/14
|
||||
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
|
||||
7
cloudflare/ipv6.txt
Normal file
7
cloudflare/ipv6.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
2a06:98c0::/29
|
||||
2c0f:f248::/32
|
||||
2400:cb00::/32
|
||||
2405:8100::/32
|
||||
2405:b500::/32
|
||||
2606:4700::/32
|
||||
2803:f800::/32
|
||||
7
cloudflare/ipv6_merged.txt
Normal file
7
cloudflare/ipv6_merged.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
2400:cb00::/32
|
||||
2405:8100::/32
|
||||
2405:b500::/32
|
||||
2606:4700::/32
|
||||
2803:f800::/32
|
||||
2a06:98c0::/29
|
||||
2c0f:f248::/32
|
||||
Reference in New Issue
Block a user