mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #927] stcp visitor 对server_name错误地附加user作为前缀导致无法连接 #735
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#735
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 @Muscipular on GitHub (Sep 19, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/927
Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST
What version of frp are you using (./frpc -v or ./frps -v)?
0.21.0
What operating system and processor architecture are you using (
go env)?server: windows server 2012
client: ubuntu 16.04 x64 / win10 x64
Configures you used:
frps.ini
[common]
bind_port = 6666
token = aaaaa
frpc_client_1.ini
[common]
server_addr = xxxxxxx
server_port = 6666
token = aaaaa
protocol = tcp
user = u1
[ssh_stcp]
type = stcp
sk = aaaaa
local_ip = 127.0.0.1
local_port = 22
use_encryption = false
use_compression = false
frpc_client_2.ini
[common]
server_addr = xxxxxxx
server_port = 6666
token = aaaaa
protocol = tcp
user = u2
[ssh_stcp_visitor]
role = visitor
type = stcp
server_name = u1.ssh_stcp
sk = aaaaa
bind_addr = 127.0.0.1
bind_port = 6000
use_encryption = false
use_compression = false
Steps to reproduce the issue:
ssh who@127.0.0.1 -p 6000
Describe the results you received:
[W] [visitor.go:141] [u2.ssh_stcp_visitor] start new visitor connection error: custom listener for [u2.u1.ssh_stcp] doesn't exist
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Can you point out what caused this issue (optional)
stcp visitor 对server_name错误地附加user作为前缀导致无法连接
@fatedier commented on GitHub (Nov 21, 2018):
stcp client and visitor should be the same user.
@Muscipular commented on GitHub (Nov 22, 2018):
ok, thx。
由于之前的版本是允许user不一样的。才有这样的疑问