Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[建议] 频率限制日志 支持按时间过滤 #904

Open
toyops opened this issue Jun 4, 2024 · 2 comments
Open

[建议] 频率限制日志 支持按时间过滤 #904

toyops opened this issue Jun 4, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@toyops
Copy link

toyops commented Jun 4, 2024

背景与遇到的问题

高频访问限制。这个功能,实际是与站点挂钩,需要分析查看日志时没有站点信息,不知道具体被限制的IP 是哪个站点的。以及有需求需要定位今天过滤了那些IP,某个时间段有哪些IP被限制。

建议的解决方案

建议增加站点关联信息,添加时间过滤功能方便查看IP被限制的情况。

@Lorna0
Copy link
Collaborator

Lorna0 commented Jun 4, 2024

高频访问限制目前不与站点挂钩,是全局统计和限制的。你可能想讨论的是:

时间过滤方面,因为目前限制日志列表本身就按时间排序,所以单独增加时间筛选的优先级比较低。如果你有更明确的场景,可以描述一下,收集下社区的意见,反馈的人多的话我们也会优先考虑。

@toyops
Copy link
Author

toyops commented Jun 4, 2024

高频访问限制目前不与站点挂钩,是全局统计和限制的。你可能想讨论的是:

* [[建议] 频率限制基于 host 或站点或 URL 进行统计 / 为不同网站配置不同的限频 #209](https://github.com/chaitin/SafeLine/issues/209)

时间过滤方面,因为目前限制日志列表本身就按时间排序,所以单独增加时间筛选的优先级比较低。如果你有更明确的场景,可以描述一下,收集下社区的意见,反馈的人多的话我们也会优先考虑。

用户会反馈某个时间段无法访问,我需要去定位查看,没有时间过滤只能一页一页翻。
高频访问限制目前不与站点挂钩,这个我也在其他渠道确认了。据说后面几个版本将和站点挂钩,那麻烦后续开发时请在展示和过滤部分加上,谢谢。

@Lorna0 Lorna0 changed the title [建议] 频率限制日志 查看页面 添加站点 时间过滤功能 [建议] 频率限制日志 支持按时间过滤 Jun 7, 2024
@Lorna0 Lorna0 added enhancement New feature or request and removed need more information labels Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants