{"id":23796766,"url":"https://github.com/PBH-BTN/PeerBanHelper","last_synced_at":"2025-09-06T12:31:45.912Z","repository":{"id":221361817,"uuid":"754169590","full_name":"PBH-BTN/PeerBanHelper","owner":"PBH-BTN","description":"BT 反吸血工具 - 自动封禁不受欢迎、吸血和异常的 BT 客户端，并支持自定义规则。PeerId黑名单/UserAgent黑名单/IP CIDR/假进度/超量下载/进度回退/多播追猎/连锁封禁/伪装检测 支持 qBittorrent/Transmission/Deluge/BiglyBT/Vuze(Azureus)/BitComet","archived":false,"fork":false,"pushed_at":"2024-10-29T09:13:57.000Z","size":76416,"stargazers_count":2150,"open_issues_count":16,"forks_count":70,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-10-29T09:25:59.791Z","etag":null,"topics":["azureus","biglybt","bitcomet","bittorrent","deluge","dt-torrrent","dt0001","gt0002","gt0003","hp-torrent","hp0001","peerbanhelper","qbittorrent","transmission","vuze","xl0012","xl0018","xl0019","xm0001","xunlei"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PBH-BTN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://afdian.com/a/Ghost_chu"]}},"created_at":"2024-02-07T14:35:16.000Z","updated_at":"2024-10-29T09:09:58.000Z","dependencies_parsed_at":"2024-03-15T17:32:22.689Z","dependency_job_id":"611e8224-fca1-41cc-aca6-208cf063256c","html_url":"https://github.com/PBH-BTN/PeerBanHelper","commit_stats":null,"previous_names":["ghost-chu/peerbanhelper","pbh-btn/peerbanhelper"],"tags_count":130,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PBH-BTN%2FPeerBanHelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PBH-BTN%2FPeerBanHelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PBH-BTN%2FPeerBanHelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PBH-BTN%2FPeerBanHelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PBH-BTN","download_url":"https://codeload.github.com/PBH-BTN/PeerBanHelper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232121486,"owners_count":18475561,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azureus","biglybt","bitcomet","bittorrent","deluge","dt-torrrent","dt0001","gt0002","gt0003","hp-torrent","hp0001","peerbanhelper","qbittorrent","transmission","vuze","xl0012","xl0018","xl0019","xm0001","xunlei"],"created_at":"2025-01-01T20:01:22.595Z","updated_at":"2025-09-06T12:31:45.890Z","avatar_url":"https://github.com/PBH-BTN.png","language":"Java","funding_links":["https://afdian.com/a/Ghost_chu"],"categories":["网络信息服务","Java","网络编程"],"sub_categories":["资源传输下载","Spring Cloud框架"],"readme":"# PeerBanHelper\n[English](./README.EN.md)\n\n自动封禁不受欢迎、吸血和异常的 BT 客户端，并支持自定义规则。\n\n![page-views](https://raw.githubusercontent.com/PBH-BTN/views-counter/refs/heads/master/svg/754169590/badge.svg)\n\nPeerBanHelper 是一个开放源代码的个人网络防火墙安全软件。通过连接支持的应用程序（如：BitTorrent 客户端软件）的 Web API 接口获取受保护应用的连接信息，识别其中可能包含潜在安全威胁的连接并通知对应的应用程序主动断开其连接。  \n\n## 功能介绍\n\nPeerBanHelper 主要由以下几个功能模块组成：\n\n- [PeerID 黑名单](https://docs.pbh-btn.com/docs/module/peer-id)\n- [Client Name 黑名单](https://docs.pbh-btn.com/docs/module/client-name)\n- [IP/GeoIP/IP 类型 黑名单](https://docs.pbh-btn.com/docs/module/ip-address-blocker)\n- [虚假进度检查器（提供启发式客户端检测功能）](https://docs.pbh-btn.com/docs/module/progress-cheat-blocker)\n- [自动连锁封禁](https://docs.pbh-btn.com/docs/module/auto-range-ban)\n- [多拨追猎](https://docs.pbh-btn.com/docs/module/multi-dial)\n- Peer ID/Client Name 伪装检查；通过 [AviatorScript 引擎](https://docs.pbh-btn.com/docs/module/expression-engine) 实现\n- [主动监测（提供本地数据分析功能）](https://docs.pbh-btn.com/docs/module/active-monitoring)\n- [网络 IP 集规则订阅](https://docs.pbh-btn.com/docs/module/ip-address-blocker-rules)\n- WebUI （目前支持：活跃封禁名单查看，历史封禁查询，封禁最频繁的 Top 50 IP，规则订阅管理，图表查看，Peer 列表查看）\n\n此外，PeerBanHelper 会在启动时下载 GeoIP 库，成功加载后支持以下功能：\n\n- 在封禁列表中查看 IP 归属地，AS 信息（ASN、ISP、AS 名称等），网络类型信息（宽带、基站、物联网、数据中心等）\n- 基于 GeoIP 信息按国家/地区、城市、网络类型、ASN 等封禁 IP 地址\n- 查看 GeoIP 统计数据\n\n\u003e [!TIP]\n\u003e 为获得最佳效果，建议配合我们维护的 IP 规则库 [PBH-BTN/BTN-Collected-Rules](https://github.com/PBH-BTN/BTN-Collected-Rules) 和 [BTN 网络](https://docs.pbh-btn.com/docs/btn/intro) 一起食用，不过这是完全可选的。\n\n\n## 支持的客户端\n\n\u003e [!CAUTION]\n\u003e 所有安装在 Docker 中的下载器，必须使用 host 网络驱动程序。PBH 需要下载器能获得 Peer 的真实 IP，不能使用 bridge 桥接模式！\n\n- qBittorrent/qBitorrent，**4.5.0 或更高版本**，不支持 XDown\n- BiglyBT（需要安装[插件](https://github.com/PBH-BTN/PBH-Adapter-BiglyBT)）\n- Deluge（需要安装[插件](https://github.com/PBH-BTN/PBH-Adapter-Deluge)）\n- Transmission **(4.1.0-beta2 或更高版本)**\n- BitComet **v2.10 Beta6 [20240928] 或更高版本** (不支持 P2SP LTSeed 长效种子反吸血，因为 BitComet 暂时无法封禁长效连接)\n\nPeerBanHelper 仅支持对传统 IPv4 或 IPv6 地址的反吸血，如遇 I2P 或者 Tor 连接将主动忽略。\n\n# 截图\n\n| 主界面                                                                                                                                | 封禁列表                                                                                                                             | 封禁日志                                                                                                                             | 封禁统计                                                                                                                            | 规则统计                                                                                                                                | 规则订阅                                                                                                                                |\n| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |\n| \u003cimg width=\"1280\" alt=\"homepage\" src=\"https://github.com/PBH-BTN/PeerBanHelper/assets/19235246/d7f7ea9f-70df-40f1-a782-260450972bc9\"\u003e | \u003cimg width=\"1280\" alt=\"banlist\" src=\"https://github.com/PBH-BTN/PeerBanHelper/assets/19235246/c3e139e6-eb82-423f-b083-1839713ec801\"\u003e | \u003cimg width=\"1280\" alt=\"banlogs\" src=\"https://github.com/PBH-BTN/PeerBanHelper/assets/19235246/00d8efcc-0dd7-4e05-bdeb-9444e14739d6\"\u003e | \u003cimg width=\"1280\" alt=\"maxban\" src=\"https://github.com/PBH-BTN/PeerBanHelper/assets/30802565/ae78ebb9-67f7-481a-9afc-7ced2c6a2534\"\u003e | \u003cimg width=\"1280\" alt=\"banMetrics\" src=\"https://github.com/PBH-BTN/PeerBanHelper/assets/19235246/9e4cd7b7-aaff-4b66-8d1d-ad4ef3466b1f\"\u003e | \u003cimg width=\"1280\" alt=\"banMetrics\" src=\"https://github.com/PBH-BTN/PeerBanHelper/assets/19235246/dc312186-9643-4f23-9d53-7b8e0852f228\"\u003e |\n\n## 安装 PeerBanHelper\n\n查看 [PeerBanHelper 文档](https://docs.pbh-btn.com/docs/category/%E5%AE%89%E8%A3%85%E9%83%A8%E7%BD%B2)\n\n## 常见问题\n\n在报告问题前，请先检查 [常见问题列表](https://docs.pbh-btn.com/docs/faq)\n\n## 需要帮助？\n考虑加入我们的 QQ 群！\n\n1 群：932978658\n\n或者：[Telegram](https://t.me/+_t3Nt5GZ6bJmYjBl)\n\n## 声明\n\n**使用本软件意味着你同意以下声明：** \n\n违法网站和黑灰产请勿向我组织开发或支持人员发起任何形式的人工服务请求；严禁使用 PBH-BTN 团队的任何成果（包括但不限于代码，镜像，程序，BTN规则集等）从事任何违法违规、危害国家安全、实施或帮助他人实施电信犯罪等非法活动。  \n用户不得通过 PBH-BTN 团队的任何成果（包括但不限于代码，镜像，程序，BTN规则集等）进行任何损害其它个人或组织的利益的活动。在任何违反个人或组织权益的情况下使用 PBH-BTN 团队的任何服务、产品均不被允许。\n用户使用本软件造成的任何后果，由用户自行承担，与本软件开发者无关。\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=PBH-BTN/PeerBanHelper\u0026type=Date)](https://star-history.com/#PBH-BTN/PeerBanHelper\u0026Date)\n\n## Tools\n\n在 PeerBanHelper 的开发过程中，我们使用到了许多优秀的专业工具。感谢下面的公司或项目慷慨的提供开源许可证：\n\n### Install4j\n\nPeerBanHelper 使用 [Install4j multi-platform installer builder](https://www.ej-technologies.com/products/install4j/overview.html) 打包多平台安装程序。感谢 ej-technolgies 的开放源代码许可证。点击链接或者下面的图片下载 install4j。\n\n[![Install4j](https://www.ej-technologies.com/images/product_banners/install4j_large.png)](https://www.ej-technologies.com/products/install4j/overview.html)\n\n### JProfiler\n\nPeerBanHelper 使用 [JProfiler all-in one Java profiler](https://www.ej-technologies.com/jprofiler) 对程序进行性能分析与优化。感谢 ej-technolgies 的开放源代码许可证。点击链接或者下面的图片下载 JProfiler。\n\n[![JProfiler](https://www.ej-technologies.com/images/product_banners/jprofiler_large.png)](https://www.ej-technologies.com/jprofiler)\n\n### 纯真 CZ88.NET 社区版 IP 库\n\n纯真(CZ88.NET)自2005年起一直为广大社区用户提供社区版IP地址库，只要获得纯真的授权就能免费使用，并不断获取后续更新的版本。如果有需要免费版IP库的朋友可以前往纯真的官网进行申请。\n\n纯真除了免费的社区版IP库外，还提供数据更加准确、服务更加周全的商业版IP地址查询数据。纯真围绕IP地址，基于 网络空间拓扑测绘 + 移动位置大数据 方案，对IP地址定位、IP网络风险、IP使用场景、IP网络类型、秒拨侦测、VPN侦测、代理侦测、爬虫侦测、真人度等均有近20年丰富的数据沉淀。\n\n\n## Credit\n\n### Backend\n\n- [Cordelia](https://github.com/bochkov/cordelia)\n- [IPAddress](https://github.com/seancfoley/IPAddress)\n- [YamlConfiguration](https://github.com/bspfsystems/YamlConfiguration)\n- [libby](https://github.com/AlessioDP/libby)\n- [AviatorScript](https://github.com/killme2008/aviatorscript)\n- [javalin](https://javalin.io/)\n- [deluge-java](https://github.com/RangerRick/deluge-java)\n- [jSystemThemeDetector](https://github.com/Dansoftowner/jSystemThemeDetector)\n- [Methanol](https://github.com/mizosoft/methanol)\n- [Flatlaf](https://github.com/JFormDesigner/FlatLaf)\n- [GeoIP2](https://dev.maxmind.com/geoip)\n- [ormlite](https://ormlite.com/)\n- [SimpleReloadLib](https://github.com/Ghost-chu/SimpleReloadLib)\n- [portmapper](https://github.com/offbynull/portmapper)\n- [xz](https://github.com/tukaani-project/xz-java)\n- [commonmark](https://github.com/commonmark/commonmark-java)\n- [oshi](https://github.com/oshi/oshi)\n- [semver4j](https://github.com/vdurmont/semver4j)\n- [commonmark](https://github.com/commonmark/commonmark-java)\n- [dnsjava](https://github.com/dnsjava/dnsjava)\n- [SWT](https://eclipse.dev/eclipse/swt/)\n- [simple-java-mail](https://www.simplejavamail.org/)\n- [PF4J](https://pf4j.org/)\n- [completable-futures](https://github.com/spotify/completable-futures)\n\n### WebUI\n\n- [Vue](https://vuejs.org/)\n- [ArcoDesign](https://arco.design/)\n- [ECharts](https://echarts.apache.org/en/index.html)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPBH-BTN%2FPeerBanHelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPBH-BTN%2FPeerBanHelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPBH-BTN%2FPeerBanHelper/lists"}