Login rate-limiting at the auth backend level
Project description
Django-ratelimit-backend
Rate-limit your login attempts at the authentication backend level. Login attempts are stored in the cache for 5 minutes and IPs with more than 30 failed login attempts in the last 5 minutes are blocked.
The numbers (30 attempts, 5 minutes) as well as the blocking strategy can be customized.
Authors: Bruno Renié and contributors
Licence: BSD
Compatibility: Django 1.8 and greater
Documentation: https://django-ratelimit-backend.readthedocs.io
Credits
Simon Willison for his ratelimitcache idea
Hacking
git clone https://brutasse@github.com/brutasse/django-ratelimit-backend.git
Hack and run the tests:
python setup.py test
To run the tests for all supported Python and Django versions:
pip install tox tox
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-ratelimit-backend-2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de1056767b0cf3a5a78b2e7685153d55891720e2b3fdbd1a35cf689a97b1bffe |
|
MD5 | 43443c8f75b8e936da25473ab2fb4a01 |
|
BLAKE2b-256 | eb948ee54ad1ae413f5547ce9aeeedb89a910154908efce1600c276418cdf724 |
Close
Hashes for django_ratelimit_backend-2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fa1f8b3f45101f49eabb2cdfd032e1af1e12f37b8b888ca3265f363389dd8be |
|
MD5 | 1258bc89b692233d391900a1f1a5e295 |
|
BLAKE2b-256 | c1616230218ab8137235581461b48bc16cedf95946cf1d18ae4df7ee882a01e4 |