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

添加ip记录 #4878

Closed
4 tasks done
AixLau opened this issue Jul 31, 2023 · 6 comments
Closed
4 tasks done

添加ip记录 #4878

AixLau opened this issue Jul 31, 2023 · 6 comments
Labels
enhancement New feature or request stale No activity for more than 30 days

Comments

@AixLau
Copy link

AixLau commented Jul 31, 2023

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure this feature is not implemented.
  • I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

能否在管理中添加一个 ip设备登录记录,这样可以防范alist有没有被陌生人给获取密码登录进来 ,设置登录设备白名单 ip白名单 黑名单等

Suggested solution / 实现思路

No response

Additional context / 附件

No response

@AixLau AixLau added the enhancement New feature or request label Jul 31, 2023
@anwen-anyi
Copy link
Contributor

  1. 你说的 IP登录记录 log.log日志文件有,只不过没有显示是哪个用户名登录的而已,有IP显示
[GIN] 2023/07/31 - 17:57:06 | 200 |            0s |  192.168.31.103 | POST     "/api/auth/login"
[GIN] 2023/07/31 - 17:57:06 | 200 |            0s |  192.168.31.103 | GET      "/api/me"
[GIN] 2023/07/31 - 17:57:07 | 200 |      1.0001ms |  192.168.31.103 | GET      "/@manage/metas"
[GIN] 2023/07/31 - 17:57:07 | 200 |           1ms |  192.168.31.103 | GET      "/@manage/storages"
  1. 你说的登录设备白名单/黑名单
    • 你是否在寻找Nginx???

@Kx-Y
Copy link
Contributor

Kx-Y commented Jul 31, 2023

直接上防火墙不是更方便?

@443126500
Copy link

443126500 commented Aug 7, 2023

黑名单可以用第三方实现,登录历史记录及ip可以考虑添加上,类似:
账户名 登录ip ip归属地 登录时间 登录状态(成功/失败)

@wisinfun
Copy link

后台没有日志显示吧,其实如果能自定义通知是极好的,有新ip访问,能推送通知到指定的通知客户端(邮件、Bark)

Copy link

stale bot commented Nov 2, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale No activity for more than 30 days label Nov 2, 2023
Copy link

Hello @, this issue was closed due to inactive more than 52 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale No activity for more than 30 days
Projects
None yet
Development

No branches or pull requests

5 participants