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

🐛 [Bug] 文件管理器和Fail2ban Bug #443

Open
4 of 5 tasks
BigFF opened this issue Dec 14, 2024 · 5 comments
Open
4 of 5 tasks

🐛 [Bug] 文件管理器和Fail2ban Bug #443

BigFF opened this issue Dec 14, 2024 · 5 comments

Comments

@BigFF
Copy link

BigFF commented Dec 14, 2024

在提问之前 (Before Asking)

  • 我已经搜索了现有的 Issues, Discussions 和 Google (I've searched the existing Issues, Discussions and Google)
  • 我已经阅读了文档中除版本记录以外的所有内容 (I've read everything in the documentation except the version notes)
  • 我没有改动过面板及系统的任何文件 (I have not changed any files of the panel and system)
  • 这个问题可以被稳定复现 (The problem can be stably reproduced)
  • 问题是在更新之后产生的 (The problem is generated after upgrading)

操作系统 (Operating System)

Debian

操作系统版本 (Operating System Version)

12

耗子面板版本 (Rat Panel Version)

2.3.23

描述问题 (Describe The Problem)

  1. 面板安装路径不是默认的 /www 进入面板文件管理器会默认进入 /www 导致报错
  2. fail2ban 如果修改默认ssh端口之后无法正常工作,没办法识别当前ssh端口

如何复现 (How To Reproduce)

文件管理器Bug

  1. 安装面板
  2. 设置安装目录是 /data
  3. 面板文件管理器就会报错

Fail2ban Bug

  1. 修改sshd端口号
  2. 安装面板
  3. 安装fail2ban插件
  4. 插件无法拦截ssh爆破

预期行为 (Expected Behavior)

  1. 文件管理器可以识别面板的安装目录配置
  2. fail2ban插件安装时识别ssh端口号,管理页面可以修改端口号

相关日志 (Related Logs)

No response

截图 (Screenshots)

No response

还有别的吗 (Anything Else)

No response

Copy link

Hi @BigFF 👋

我们认为您的反馈非常有价值!欢迎提交 PR,请包含相应的测试用例、文档等,并确保 CI 通过,感谢和期待您的贡献!
We think your feedback is very valuable! Welcome to submit a PR, please include test cases, documentation, etc., and ensure that the CI is passed, thank you and look forward to your contribution!

干

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 14, 2024
Copy link

Thank you for opening this issue. I noticed that you haven not given me a star yet, so I will close this issue. Please give me a star first and wait for it to be unlocked. Thank you for your understanding.

@github-actions github-actions bot locked as spam and limited conversation to collaborators Dec 14, 2024
@devhaozi
Copy link
Collaborator

  1. 后续版本优化
  2. 正常情况,端口改了要对应修改fail2ban配置

Copy link

Thank you for giving me a star. I have unlocked this issue. If you have any questions, please feel free to ask. Thank you for your support.

@github-actions github-actions bot unlocked this conversation Dec 14, 2024
@github-actions github-actions bot reopened this Dec 14, 2024
@devhaozi devhaozi added this to the 2.4.x milestone Dec 14, 2024
Copy link

Hi @BigFF 👋

我们认为您的反馈非常有价值!欢迎提交 PR,请包含相应的测试用例、文档等,并确保 CI 通过,感谢和期待您的贡献!
We think your feedback is very valuable! Welcome to submit a PR, please include test cases, documentation, etc., and ensure that the CI is passed, thank you and look forward to your contribution!

干

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants