Repository navigation
Fix CIDR (#168) - #169
Merged
Merged
Fix CIDR (#168)#169
Conversation
Contributor
Author
|
有计划在接下来继续改进统计部分。啊,好久没看这个项目了,多了好多东西呀。。。难得的空闲时光 |
Owner
|
谢谢! 先合并这个. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修复配置 CIDR 后,统计规则可能将网段字符串作为 IP 提交,导致 qBittorrent 拒绝封禁的问题。
统计改为按实际 IP 独立保存;网段用于程序内部的封禁匹配,同网段后续观测到的 Peer 会被逐个封禁,仅向客户端提交具体 IP。
已知问题:统计还是存在大量缺陷,peer不断覆盖不是累加,没有正确的全段统计等等。。。