mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3796] 使用tcpmux时 customDomains 参数大写导致 kex_exchange_identification connection closed by remote host #3021
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#3021
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 @GokouRuri1996 on GitHub (Nov 23, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3796
Bug Description
我使用ubuntu 20.04 作为服务器和客户端。在配置 customDomains 参数时,我发现其中含有大写字母会导致使用ssh 连接时报错。
报错信息:
2023/XX/XX XXXXXX socat[5317] E CONNECT XXXXX: Not Found
ssh_exchange_identification: Connection closed by remote host
在删去参数中所有的大写字母,问题不再出现。
如果你也遇到同样的问题,可以尝试一下。
frpc Version
0.52.3
frps Version
0.52.3
System Architecture
linux/amd64
Configurations
serverAddr = "x.x.x.x"
serverPort = 7000
proxies
name = "ssh1"
type = "tcpmux"
multiplexer = "httpconnect"
customDomains = ["machine-a.example.com"] //这里的参数含有大写字母会出现问题
localIP = "127.0.0.1"
localPort = 22
Logs
No response
Steps to reproduce
...
Affected area
@fatedier commented on GitHub (Nov 23, 2023):
一般对于 host 来说,可能可以考虑代码中忽略大小写
@johngai19 commented on GitHub (Dec 22, 2023):
请教一下,这里的"machine-a.example.com"]是要真实存在的域名,还是可以随便写,如果要真实存在的,那么域名解析应该怎么设置,谢谢您。我按照教程示例使用ssh复用同一个端口始终不成功,不知道问题出在哪个环节。
@nicksuslov commented on GitHub (Jan 29, 2024):
any updates on this? have same problem