vpndetection-rails 2.1.13 → 2.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/vpndetection/rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 970a4b9dcb72b24f5cc1834034b25165efce14da9ad1038dbfd4abee7c863a5a
|
|
4
|
+
data.tar.gz: 796d47a5136d16215f23be67af07a2b118a077a1b2134c4407b3a0e4d3f6f283
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 62dd76f794636aecb926ba35107ea8c98f31b150d2015aab477a68624089764233458c956a21da5788d79adb4d38d89681fa5b90bd9c9163841724152c2ea086
|
|
7
|
+
data.tar.gz: f7ddb60277521f24d4a34460cb83858b43e27af981db79e9d95ab37d997430d7d619943b60aece6cc7a07b0300c3a120b713b279cddb2cfde243426931c4c628
|
data/README.md
CHANGED
|
@@ -86,7 +86,7 @@ ip_selector: VPNDetection::Rails.header_ip_selector("CF-Connecting-IP")
|
|
|
86
86
|
Rack::Request.forwarded_priority = [:x_forwarded]
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
-
The middleware warns once when a request through a proxy carries both headers.
|
|
89
|
+
The middleware warns once when a request through a proxy carries both headers. From Rails 8.1.4.1, `RemoteIp` itself refuses a request whose `Forwarded` and `X-Forwarded-For` name different visitors, raising `ActionDispatch::RemoteIp::IpSpoofAttackError`, a 400, and the middleware leaves that to Rails, as your own `remote_ip` call would.
|
|
90
90
|
|
|
91
91
|
If the address resolves to a private one, the middleware says so once. That is expected locally and is the signal to fix your configuration anywhere else.
|
|
92
92
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vpndetection-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mslm Dev
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
requirements:
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 5.
|
|
32
|
+
version: 5.12.0
|
|
33
33
|
- - "<"
|
|
34
34
|
- !ruby/object:Gem::Version
|
|
35
35
|
version: '6'
|
|
@@ -39,7 +39,7 @@ dependencies:
|
|
|
39
39
|
requirements:
|
|
40
40
|
- - ">="
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
|
-
version: 5.
|
|
42
|
+
version: 5.12.0
|
|
43
43
|
- - "<"
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
45
|
version: '6'
|