Comments (2)
小小纠正一点,背景问题在雷池社区版上是不存在的。目前即使将 “源 IP 获取方式” 配置为 “X-Forwarded-For”,也只会和普通请求头一样,把 XFF 整体当成一个 IP 来解析,如果是 “IP1, IP2” 这种就会解析失败直接使用连接 IP。而不会直接取 “左数第一个源 IP”,原因就是这个 “XFF 伪造” 问题。
除此之外,安全丰富的 XFF 配置,确实会让界面操作变得比较复杂,加上这其实更常见于企业拓扑,不太符合社区版的定位。可以参考这里的讨论:#301 (comment)
目前更建议统一修改一下 CDN 传递的请求头,例如统一修改为 X-Real-IP
from safeline.
Related Issues (20)
- [Bug] 人机验证问题 HOT 4
- [Bug] 跳转到一个未知的链接 HOT 4
- [建议] 设置http header 为X-Forwarded-For时返回了多个IP的时候取值错误的问题 HOT 1
- [建议] 能否在站点配置中增加https强制跳转,而非全局。 HOT 3
- 升级Version 3.11.1,添加站点显示timeout超时问题 HOT 4
- [Bug] 站点删除后,没同步删除/etc/nginx/custom_params目录下的配置文件
- [Bug] 重启主机后访问https站点会无限重定向 HOT 9
- [建议] 请问能否增加对于lua脚本的支持 HOT 2
- [建议] 增加网站缓存的功能 HOT 1
- [建议] 能否增加配置导出功能 HOT 1
- [建议] 访问日志文档过大,操作耗时长 HOT 1
- [Bug] 攻击事件中的请求报文并没有展示所有请求信息 HOT 2
- [建议] 希望长亭能增加通知功能 HOT 1
- 我就写完博客点击发布新文章他就拦截了[Bug] HOT 1
- 版本更新后,站点通用配置无效 HOT 2
- [Bug] 多家CDN造成WAF误封问题 HOT 1
- 希望在获取真实源IP的功能上,能针对不同域名单独设置,并且对XFF链提供从左或从右获取具体第几个IP的功能 HOT 1
- [Bug] 登录页动态密码一个按键输入了两次,无法登陆 HOT 7
- [建议]支持不同域名的防护配置 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from safeline.