mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #84] 一个细节的问题,关于auth_token的 #39
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#39
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 @JimLee1996 on GitHub (Aug 20, 2016).
Original GitHub issue: https://github.com/fatedier/frp/issues/84
Readme.md文档中说明了frpc 所在机器和 frps 所在机器的时间相差不能超过 15 分钟,因为时间戳会被用于加密验证中。
这里的时间差是指UTC时间,还是双方的本地时间差?
@fatedier commented on GitHub (Aug 20, 2016):
这个肯定是 UTC 时间,
@JimLee1996 commented on GitHub (Aug 21, 2016):
谢谢!还与一个问题就是frpc的流量都要经过frps代理,即服务器性能和带宽影响了Client的质量。有没有什么办法可以通过服务器沟通两者后建立直接链接而不用走服务器流量呢?
@fatedier commented on GitHub (Aug 21, 2016):
目前的模式就是所有流量通过 frps 中转,这个是最稳定的方式,几乎所有环境都可以使用,受到防火墙等因素的影响最小,缺点就是你说的多了一次网络中转的消耗,速度肯定有影响。
另外一种你说的直接建立连接,以后会支持这种方式,主要是
NAT hole punching,可以参考 dog-tunnel 这个项目。这种方式的缺点首先就是需要连接的两端都部署客户端,并且会受到硬件设备,网络环境等因素的影响。@JimLee1996 commented on GitHub (Aug 21, 2016):
谢谢你!;-)