mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1181] 功能建议:证书托管,流量统计,WAF,统一的web化管理入口,以及插件系统 #927
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#927
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @denymz on GitHub (Apr 7, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1181
建议功能:证书托管
使用场景:用于https协议下修改header,以便于让内网侧获取到访问者真实IP。
建议功能:流量统计,WAF,统一的web化管理入口,以及插件系统
(咦!这样貌似好像往web网关方向发展了)
嗯,刚刚想到完全可以在frps前面加一层web网关,将https请求降为http并反向代理到frps。
web网关开源解决方案:orange ,verynginx,kong,janusec;(不过实际使用下来这些方案功能上或多或少都有些欠缺,不太尽如人意)
问题:
如果前置一层nginx,frps会不会还在http的header中设置X-Real-IP?如果设置的话那设置的岂不是nginx的ip?所以建议在配置文件中提供关闭这一功能的选项。
所以我也是顺便这么一提,这些个功能加不加已经完全无所谓了。
(想明白了之后本来不打算开这个Issues了,但还是决定开出来给有需要的人一个思路)
@fatedier commented on GitHub (Apr 9, 2019):
X-Real-IP,只会设置X-Forwarded-For,文档可能有误,之后会修改。X-Forwarded-For如果经过了多个 proxy,会记录每一个路径的 IP,以逗号分隔,所以应该没有问题。@recolic commented on GitHub (Aug 9, 2019):
尽可能保证一个软件只做一件事并且做到最好的理念吧。
@cxueqin commented on GitHub (Sep 9, 2019):
@fatedier 赞同作者的观点,Keep It Simple and Stupid(KISS),希望更多的是用组合,而不是在一个软件上叠加太多的功能,这也是unix程序设计的精髓所在,感谢,加油
@fatedier commented on GitHub (Mar 29, 2020):
服务端插件的能力已经支持,可以通过插件机制扩展这些能力。