mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2624] [Feature Request] 能否做到xtcp失败的时候,自动回落到stcp? #2091
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#2091
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 @aa51513 on GitHub (Oct 19, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2624
Describe the feature request
由于frpc的网络情况不确定,有时候xtcp能够成功,有时候xtcp无法成功;
为了保证实际使用体验,能否做到xtcp失败的时候,自动回落到stcp?
Describe alternatives you've considered
xtcp设置里,增加一项配置项目,fallback2stcp = ture/false
Affected area
@github-actions[bot] commented on GitHub (Nov 19, 2021):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@Bellegar commented on GitHub (Apr 26, 2023):
This would be a great addition to xtcp to make it work like the ICE protocol suggests (if p2p STUN connection fails, then relay TURN is used)
@Bellegar commented on GitHub (May 25, 2023):
Visited service in xtcp fallback mode will just open both xtcp and stcp services at frpc start.
Visitor will try addition connection using stcp after xtcp connection timeout (it needs to use same local bind port, those simple adding secont visitor service will be incorrect).
It doesn't seem too hard to implement such a coolest thing.
But my GO knowlege is near the 0 for trying to make it works...
@fatedier commented on GitHub (May 25, 2023):
We recently carried out a major overhaul of xtcp, which may significantly improve the success rate of penetration. This change will be released in the next few days.
But it will not be compatible with previous versions.
The function of falling back to STCP is planned and will be developed after this major change.