wafris 0.8.3 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lua/dist/wafris_core.lua +2 -2
- data/lib/wafris/configuration.rb +2 -0
- data/lib/wafris/version.rb +1 -1
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66b7b15717346a4c6cef883d8615d539cfe9a7a9aca15b1f430b11faf510f378
|
4
|
+
data.tar.gz: be84cc1b2adea93af908914942d798ec56406dfbeff5caf063cf2d088b8e1299
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b43cc330f0729a0ce0a74a77670819a474b2f28b11fcd8c45ea4ac30531aff0158fae6e468810666403ec90966444f1fe3f604f501fd173cc2ede8d509f38c53
|
7
|
+
data.tar.gz: 6649a022d4213ca7ad57858aed9a33b9860a7a51b9387b4129d12fc349546ac1ab108ff969e3d9a07c70031104816017ec07f71b3854b2d5c216b74fe06944f2
|
@@ -64,8 +64,8 @@ local function get_request_id(timestamp, ip, max_requests)
|
|
64
64
|
end
|
65
65
|
|
66
66
|
local function add_to_graph_timebucket(timebucket, request_id)
|
67
|
-
local key = wafris_prefix .. "gr-ct:"
|
68
|
-
redis.call("PFADD", key
|
67
|
+
local key = wafris_prefix .. "gr-ct:" .. timebucket
|
68
|
+
redis.call("PFADD", key, request_id)
|
69
69
|
-- Expire the key after 25 hours if it has no expiry
|
70
70
|
redis.call("EXPIRE", key, 90000)
|
71
71
|
end
|
data/lib/wafris/configuration.rb
CHANGED
data/lib/wafris/version.rb
CHANGED
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: 0.8.
|
4
|
+
version: 0.8.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micahel Buckbee
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-06-
|
12
|
+
date: 2023-06-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: connection_pool
|
@@ -199,7 +199,11 @@ homepage:
|
|
199
199
|
licenses:
|
200
200
|
- Elastic-2.0
|
201
201
|
metadata: {}
|
202
|
-
post_install_message:
|
202
|
+
post_install_message: |2
|
203
|
+
Thank you for installing the wafris gem. Please note that this is
|
204
|
+
BETA software. We may ask that you clear your redis instance but
|
205
|
+
will do our best to help migrate any block or allow rules that
|
206
|
+
you have created.
|
203
207
|
rdoc_options: []
|
204
208
|
require_paths:
|
205
209
|
- lib
|