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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 84c480fbe74891dffe0c059342828dbaa5cec738
4
- data.tar.gz: 844e57cdb5a987e5450c25f12a34a54a43dbe214
3
+ metadata.gz: a84f300952a994d98d1d6530a6695adc23f0b214
4
+ data.tar.gz: bf906b9ca18fdd4a7ff6f292ad685ed3a126c450
5
5
  SHA512:
6
- metadata.gz: eea27be505b7d2034169f0a7b75b19393c7172a13b46cf6854d29970c2de31ffb7b7f8ca934e1c368c77bd54bd08121e5a12b63e54d5b8f6aa033a7d10f517f0
7
- data.tar.gz: 7bcab45e484e0a9b35476f01b52d6ac49c699194f28cae7aacbd034d6741be029f305f2d1e19e1a82ee91fb6f32f359f9cb6dca50f66d83de4ef4c4cb72816c5
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)
@@ -1,3 +1,3 @@
1
1
  module LogjamAgent
2
- VERSION = "0.24.6"
2
+ VERSION = "0.24.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logjam_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.6
4
+ version: 0.24.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Kaes