utorrent-block-xunlei-v2.4 #26
ShenHongFei
started this conversation in
General
Replies: 3 comments 12 replies
-
先感謝您的辛勤勞動 我試了一下v2.4,ipfilter.dat 不會被清為0了
但現在2.X版在偵測到xunlei IP之後,好像也不一定會寫入ipfilter.dat? 以圖來說明,下圖中間可見 blocker 偵測到一整排應該要封鎖的IP |
Beta Was this translation helpful? Give feedback.
12 replies
-
你好,我在使用时出现了一个问题,在第4~5步的地方,下载了utorrent-block-xunlei.exe程序,双击或者管理员方式打开后,程序闪了不到一秒钟就消失了,我使用win7系统,不知道是系统问题还是需要安装额外的软件?谢谢 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
v2.4 修复 ipfilter.dat 被重置为空的 Bug, 完善动态屏蔽 IP 定时清理的逻辑. (Thanks to @tonyhsie @SeaHOH)
使用方法
1.1 打开 uTorrent 设置 > 高级 > 网页界面
1.2 选上 "启用网页界面", 并在下方填写用户和密码, 记下来, 作为命令行
--username
和--password
参数的值--port
参数的值C:/Users/<用户名>/AppData/Roaming/uTorrent/ipfilter.dat
,该目录下应该有 resume.dat 文件存在)保证 ipfilter.dat 文件存在(若不存在则新建空白 ipfilter.dat 文件),脚本会在原有 ipfilter.dat 文件内容之后添加被屏蔽的 IP,不影响已有内容及其功能utorrent-block-xunlei.exe
, 下载地址: https://github.com/ShenHongFei/utorrent-block-xunlei/releasesutorrent-block-xunlei.exe --help
启动 blocker (修改下参数的值):
utorrent-block-xunlei --port 50050 --username shf --password 123456 --ipfilter "C:/Users/shf/AppData/Roaming/uTorrent/ipfilter.dat"
(可选,不影响屏蔽功能) 在 uTorrent 中开启屏蔽日志,查看被屏蔽的连接请求
4.1 在 uTorrent 下方的日志面板中点击右键
4.2 勾选
记录用户通讯信息 > 记录拦截连接
4.3 有被屏蔽的用户连接时可以在 uTorrent 日志面板中看到类似下面的日志
实时控制,查看状态,REPL
在
utorrent-block-xunlei
命令行窗口中输入utorrent
可通过 REPL 查看其属性,调用其方法如输入
utorrent.print_blockeds()
可查看被动态屏蔽的 IP退出 utorrent-block-xunlei 时需在命令行窗口中输入
exit()
, 以保证ipfilter.dat
恢复到运行前的状态,不残留动态屏蔽的 IPThis discussion was created from the release utorrent-block-xunlei-v2.4.
Beta Was this translation helpful? Give feedback.
All reactions