logjam_agent 0.24.6 → 0.24.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logjam_agent/rack/logger.rb +2 -0
- data/lib/logjam_agent/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a84f300952a994d98d1d6530a6695adc23f0b214
|
4
|
+
data.tar.gz: bf906b9ca18fdd4a7ff6f292ad685ed3a126c450
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fac50e7e3743258f23fc0fb454f0f94a94b254ca28124d3c823ebffd5cf3483f32fc95fe6f92713686a31837698df3e4505897944b44be9c63a3ac46f449faa
|
7
|
+
data.tar.gz: 6a86f901d7823cef44b51a4cf135053a5bde32e04c2617588923ba50c22dc5b22fbb5638d1a0564c75d4a1ce867c08ae80d056230e526da082bb5c519c763bff
|
@@ -45,6 +45,8 @@ module LogjamAgent
|
|
45
45
|
end
|
46
46
|
before_dispatch(request, env, start_time)
|
47
47
|
result = @app.call(env)
|
48
|
+
rescue ActionDispatch::RemoteIp::IpSpoofAttackError
|
49
|
+
result = [403, {}, ['Forbidden']]
|
48
50
|
ensure
|
49
51
|
run_time_ms = (Time.now - start_time) * 1000
|
50
52
|
after_dispatch(env, result, run_time_ms, wait_time_ms)
|
data/lib/logjam_agent/version.rb
CHANGED