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-1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8114c0737b71bf5028181139d5c9ee2e45f453e3c46c8ae7cbcc6cdaf9f2b2c2 |
|
MD5 | 7b2aa05f67389ca6f5d5b7c8392ddbeb |
|
BLAKE2b-256 | ee1d83d1c50d6714ce6224678a488a627dfc1c89d6605b2cef2c7bcef15efb7f |
Close
Hashes for django_ratelimit_backend-1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d06ec07e6f33b39dbef317140807d079a87b4e9ad0f2973be6b10e50a9ff3f42 |
|
MD5 | 404a3d517f1c840620b870a0c2c84b41 |
|
BLAKE2b-256 | a1d34c847ca0c8dc3068a26326cadc41d56961793f4cbfc8f571a6dfad202837 |