wafris 2.0.7 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18143fac18debaf1b85c3b0bcef4deef24ea2fd27fbfaca36969a860e2ba1829
4
- data.tar.gz: cc6c953ec32d817b2484336902c9474fea514a47d1e43860f7699bed2a79524e
3
+ metadata.gz: e1efce2cd1d45e54016f741cbe2f90b99eaa1b9c13135775345a8c6c0799f9e8
4
+ data.tar.gz: 6b1e761814eaa0830e687b14a67862fd78b60220bc9cf79f5d7b52d0ff48b90c
5
5
  SHA512:
6
- metadata.gz: 73d478b06f745fc49c2f073466c931fe118ed1a3fc127ad6598087d5aab1d2f5009bac3dc588aa597f802402cbc0262a147866f43815ef9e4f0ba0d73a4be592
7
- data.tar.gz: 1ce9b2e491f7c776ee0ec113d515b5c9a47bfc1ee5debd0a59a0684e81771870a022886131fc8c7605776d6c52e52f1854f318b41cc63b9240c897203e83e39b
6
+ metadata.gz: c4ffd902c97eac5e6f93944da1b4cb8ef93a7504e4d93e0289ef117726eb8f13e8c9691001c2f7c1501d5c916ba1d40cb02aff1a055d90a07a5c56e37f19fce3
7
+ data.tar.gz: 56112f8a5bb85fca29a19e9ce3cd0500beb33f573caf415cd5c9f87ef1e2daee081b3da4508ede63712bed7404ff5ea1359471af90f3901164eac51bfa3ad04d
@@ -37,6 +37,15 @@ module Wafris
37
37
  /\A172\.(1[6-9]|2[0-9]|3[01])#{valid_ipv4_octet}{2}\z/, # private IPv4 range 172.16.0.0 .. 172.31.255.255
38
38
  /\A192\.168#{valid_ipv4_octet}{2}\z/, # private IPv4 range 192.168.x.x
39
39
  /\Alocalhost\z|\Aunix(\z|:)/i, # localhost hostname, and unix domain sockets
40
+ # Cloudflare IPs: https://www.cloudflare.com/en-au/ips/
41
+ /\A103\.21\.24[4-7]#{valid_ipv4_octet}\z/, # 103.21.244.0/22
42
+ /\A103\.22\.20[0-3]#{valid_ipv4_octet}\z/, # 103.22.200.0/22
43
+ /\A103\.31\.[4-7]#{valid_ipv4_octet}\z/, # 103.31.4.0/22
44
+ /\A104\.(1[6-9]|2[0-3])#{valid_ipv4_octet}{2}\z/, # 104.16.0.0/13
45
+ /\A104\.2[4-7]#{valid_ipv4_octet}{2}\z/, # 104.24.0.0/14
46
+ /\A108\.162\.192#{valid_ipv4_octet}\z/, # 108.162.192.0/18
47
+ /\A162\.15[8-9]#{valid_ipv4_octet}{2}\z/, # 162.158.0.0/15
48
+ /\A172\.(6[4-9]|7[0-1])#{valid_ipv4_octet}{2}\z/, # 172.64.0.0/13
40
49
  *user_defined_proxies
41
50
  )
42
51
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wafris
4
- VERSION = "2.0.7"
4
+ VERSION = "2.1.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wafris
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.7
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Buckbee
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-10-31 00:00:00.000000000 Z
12
+ date: 2024-11-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack