Skip to main content

基于django实现的IP访问黑名单功能。可以通过asn/network对访问IP进行拦截,禁止符合要求的IP访问网站。

Project description

# django-accessblacklist

#### 介绍 基于django实现的IP访问黑名单功能。可以通过asn/network对访问IP进行拦截,禁止符合要求的IP访问网站。

#### 软件架构 middleware对来访ip进行筛查,判断来访IP是否在禁止名单里。 禁止名单包括 asn 和 network ,可以在后台添加。 同时可以在settings.py里定义是否启用拦截,是否启用拦截缓存,拦截缓存使用的后段以及缓存生效时间。

#### 安装教程

  1. xxxx

  2. xxxx

  3. xxxx

#### 使用说明

  1. xxxx

  2. xxxx

  3. xxxx

#### 参与贡献

  1. Fork 本仓库

  2. 新建 Feat_xxx 分支

  3. 提交代码

  4. 新建 Pull Request

#### 特技

  1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md

  2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)

  3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目

  4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目

  5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)

  6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

Project details


Download files

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

Source Distribution

django_accessblacklist-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_accessblacklist-0.1.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file django_accessblacklist-0.1.0.tar.gz.

File metadata

  • Download URL: django_accessblacklist-0.1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for django_accessblacklist-0.1.0.tar.gz
Algorithm Hash digest
SHA256 467c7f2bea0a431932eeb0e1e4a008e9e01f26c15ebeeb3a0631d3b0d1f29c45
MD5 aa3cca25c1e9bc1c97f8ed8cbe0dd952
BLAKE2b-256 69673afe7ae906367bd903eef32c7c8006465bc94b98619e62326f51336be4a4

See more details on using hashes here.

File details

Details for the file django_accessblacklist-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_accessblacklist-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 089b8dcac8f63cbe9564b76e1f69efe7ee6f08e603537a33c2af21fefe810b83
MD5 5a832d32f006a82598206b56e4b1749a
BLAKE2b-256 80c1b21f62436ecb44f86ddb77a501628629a43968f782950701a874fca8da96

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page