[GH-ISSUE #267] Bark能不能设置白名单 #109

Closed
opened 2026-03-03 11:56:08 +03:00 by kerem · 14 comments
Owner

Originally created by @Hello-XPH on GitHub (Mar 19, 2024).
Original GitHub issue: https://github.com/Finb/bark-server/issues/267

Originally created by @Hello-XPH on GitHub (Mar 19, 2024). Original GitHub issue: https://github.com/Finb/bark-server/issues/267
kerem closed this issue 2026-03-03 11:56:08 +03:00
Author
Owner

@Hello-XPH commented on GitHub (Mar 19, 2024):

比如说那些ip不被ban

<!-- gh-comment-id:2006040455 --> @Hello-XPH commented on GitHub (Mar 19, 2024): 比如说那些ip不被ban
Author
Owner

@Finb commented on GitHub (Mar 19, 2024):

这个最好用防火墙之类的自己配置规则

<!-- gh-comment-id:2006048318 --> @Finb commented on GitHub (Mar 19, 2024): 这个最好用防火墙之类的自己配置规则
Author
Owner

@Hello-XPH commented on GitHub (Mar 19, 2024):

就内网使用,还是会导致404的出现

<!-- gh-comment-id:2006055738 --> @Hello-XPH commented on GitHub (Mar 19, 2024): 就内网使用,还是会导致404的出现
Author
Owner

@Hello-XPH commented on GitHub (Mar 19, 2024):

还是希望可以设置白名单

<!-- gh-comment-id:2006058778 --> @Hello-XPH commented on GitHub (Mar 19, 2024): 还是希望可以设置白名单
Author
Owner

@Finb commented on GitHub (Mar 19, 2024):

bark-server 不会 ban ip,没有这个功能。404一般是你URL拼错了,检查特殊字符是否URL编码

<!-- gh-comment-id:2006060054 --> @Finb commented on GitHub (Mar 19, 2024): bark-server 不会 ban ip,没有这个功能。404一般是你URL拼错了,检查特殊字符是否URL编码
Author
Owner

@Hello-XPH commented on GitHub (Mar 19, 2024):

推送使用次数限制
正常请求(HTTP状态码为200)无任何限制。
但如果在5分钟内超过1000次错误请求(HTTP状态码为400 404 500)IP会被 BAN 24小时

<!-- gh-comment-id:2006070491 --> @Hello-XPH commented on GitHub (Mar 19, 2024): [推送使用次数限制](https://bark.day.app/#/faq?id=%e6%8e%a8%e9%80%81%e4%bd%bf%e7%94%a8%e6%ac%a1%e6%95%b0%e9%99%90%e5%88%b6) 正常请求(HTTP状态码为200)无任何限制。 但如果在5分钟内超过1000次错误请求(HTTP状态码为400 404 500)IP会被 BAN 24小时
Author
Owner

@Hello-XPH commented on GitHub (Mar 19, 2024):

这个是你自己写的,会被BAN24小时的

<!-- gh-comment-id:2006072050 --> @Hello-XPH commented on GitHub (Mar 19, 2024): 这个是你自己写的,会被BAN24小时的
Author
Owner

@Hello-XPH commented on GitHub (Mar 19, 2024):

为什么会错误这么多测试我也不太清除,

<!-- gh-comment-id:2006074704 --> @Hello-XPH commented on GitHub (Mar 19, 2024): 为什么会错误这么多测试我也不太清除,
Author
Owner

@Finb commented on GitHub (Mar 19, 2024):

这个是我服务器防火墙规则,因为是公共服务器限制下滥用,和bark-server没有关系的

<!-- gh-comment-id:2006075647 --> @Finb commented on GitHub (Mar 19, 2024): 这个是我服务器防火墙规则,因为是公共服务器限制下滥用,和bark-server没有关系的
Author
Owner

@Finb commented on GitHub (Mar 19, 2024):

已经回答了 404一般是你URL拼错了,检查URL中的特殊字符

<!-- gh-comment-id:2006077205 --> @Finb commented on GitHub (Mar 19, 2024): 已经回答了 404一般是你URL拼错了,检查URL中的特殊字符
Author
Owner

@Hello-XPH commented on GitHub (Mar 19, 2024):

好吧,不是404 是400刚刚写错了

<!-- gh-comment-id:2006078565 --> @Hello-XPH commented on GitHub (Mar 19, 2024): 好吧,不是404 是400刚刚写错了
Author
Owner

@Finb commented on GitHub (Mar 19, 2024):

400 也是

<!-- gh-comment-id:2006080774 --> @Finb commented on GitHub (Mar 19, 2024): 400 也是
Author
Owner

@Hello-XPH commented on GitHub (Mar 19, 2024):

就访问了ip:8080 也是400 普通都没有写

<!-- gh-comment-id:2006084167 --> @Hello-XPH commented on GitHub (Mar 19, 2024): 就访问了ip:8080 也是400 普通都没有写
Author
Owner

@Hello-XPH commented on GitHub (Mar 19, 2024):

重启没有解决问题,重新安装docker 就好了

<!-- gh-comment-id:2006086158 --> @Hello-XPH commented on GitHub (Mar 19, 2024): 重启没有解决问题,重新安装docker 就好了
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bark-server#109
No description provided.