Skip to main content

BlackRed

BlackRed is a dynamic blacklisting library using Redis as a fast and reliable storage backend.

https://coveralls.io/repos/edelbluth/blackred/badge.svg?branch=master https://travis-ci.org/edelbluth/blackred.svg?branch=master https://readthedocs.org/projects/blackred/badge/?version=latest https://img.shields.io/pypi/v/BlackRed.svg https://img.shields.io/pypi/status/BlackRed.svg https://img.shields.io/pypi/dd/BlackRed.svg https://img.shields.io/github/license/edelbluth/blackred.svg https://img.shields.io/badge/juergen-rocks-000033.svg?style=flat

How does it work?

Example: A user tries to log on a system and fails because of bad credentials or an inactivated account. This failure can be recorded with BlackRed. After three failures within a certain time the account gets locked for an extended period of time. This limits brute force attacks. All time periods are configurable.

In a desktop application you would record the username in question with BlackRed. In a web environment, the requester’s IP address would be the perfect.

In the redis database, two lists are kept: A watchlist that records the failures, and the blacklist that contains blocked items.

License

Copyright 2015 Juergen Edelbluth

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

See LICENSE.txt for complete License Text

Release files for BlackRed 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for BlackRed 0.3.0
File Size Uploaded
BlackRed-0.3.0.tar.gz 10.5 kB Details

Release files / BlackRed-0.3.0.tar.gz

Download URL BlackRed-0.3.0.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0ed55815bc9309c12c87de7990874213d277c0e13310274e393c9b172991b863
BLAKE2b-256 checksum
How to use checksums
df998776f3ff6fb18cc29f7a80089138ce9cba30f1ecc2d47e7199251cb3fcf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file

0.2.0

1 release file

0.1.7

1 release file

0.1.5

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page