Commit graph

117 commits

Author SHA1 Message Date
Aaron Suggs
4e5db68ad6 Minor copy tweaks 2013-08-16 02:03:39 -04:00
Aaron Suggs
65511e0835 README.md: add gem badge; re-arrange stuff 2013-08-13 16:31:03 -04:00
Aaron Suggs
4872649e74 add release to changelog 2013-08-13 11:34:40 -04:00
Aaron Suggs
98eec24a8c Update changelog, version 2.2.1 2013-08-05 21:14:16 -04:00
Aaron Suggs
2925ade67c Merge pull request #27 from alexchee/master
Updated README about minimum version for redis
2013-08-02 07:45:40 -07:00
alexchee
fc274de1cb added note about redis minimum version 2013-08-01 14:13:02 -07:00
Aaron Suggs
5a37bb102f Add license to gemspec
Fixes issue #26
2013-07-17 10:37:26 -04:00
Aaron Suggs
905df04992 Merge pull request #24 from zmillman/ruby-1-9-2
Reduce Ruby version dependency to 1.9.2
2013-07-12 15:19:32 -07:00
Zach Millman
1c501e81a6 Reduce Ruby version dependency to 1.9.2
Also added 1.9.2 to Travis config file
2013-07-12 15:02:52 -07:00
Aaron Suggs
8ece6925aa Merge pull request #23 from zmillman/master
Explain why README examples use 503 to distract attackers
2013-07-12 15:00:03 -07:00
Zach Millman
8ff22a17f9 Fix typo 401 -> 429 2013-07-12 14:49:29 -07:00
Zach Millman
8a0fd35880 Fix response status comment for README 2013-07-12 14:45:59 -07:00
Zach Millman
d05da7d39b Explain why Rack::Attack returns 503 instead of 429 in README 2013-07-12 14:19:45 -07:00
Aaron Suggs
eaaad929b1 Merge pull request #20 from rallysf/correct-http-codes
Use correct HTTP status codes for blackist and throttle
2013-07-02 13:33:03 -07:00
Alex Volkovitsky & Sachin Maharjan
f348643c24 Fix spec expectations 2013-06-28 13:59:31 -07:00
Alex Volkovitsky & Sachin Maharjan
cfbee2c552 Use correct HTTP status codes for blackist and throttle 2013-06-28 10:55:28 -07:00
Aaron Suggs
237dc2d944 Format example code as ruby 2013-06-20 11:21:11 -04:00
Aaron Suggs
46f2b56ee3 fix typo 2013-06-20 11:20:52 -04:00
Aaron Suggs
61ecfbb51f Update changelog 2013-06-20 11:15:41 -04:00
Aaron Suggs
9388e98eb0 version 2.2.0 2013-06-20 11:05:00 -04:00
Aaron Suggs
2d81fa7217 Clarify Fail2Ban readme 2013-06-20 10:54:30 -04:00
Aaron Suggs
24143dd195 Cleanup whitespace 2013-06-20 10:19:56 -04:00
madlep
4fe7f2d1ba updated and condensed fail2ban docs 2013-06-17 08:55:37 +10:00
madlep
2819e0d7a4 collapse fail2ban name/discriminator into one argument 2013-06-17 08:50:39 +10:00
madlep
9761faf6be added README docs for fail2ban 2013-06-14 16:07:01 +10:00
madlep
baffa83687 spec for Fail2Ban 2013-06-14 15:37:02 +10:00
madlep
94a304b815 reorder logic to not repeatedly extend ban after more failed requests 2013-06-14 12:49:53 +10:00
madlep
3f1c98a868 Fail2Ban helper
based on gist from @ktheory https://gist.github.com/ktheory/5723534

Modified slightly to use fail2ban `filter` terminology to simplify
Rack::Attack initializer configuration (only one block is requred for
this approach instead of 2)
2013-06-12 15:51:13 +10:00
madlep
6c259ea9be delegate Redis custom logic to StoreProxy
this removes ugly `if redis blah` code from cache
2013-06-12 15:03:39 +10:00
madlep
22fc386bad add read/write methods to cache 2013-06-12 15:03:24 +10:00
Aaron Suggs
f73fd1ab4e README: clarify throttle example.
Don't use logical operators for control flow.
2013-06-10 12:39:55 -04:00
Aaron Suggs
247835c63b Merge pull request #15 from novemberkilo/patch-1
Minor edits to README
2013-05-17 15:59:25 -07:00
Navin
c784822680 Minor edits to README
Hints on where to define rules and a note on enabling the cache in dev mode
2013-05-17 20:23:31 +02:00
Aaron Suggs
b83cf47b7f Changelog formatting 2013-05-16 14:31:34 -04:00
Aaron Suggs
bb7ed70caa ignore gems 2013-05-16 14:28:59 -04:00
Aaron Suggs
8982f1813b oops, remove gem 2013-05-16 14:28:35 -04:00
Aaron Suggs
d1cf2a2eea bump to version 2.1.1 2013-05-16 14:24:41 -04:00
Aaron Suggs
8026d57fc3 Add changelog 2013-05-16 14:24:41 -04:00
Aaron Suggs
e917fcc2b5 Merge pull request #14 from hanchang/master
Redis::CommandError (ERR value is not an integer or out of range):
2013-05-13 13:05:05 -07:00
Han Chang
2a91eb6c55 Fix #14 2013-05-10 22:08:31 +00:00
Aaron Suggs
31df3637f5 Merge pull request #13 from vipulnsward/jruby_support
Jruby support
2013-05-06 08:37:53 -07:00
Vipul A M
384892ce4c Make debugger dependency only for ruby platforms 2013-05-06 20:58:01 +05:30
Han
51d50cc4c1 Update README.md
Added note to help users who choose Redis as their backing store not get stuck.
2013-05-05 23:51:30 -07:00
Vipul A M
ef9cca9b46 Rack::Attack runs on jruby 2013-05-06 11:55:01 +05:30
Vipul A M
4fcbe790ed Remove debugger dependency, as it isn't used 2013-05-06 11:53:58 +05:30
Aaron Suggs
22f051fa2d Merge pull request #10 from vipulnsward/mandatory_options
extract mandatory options constant
2013-05-03 07:41:02 -07:00
Aaron Suggs
65e8615b3c Merge pull request #12 from vipulnsward/ruby_2_0
Ruby 2.0
2013-05-03 03:44:10 -07:00
Aaron Suggs
a8e759cf4b Merge pull request #9 from vipulnsward/remove_unused_var
Remove unused var
2013-05-03 03:43:39 -07:00
Vipul A M
51abf5f625 add 2.0.0 to travis 2013-05-03 12:33:57 +05:30
Vipul A M
9c0cbad1e7 bump debugger version for 2.0 support 2013-05-03 12:33:38 +05:30