Commit graph

102 commits

Author SHA1 Message Date
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
Vipul A M
7f3a24022b extract mandatory options constant 2013-05-03 09:25:43 +05:30
Vipul A M
709a2331c0 Remove unused var 2013-05-03 09:19:09 +05:30
Aaron Suggs
7002a2a5cd Merge pull request #7 from vipulnsward/fix_typo
Fix typos
2013-05-02 12:28:21 -07:00
Vipul A M
d3a9667474 Fix typos 2013-05-03 00:55:23 +05:30
Aaron Suggs
4df55677d0 README: add link to blog post 2013-05-02 13:57:28 -04:00
Aaron Suggs
51a25c3995 Update README 2013-03-06 16:41:43 -05:00
Aaron Suggs
733a506ced README: add performance section 2013-03-06 16:39:02 -05:00
Aaron Suggs
ecec8576ae Show some minitest pride 2013-03-04 21:06:53 -05:00
Aaron Suggs
1cbd402431 Add redis to README 2013-03-04 21:06:53 -05:00
Aaron Suggs
917d47758e Add newlines to default responses 2013-03-04 21:06:15 -05:00
Aaron Suggs
f03275efe0 secure rubygems 2013-03-04 21:06:15 -05:00
Aaron Suggs
6added3c1f Merge pull request #6 from kickstarter/redis
Support Redis
2013-03-04 17:44:41 -08:00
Aaron Suggs
1c01e6097c bump to version 2.1.0 2013-02-25 22:39:11 -05:00
Aaron Suggs
cf508e1d18 Support RedisStore as cache store
Add tests for different cache stores
2013-02-25 12:09:59 -05:00
Aaron Suggs
234a2cff6c Merge pull request #5 from barelyknown/master
Fixed syntax error in response example
2013-02-23 16:26:37 -08:00