A small library for repelling DDoS attacks
Project description
Documentation under development.
At this point you can already use the library. In the config file settings.py add:
REDIS_HOST = 'host' REDIS_PORT = 'port' REDIS_DB = '0 - 16' REDIS_TIMEOUT = 'if the user makes more than REDIS_MAX_REQUESTS requests during this time, he will be blocked' REDIS_MAX_REQUESTS = 'maximum number of requests'
Default settings:
REDIS_HOST = "localhost" REDIS_PORT = 6379 REDIS_DB = 0 REDIS_TIMEOUT = 5 * 60 REDIS_MAX_REQUESTS = 100
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ddos_blocker-0.0.13.tar.gz.
File metadata
- Download URL: ddos_blocker-0.0.13.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a608f2ab568f8f894d714e652a7a3c2e8e78cf6f8effce4d2942292f04b16cd7
|
|
| MD5 |
6ea8c908e5755ae0a33559f51934b57f
|
|
| BLAKE2b-256 |
97acb3458611728bebd859d5f303c10a86cc3b790edda83b18e0a5df39350371
|
File details
Details for the file ddos_blocker-0.0.13-py3-none-any.whl.
File metadata
- Download URL: ddos_blocker-0.0.13-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
283bc4fe5fd0ef0c8aaba91e8a152cc94053a6b2e5efa225406a2b8a2e93fb32
|
|
| MD5 |
38a9bf54569079a20fd37aa5606a03d0
|
|
| BLAKE2b-256 |
009e08afbca8040ad5c674b37bafb0f20ddfd526f03ce899f0de7ee38493451e
|