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

管理页面能够使用证书进行加密+Modsecurity支持 #599

Open
LReion opened this issue Oct 8, 2024 · 2 comments
Open

管理页面能够使用证书进行加密+Modsecurity支持 #599

LReion opened this issue Oct 8, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@LReion
Copy link

LReion commented Oct 8, 2024

  1. 管理页面能够使用添加的ssl证书来使用https,然后监听指定域名。
  2. 可以添加简单的防火墙Modsecurity,建议代码(我写的有点垃圾,勿喷。。。)
git clone https://github.com/coreruleset/coreruleset.git /etc/crs4
cd /etc/crs4
mv crs-setup.conf.example crs-setup.conf
# Include WAF Rules and Config
include modsecurity.conf
include /etc/crs4/crs-setup.conf
include /etc/crs4/plugins/*-config.conf
include /etc/crs4/plugins/*-before.conf
include /etc/crs4/rules/*.conf
include /etc/crs4/plugins/*-after.conf
  1. 如何可以的话可以看WAF的日志,来判断防护情况,从而修改WAF的拦截设置。
  2. 补充一个备份功能。
@LReion LReion added the enhancement New feature or request label Oct 8, 2024
@0xJacky
Copy link
Owner

0xJacky commented Oct 8, 2024

  1. 我是建议在 Nginx 侧配置证书然后做反向代理的
  2. 项目没有计划集成WAF,因为术业有专攻,本人不是学信息安全专业,建议自行使用市面上开源防火墙

@LReion
Copy link
Author

LReion commented Oct 8, 2024

我是比较喜欢集成那种,然后的话ModSecurity是市面上的开源防火墙,可以和nginx内嵌,Debian里面直接有这个包和模块。也就是想有ModSecurity来提供基础的防护功能。

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