-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
sidebar_position: 5 | ||
--- | ||
|
||
# BitComet | ||
|
||
PeerBanHelper 使用 BitComet WebAPI 与 BitComet 交互。本章将介绍如何为 BitComet 启用 WebAPI 并将 PeerBanHelper 与 BitComet 连接。 | ||
|
||
## 确认版本 | ||
|
||
PeerBanHelper 使用的 WebAPI 仅在 `v2.10 Beta6 [20240928]` 或者更高版本中可用。截至本文撰写时,v2.10 正式版还未发布。如果已发布正式版,请直接使用 v2.10 或者更高版本的正式版。 | ||
任何更低版本的 BitComet 均无法使用且不受支持。 | ||
|
||
## 开启 IP 过滤器 | ||
|
||
“工具->选项” 打开 BitComet 设置界面,在打开的设置窗口的左侧树形菜单中依次展开 “任务-> BT 下载 -> IP 过滤器”,在过滤器配置页面勾选 “按 IP 列表筛选 Peer”,并选择 “黑名单模式”。 | ||
|
||
![step1](./assets/BitComet-step1.jpg) | ||
|
||
## 配置禁止多重连接 | ||
|
||
允许多重连接会扰乱 PBH 的反作弊代码,因此必须将其禁用。 | ||
|
||
在打开的设置窗口的左侧树形菜单中选择 “高级设置”,找到 `bittorrent.multi_peers_same_ip`,将它的值设置为 “否”。 | ||
|
||
![step2](./assets/BitComet-step2.jpg) | ||
|
||
## 禁用 WebUI 限速 | ||
|
||
默认情况下,WebUI 会受到网络连接中的速度限制选项的限制,这会影响 PBH 访问 BitComet WebAPI 的性能,并导致封禁失败和延迟,因此需要将其禁用。 | ||
|
||
在打开的设置窗口的左侧树形菜单中选择 “高级设置”,找到 `network.ignore_remote_access_in_speed_limit`,将它的值设置为 “是”。 | ||
|
||
![step3](./assets/BitComet-step3.png) | ||
|
||
## 启用远程访问 | ||
|
||
PeerBanHelper 需要使用远程访问功能连接 BitComet,这个功能默认关闭,需要您手动将其开启。 | ||
|
||
在打开的设置窗口的左侧树形菜单中选择 “高级设置->远程访问”,勾选 “启用网页版远程访问”,并设置一个用户名和密码。 | ||
向下滚动,你还会看到端口号的设置,请记下上面显示的端口号设置。 | ||
|
||
![step4](./assets/BitComet-step4.png) | ||
|
||
全部填写完毕后,请记得保存。 | ||
|
||
## 在 PeerBanHelper 中添加 BitComet | ||
|
||
在 PeerBanHelper 中打开添加下载器窗口,选择 BitComet 类型。 | ||
|
||
地址分为两种情况: | ||
|
||
* 如果 BitComet 和 PeerBanHelper 在同一台设备上,请使用 `http://127.0.0.1:端口号`,其中 `端口号` 替换为你在上面步骤中记下的端口 | ||
* 如果 BitComet 和 PeerBanHelper 不在同一台设备上,请使用 BitComet 软件的 “高级设置->远程访问” 界面中,显示在用户名和密码框下面的地址 | ||
|
||
![step5](./assets/BitComet-step5.png) | ||
|
||
最后确定保存,测试通过即可使用。 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.