Sha256: 635cef0ba443fb684c150f7bc2b0729fb80935c0d6189337151569c1de8e25cb
Contents?: true
Size: 732 Bytes
Versions: 2
Compression:
Stored size: 732 Bytes
Contents
# frozen_string_literal: true require 'cloudflare_ips/version' require 'cloudflare_ips/railtie' module CloudflareIPs # https://www.cloudflare.com/ips-v4/ IPS_V4 = %w[ 173.245.48.0/20 103.21.244.0/22 103.22.200.0/22 103.31.4.0/22 141.101.64.0/18 108.162.192.0/18 190.93.240.0/20 188.114.96.0/20 197.234.240.0/22 198.41.128.0/17 162.158.0.0/15 104.16.0.0/13 104.24.0.0/14 172.64.0.0/13 131.0.72.0/22 ].map { |proxy| IPAddr.new(proxy) } # https://www.cloudflare.com/ips-v6/ IPS_V6 = %w[ 2400:cb00::/32 2606:4700::/32 2803:f800::/32 2405:b500::/32 2405:8100::/32 2a06:98c0::/29 2c0f:f248::/32 ].map { |proxy| IPAddr.new(proxy) } end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
cloudflare-ips-0.1.0 | lib/cloudflare_ips.rb |
cloudflare_ips-0.1.0 | lib/cloudflare_ips.rb |