[GH-ISSUE #2698] 能否考虑通过重试机制来提升xtcp的可用性 #2154

Closed
opened 2026-05-05 13:23:04 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @Ariez1 on GitHub (Dec 12, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2698

Describe the feature request

xtcp这种p2p模式可以最大限度的利用网络资源,在远程桌面这种需要低延时和高带宽的场景下效果很好。
目前xtcp的成功连接是概率性的,从尝试结果来看,即使是较差的网络,多次尝试后也能够成功建立连接。
如果能在代码中实现,xtcp连接成功的概率是不是就大大提升了呢

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @Ariez1 on GitHub (Dec 12, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2698 ### Describe the feature request xtcp这种p2p模式可以最大限度的利用网络资源,在远程桌面这种需要低延时和高带宽的场景下效果很好。 目前xtcp的成功连接是概率性的,从尝试结果来看,即使是较差的网络,多次尝试后也能够成功建立连接。 如果能在代码中实现,xtcp连接成功的概率是不是就大大提升了呢 ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [x] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:23:04 -06:00
Author
Owner

@lunfangyu commented on GitHub (Dec 15, 2021):

目前网络很多都是端口限制型的,在两端都是这种类型网络的情况下,我还没成功的建立过xtcp连接

<!-- gh-comment-id:994198642 --> @lunfangyu commented on GitHub (Dec 15, 2021): 目前网络很多都是端口限制型的,在两端都是这种类型网络的情况下,我还没成功的建立过xtcp连接
Author
Owner

@lunfangyu commented on GitHub (Dec 15, 2021):

目前网络很多都是端口限制型的,在两端都是这种类型网络的情况下,我还没成功的建立过xtcp连接

<!-- gh-comment-id:994200472 --> @lunfangyu commented on GitHub (Dec 15, 2021): 目前网络很多都是端口限制型的,在两端都是这种类型网络的情况下,我还没成功的建立过xtcp连接
Author
Owner

@lunfangyu commented on GitHub (Dec 15, 2021):

目前网络很多都是端口限制型的,在两端都是这种类型网络的情况下,我还没成功的建立过xtcp连接

如果xtcp能够有90%以上的成功率的话,那才是最实用的

<!-- gh-comment-id:994201097 --> @lunfangyu commented on GitHub (Dec 15, 2021): > > 目前网络很多都是端口限制型的,在两端都是这种类型网络的情况下,我还没成功的建立过xtcp连接 如果xtcp能够有90%以上的成功率的话,那才是最实用的
Author
Owner

@Wronthyou-Emme commented on GitHub (Dec 28, 2021):

目前网络很多都是端口限制型的,在两端都是这种类型网络的情况下,我还没成功的建立过xtcp连接

可能是因为:ISP给个人用户的光猫nat配置是默认,然后大部分个人用户没有root权限改也不会去改。拿我目前用的电信千兆来说,是提供了一个APP进行有效的更改的,其中有个DMZ主机的配置,能配置一个内网IP。这个内网IP是全开放性NAT(Full Clone)。我通常让我自己的二级路由使用这个DMZ。

<!-- gh-comment-id:1001924634 --> @Wronthyou-Emme commented on GitHub (Dec 28, 2021): > 目前网络很多都是端口限制型的,在两端都是这种类型网络的情况下,我还没成功的建立过xtcp连接 可能是因为:ISP给个人用户的光猫nat配置是默认,然后大部分个人用户没有root权限改也不会去改。拿我目前用的电信千兆来说,是提供了一个APP进行有效的更改的,其中有个DMZ主机的配置,能配置一个内网IP。这个内网IP是全开放性NAT(Full Clone)。我通常让我自己的二级路由使用这个DMZ。
Author
Owner

@github-actions[bot] commented on GitHub (Jan 28, 2022):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1023769160 --> @github-actions[bot] commented on GitHub (Jan 28, 2022): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2154
No description provided.