Rack Attack with black-listed IP's still letting those IPs in on Heroku #611
Unanswered
Trimakas
asked this question in
Questions (Q&A)
Replies: 3 comments
-
Same problem I am also getting? Which version of rails and redis version you are using ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Trimakas did you able to figure out this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can't really know the correct IP address of the client on Heroku, they do pass along it in the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've blacklisted a specific IP, setup the
rack-attack.rb
file in my initializers, and updated myapplication.rb
file. And I still am getting the following mess at around 30x a second.This is what I see in my logs:
But my
rack_attack.rb
which is inconfig/initializers
looks like this:And then I added this to my
application.rb
fileAnd this is all running in production on Heroku, What do you all think?
Beta Was this translation helpful? Give feedback.
All reactions