Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Django app based on RedisSentry (redissentry-core) protecting against password attacks

Project Description

This is django specific app for RedisSentry. For generic package, (which this app is dependent on) see redissentry-core.

Installation

settings.py:

MIDDLEWARE_CLASSES += (
    'redissentry.middleware.RequestMiddleware',
)

INSTALLED_APPS += (
    'redissentry',
)

Finetuning

settings.py:

RS_REDIS_HOST = 'localhost'
RS_REDIS_PORT = 6379
RS_REDIS_PASSWORD = ''
RS_REDIS_DB = 0

RS_FA_PER_IP = 5         # block ip after every N failed attempts
RS_FA_PER_USERNAME = 5   # block username after every N failed attempts

Also the class structure is designed in such a way as to facilitate further finetuning through inheritance.

Release History

Release History

This version
History Node

0.2.0

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-redissentry-0.2.0.zip (20.9 kB) Copy SHA256 Checksum SHA256 Source Jun 21, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting