mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3972] RDP远程桌面无法连接,tls的clint hello报文没有被转发 #3149
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#3149
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 @Loyolichoo on GitHub (Feb 2, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/3972
Bug Description
配置转发本地7501(frpc的webServer端口),然后远程访问是可以正常打开的。但是转发本地3389端口的时候,就会卡在无限连接上。于是对本地的loopback网口进行了抓包,同时在服务器的远程口进行抓包。发现在转发过程中,服务器抓到的tls的Client Hello报文并没有在本地的loopback网口抓到。请教一下接下来该如何继续进行定位。


原始报文:
本地回环抓到的报文:
frpc Version
0.54.0
frps Version
0.54.0
System Architecture
linux/amd64, windows/amd64
Configurations
frpc:
frps:
Logs
frps:
frpc:
Steps to reproduce
...
Affected area
@kingwilliam commented on GitHub (Feb 5, 2024):
rdp-tcp : 3389
rdp-udp : 3391
@Loyolichoo commented on GitHub (Feb 6, 2024):
感谢分享。尝试了下这个修改,没有看到效果,客户端抓包看了一下,没有UDP报文产生,应该是前面TLS握手过程没有完成,还不会开始跑UDP流量。然后用互联网直连的方式抓包验证了一下,我目前使用的这个版本的RDP的UDP使用的端口号还是3389。
@xqzr commented on GitHub (Feb 8, 2024):
@Loyolichoo commented on GitHub (Feb 11, 2024):
试了一下,效果还是一样的
@xqzr commented on GitHub (Feb 11, 2024):
在 frpc 捕获
7801端口@Loyolichoo commented on GitHub (Feb 21, 2024):
没太明白捕获
7801端口是什么意思。如果是指客户端配置的话,现在客户端与服务器通信的已经是7801端口了。如果是指用wireshark抓包的话,我尝试修改服务器跟客户端的配置,去掉quic和auth口令鉴权,最简化配置,服务器只保留日志相关,以及在frpc的配置文件中使用tls.enable = false,然后在网口抓包7801。但最终抓到的依旧是tls报文,不过我对比了回环抓包的报文,发现在mstsc客户端输入完frpc设备的密码,点确认之后,frps是有向frpc发送tls报文的,但是此时在回环接口上抓包就没有抓到这个报文@xqzr commented on GitHub (Feb 21, 2024):
52f66b05e6/conf/frpc_full_example.toml (L102)@Loyolichoo commented on GitHub (Feb 25, 2024):
@github-actions[bot] commented on GitHub (Mar 18, 2024):
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@iwdm-cc commented on GitHub (Jun 28, 2024):
@Loyolichoo 你好,方便给一个可用的支持udp的远程桌面的配置参考吗? 我一直配置不成功。
frpc Version
0.58.1
frps Version
0.58.1
frpc.toml
`serverAddr = "xxxx"
serverPort = 7001
transport.protocol = "kcp"
transport.tls.enable = true
proxies
name = "test-http"
type = "tcp"
localIP = "127.0.0.1"
localPort = 3389
remotePort = 6000
proxies
name = "zc-udp"
type = "udp"
localIP = "127.0.0.1"
localPort = 3389
remotePort = 6000`
frps.toml
bindPort = 7001 kcpBindPort = 7001@xqzr commented on GitHub (Jun 28, 2024):
放行 UDP 6000