mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3302] xtcp模式不能跨user匹配p2p服务 #2643
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#2643
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 @Cp0204 on GitHub (Feb 11, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3302
Bug Description
背景:平时我用 [common]user 字段以区分不同设备端,避免服务名冲突(表现为user.server);当使用xtcp时,访问端server_name也会加上访问端的user,导致不能相互匹配。
设备A:
[common]
user = AAA
[p2p_ssh]
此时服务名为:AAA.p2p_ssh
设备B:
[common]
user = BBB
[p2p_ssh_visitor]
server_name = p2p_ssh
将报错:[BBB.p2p_ssh_visitor] natHoleRespMsg get error info: xtcp server for [BBB.p2p_ssh] doesn't exist
期望 server_name = AAA.p2p_ssh 可以匹配上,而目前会自动变成 BBB.AAA.p2p_ssh,同样doesn't exist
frpc Version
0.46.1
frps Version
0.46.1
System Architecture
linux/amd64
Configurations
Affected area
@Miaoerr commented on GitHub (Mar 2, 2023):
使用stcp 遇到同样的问题
作为visitor时,server_name是否应该不自动添加user前缀?
@github-actions[bot] commented on GitHub (Apr 2, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.