Aaron Suggs
7c6cead69c
Version 3.0.0; update changelog
2014-03-15 08:01:55 -04:00
Aaron Suggs
1abe292240
Merge pull request #49 from wkimeria/wip/dont_raise_redis_error
...
If redis client throws exception, don't raise it
2014-03-15 07:56:16 -04:00
Will Kimeria
87f628d0c1
If redis client throws exception, don't raise it
...
For throttling, when the redis client throws an exception, the request
ends up getting rate limited. Modify this to be similar to how
ActiveSupport.MemCacheStore functions (the read, write and increment
methods do not raise exceptions)
2014-03-14 11:50:59 -07:00
Aaron Suggs
8993db2dc4
Update Changelog
2014-02-06 18:52:58 -05:00
Aaron Suggs
48adeda2f6
Merge pull request #42 from carpodaster/feature/return-403-forbidden-by-default
...
Return 403 forbidden by default
2014-02-06 18:51:29 -05:00
Carsten Zimmermann
1095f85242
Change response body to 'Forbidden'
2014-02-06 23:29:44 +01:00
Carsten Zimmermann
355a6fbce6
Update readme
2014-02-06 21:35:28 +01:00
Carsten Zimmermann
97a43f7e66
Return 403 Forbidden instead of 401
...
401 Unauthorized suggests that the requests can be
retried with appropriate credentials. 403 explicitly
states that the request should not be repeated.
See #41
2014-02-06 21:32:51 +01:00
Aaron Suggs
d79fda80d6
TravisCI: workaround errors on ruby 2.1.0
...
Use latest bundler version.
See https://github.com/travis-ci/travis-ci/issues/1806
2014-01-03 13:47:58 -05:00
Aaron Suggs
d28dcaf0b1
Merge pull request #39 from tjschuck/patch-1
...
Update deprecated nginx limit_zone to limit_conn_zone
2014-01-03 10:37:43 -08:00
T.J. Schuck
63b8a0d7bd
Update deprecated nginx limit_zone to limit_conn_zone
2014-01-03 10:04:21 -05:00
Aaron Suggs
93fae0853e
Merge pull request #38 from salimane/pr_ruby_2_1_0
...
Add Ruby 2.1.0 to .travis.yml
2013-12-27 19:45:08 -08:00
Aaron Suggs
f8b516fb11
Remove debugger as development dependency
2013-12-27 22:28:13 -05:00
Salimane Adjao Moustapha
31d69071e7
Add Ruby 2.1.0 to .travis.yml
2013-12-27 15:40:25 +01:00
Aaron Suggs
9538d3156f
Merge pull request #37 from mjelks/master
...
Update README.md
2013-11-06 14:25:34 -08:00
Michael Jelks
df276e6dfa
Update README.md
...
Appears to be error with documentation and Allow2Ban portion. Caused local errors with '.path= is undefined'
2013-11-06 14:18:37 -08:00
Aaron Suggs
4a9222e03a
Merge pull request #35 from schneems/patch-1
...
properly indent code sections
2013-10-23 04:59:22 -07:00
Richard Schneeman
41c449f838
properly indent code sections
...
Using three tick marks and double indenting is redundant. Doing both produces a readme with an odd visual flow. This change does not modify content, it only changes lefthand whitespace so the Readme on Github will be more coherent.
2013-10-23 00:09:43 -05:00
Aaron Suggs
25d8cc7c49
Changelog: update for 2.3.0 release
2013-10-11 15:53:07 -04:00
Aaron Suggs
1b6925554d
travis: use jruby-19mode
2013-10-09 15:47:03 -04:00
Aaron Suggs
c42e035f62
specs: fix MiniTest typo for older ruby versions
2013-10-09 15:31:52 -04:00
Aaron Suggs
01797eb0ca
Merge pull request #34 from jormon/patch-1
...
allow2ban docs typo
2013-09-30 10:30:17 -07:00
Jordan Moncharmont
76dc9b1dc9
Update README.md
...
docs typo
2013-09-30 10:18:54 -07:00
Aaron Suggs
e7d4217c34
Update CHANGELOG.md
2013-09-28 21:03:36 -04:00
Aaron Suggs
67489b7323
Merge pull request #33 from teslamotors/allow2ban
...
Allow2Ban
2013-09-28 18:01:13 -07:00
Jordan Moncharmont
273e045f10
fix edge case, if maxretry is 1, let them get 1 request in
2013-09-27 17:35:01 -07:00
Jordan Moncharmont
ef59c5182a
Allow2Ban
...
An alternate to fail2ban that allows clients until they hit the
thresholds, then blocks them. Think of it like a throttle where you can
block for more than one period.
2013-09-27 17:18:52 -07:00
Aaron Suggs
56858b85af
README: add link to mailing list archives
2013-08-21 10:18:32 -04:00
Aaron Suggs
65ea56d9a8
Add mailing list to readme
2013-08-20 18:57:41 -04:00
Aaron Suggs
3cec847048
[travisci] Fix gemspec path in gemfiles
2013-08-20 13:53:18 -04:00
Aaron Suggs
da2f265e7e
[travisci] Add tests for activesupport 3.2 and 4.0
2013-08-20 13:47:45 -04:00
Aaron Suggs
7d9326235d
Drop test support for ruby 1.9.2
...
1.9.2 isn't supported by rails 4, and is difficult to test with travis
ci.
Attn @zmillman: I'd welcome further patches to better test ruby 1.9.2
support without compromising testing on 1.9.3 & 2.0.
See also: #21
2013-08-20 13:45:23 -04:00
Aaron Suggs
1d367f5acd
version 2.3.0, update changelog, copy tweaks
2013-08-20 11:39:44 -04:00
Aaron Suggs
b7ebb58bd9
Merge pull request #30 from lunks/allow-limit-to-be-a-proc
...
Allow limit option to be a proc.
2013-08-20 08:35:27 -07:00
Pedro Nascimento
ab6d7b239d
Allow limit option to be a proc.
...
This allows you to do stuff like:
`req.env["USER"] == "god" ? 1000 : 1`
2013-08-19 19:47:48 -03:00
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