SafeLine icon indicating copy to clipboard operation
SafeLine copied to clipboard

serve as a reverse proxy to protect your web services from attacks and exploits.

Results 221 SafeLine issues
Sort by recently updated
recently updated
newest added
trafficstars

### 问题描述 上游服务器配置带有二级路径http://localhost:9090/dsp/,如下图: ![001](https://github.com/chaitin/SafeLine/assets/62210083/82685c01-ab5f-454c-85c5-ffea88be0bc9) 直接用域名访问,无法直接访问到二级路径,只能访问到http://localhost:9090对应的页面: ![002](https://github.com/chaitin/SafeLine/assets/62210083/7359b90c-d247-4be3-9dfa-9df0c4f2bf76) 想用域名访问,必须额外加上二级路径https://mydomain.cn/dsp: ![003](https://github.com/chaitin/SafeLine/assets/62210083/7ab67729-36c9-40da-b860-6490f805347e) nginx中可以实现用域名https://mydomain.cn直接访问到http://localhost:9090/dsp/: ![004](https://github.com/chaitin/SafeLine/assets/62210083/f6e7df9f-c7a5-4fdd-a63e-c8860e9a174f) 但是safeline不行 ### 版本号 5.2.0 ### 复现方法 问题描述里已经写明 ### 期望的结果 修复该问题

enhancement

### 背景与遇到的问题 现在用docker拉起来的数据库占用了太多的磁盘空间和内存 所以我这的内网有一个专门独立出来的mysql数据库服务器 这边希望能支持mysql 便于能让数据能够通过内网传输并保存到专门独立出来的mysql服务器 以节省docker所在服务器的磁盘空间和内存 ### 建议的解决方案 希望能够支持使用MySQL服务器

### 背景与遇到的问题 Version 4.4.0。详见图 左边是原waf,右边为自建nginx代理并开了gzip ( gzip on; gzip_types text/plain application/javascript application/x-javascript text/javascript text/xml text/css; ) waf中虽有gzip,但似乎不生效 ### 建议的解决方案 _No response_

need more information

### 问题描述 防火墙这个模块好像在内存不足300MB时会出现报错` panic: runtime error: invalid memory address or nil pointer dereference`,不管有没有使用swap 启动一段时间后就会出现,模块崩溃,反复被重启,然后就会导致机器高负载 ``` root@wang:~# docker logs 93214b249925 -f panic: runtime error: invalid memory address or nil pointer dereference...

bug

### 问题描述 今天一次性添加了10个网站,申请了ssl证书。然后第11个网站的ssl证书申请就报错了: ![image](https://github.com/chaitin/SafeLine/assets/63215266/d626647c-c0dd-40d3-ab63-983192ae13f9) 查看lets encrypt的文档,发现如果只是申请证书的话,完全到不了限制: https://letsencrypt.org/docs/rate-limits/ 但是lets encrypt提示了,如果程序没有正确存储凭证信息,而是多次创建账户,就会触发这个3小时新建10个账户的速率限制。结合报错信息,看样子雷池可能是触发了这个问题: https://letsencrypt.org/docs/too-many-registrations-for-this-ip/ ### 版本号 5.0.0 ### 复现方法 一次性添加了10个网站,申请ssl证书。然后第11个网站的ssl证书申请就报错 ### 期望的结果 只会创建1个lets encrypt账户,不触发这个速率限制

bug

### 反馈内容 # SafeLine 在RockyLinux 下部署失败 ## Docker版本信息 ```shell Client: Docker Engine - Community Version: 26.0.0 API version: 1.45 Go version: go1.21.8 Git commit: 2ae903e Built: Wed Mar 20 15:20:36...

need more information

### 问题描述 模式: nignx->waf->backend service 添加站点 *.test1.com 80 10.100.10.200:8080 *.test2.com 80 10.100.10.201:8080 使用x-real-ip head头 穿透真实ip 结果 ![image](https://github.com/chaitin/SafeLine/assets/28423384/9cec8939-d002-4f6a-96ca-c55b110b9690) ### 版本号 5.1.0 ### 复现方法 docker 部署后仅做以上步骤 即可复现问题。 ### 期望的结果 正确发现站点内资源数

bug
need more information

### 问题描述 服务器配置4C8G,3.23升级到5.1.0之后,内存占用越来越多,经检查发现是luigi容器内存持续增大 ![Snipaste_2024-03-26_15-43-17](https://github.com/chaitin/SafeLine/assets/26485901/9f1fd08e-b026-4cb5-86e4-ce650fac059c) ![微信图片_20240326154443](https://github.com/chaitin/SafeLine/assets/26485901/902a0da9-e508-4d4c-a8a8-916a2daf8c54) ### 版本号 5.1.0 ### 复现方法 暂无 ### 期望的结果 期望能优化

bug

### 背景与遇到的问题 希望在黑名单的Header匹配条件中加入一个为空和不为空的选项,即判断Header头里面是否有某个参数。 ### 建议的解决方案 如图 ![image](https://github.com/chaitin/SafeLine/assets/41245552/3050ca66-3f26-474e-bbfc-d94b3fdc29ba)

enhancement
need more information

### 背景与遇到的问题 例如搜索屏蔽关键词,存量高危ip等。 ### 建议的解决方案 支持excel等方式批量导入

need more information