[GH-ISSUE #3141] xtcp "get sid from visitor error" #2519

Closed
opened 2026-05-05 13:37:27 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @jonayang on GitHub (Oct 21, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/3141

Bug Description

xtcp无法正常穿透,只把"xtcp"改成"stcp"成功穿透
被访问端NAT类型symmetric
访问端NAT类型full-cone

frpc Version

0.44.0

frps Version

0.44.0

System Architecture

服务端: linux/x86, 被访问端: Windows/x86, 访问端: Mac/Arm

Configurations

// 被访问端
[common]
server_addr = ipaddr
server_port = 7000

[p2p _ssh]
type = xtcp
local ip = 127.0.0.1
local_port = 3389
sk = sksksk

// 访问端
[common]
server_addr = ipaddr
server_port = 7000

[p2p_ssh_visitor]
type = xtcp
role = visitor
server_name = p2p_ssh
sk = sksksk
bind_addr = 127.0.0.1
bind_port = 6000

// server端
[common]
bind_port = 7000
bind_udp_port = 7000
dashboard_port = ...
//... dashboard配置

Logs

访问端报错 "incorrect sid from client"
被访问端报错 "get sid from visitor error: read udp ip:port: i/o timeout"

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @jonayang on GitHub (Oct 21, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/3141 ### Bug Description xtcp无法正常穿透,只把"xtcp"改成"stcp"成功穿透 被访问端NAT类型symmetric 访问端NAT类型full-cone ### frpc Version 0.44.0 ### frps Version 0.44.0 ### System Architecture 服务端: linux/x86, 被访问端: Windows/x86, 访问端: Mac/Arm ### Configurations // 被访问端 [common] server_addr = ipaddr server_port = 7000 [p2p _ssh] type = xtcp local ip = 127.0.0.1 local_port = 3389 sk = sksksk // 访问端 [common] server_addr = ipaddr server_port = 7000 [p2p_ssh_visitor] type = xtcp role = visitor server_name = p2p_ssh sk = sksksk bind_addr = 127.0.0.1 bind_port = 6000 // server端 [common] bind_port = 7000 bind_udp_port = 7000 dashboard_port = ... //... dashboard配置 ### Logs 访问端报错 "incorrect sid from client" 被访问端报错 "get sid from visitor error: read udp ip:port: i/o timeout" ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:37:27 -06:00
Author
Owner

@Becods commented on GitHub (Oct 22, 2022):

对称型就不要想着p2p了
不是成功不了,是概率特别小

<!-- gh-comment-id:1287828927 --> @Becods commented on GitHub (Oct 22, 2022): 对称型就不要想着p2p了 不是成功不了,是概率特别小
Author
Owner

@AXFOX commented on GitHub (Nov 19, 2022):

对称型就不要想着p2p了 不是成功不了,是概率特别小

现在FRP的P2P支持哪些类型的NAT穿透呢?

<!-- gh-comment-id:1320902554 --> @AXFOX commented on GitHub (Nov 19, 2022): > 对称型就不要想着p2p了 不是成功不了,是概率特别小 现在FRP的P2P支持哪些类型的NAT穿透呢?
Author
Owner

@github-actions[bot] commented on GitHub (Dec 20, 2022):

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

<!-- gh-comment-id:1358679236 --> @github-actions[bot] commented on GitHub (Dec 20, 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#2519
No description provided.