mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3323] [Feature Request] 优化建议 #2664
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#2664
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 @hktalent on GitHub (Feb 21, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3323
Describe the feature request
p2p协议是去中心的,那就可以不用去配置server ip?
能否优化直接通过token,对接p2p网络去查找相同token的server ip和端口信息呢?
也就是token除你现有的功能外,还作为p2p发现彼此连接的关键key
建议默认启用、使用quic,因为这性能最佳
tls_cert_file = server.crt
tls_key_file = server.key
tls_trusted_ca_file = ca.crt
然后客户端通过匹配token成功后,首次去获取
Describe alternatives you've considered
No response
Affected area
@Becods commented on GitHub (Feb 22, 2023):
1.
脱离了的
发现服务器的p2p客户端就像永远都在布朗运动的质点,发现对方的概率非常小几乎为0查看不管是
Bittorrent还是区块链的实现,你都会发现不管是BT还是区块链都需要一个发现服务器以获取附近的邻居节点至于完全脱离中心服务器的DHT网络,则取决于客户的用户基数,理论上来说基数越大发现速度越快,但是这对于frp来说是不太现实的
2.
尝试通过 服务端插件 来实现这个扩展能力,理由同上
@github-actions[bot] commented on GitHub (Mar 25, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@hktalent commented on GitHub (Mar 31, 2023):
@fatedier @Becods 我可以提供中间服务器啊
当然我们还可以加入其他一些协议,例如matrix
@github-actions[bot] commented on GitHub (May 2, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.