mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3337] 配置的quic,但是为什么服务器显示的链接方式是tcp #2673
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#2673
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 @hhrensheng on GitHub (Feb 28, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3337
Bug Description
我的服务器和客户端配置的都是quic链接,但是控制面板显示的链接方式为什么是tcp?

frpc Version
0.46.1
frps Version
0.46.1
System Architecture
linux/amd64
Configurations
frpsbind_port = 7000
quic_bind_port = 7000
token = xxxxx
dashboard_port = 7500
dashboard_user =xxx
dashboard_pwd =xxx
frpc[common]
token = xxxxx
server_addr = xxxxxxx
server_port = 7000
admin_addr = 127.0.0.1
admin_port = 7400
protocol = quic
[RDP_VM]
local_ip = 127.0.0.1
local_port = 3389
remote_port = 7789
use_encryption = true
use_compression = true
Logs
frpsFeb 27 20:37:01 active-silo-5.localdomain frps[16860]: 2023/02/27 20:37:01 [I] [root.go:206] frps uses config file: /root/frp/frps.ini
Feb 27 20:37:01 active-silo-5.localdomain frps[16860]: 2023/02/27 20:37:01 [I] [service.go:200] frps tcp listen on 0.0.0.0:7000
Feb 27 20:37:01 active-silo-5.localdomain frps[16860]: 2023/02/27 20:37:01 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for
Feb 27 20:37:01 active-silo-5.localdomain frps[16860]: 2023/02/27 20:37:01 [I] [service.go:226] frps quic listen on quic 0.0.0.0:7000
Feb 27 20:37:01 active-silo-5.localdomain frps[16860]: 2023/02/27 20:37:01 [I] [service.go:317] Dashboard listen on 0.0.0.0:7500
Feb 27 20:37:01 active-silo-5.localdomain frps[16860]: 2023/02/27 20:37:01 [I] [root.go:215] frps started successfully
Feb 27 20:37:30 active-silo-5.localdomain frps[16860]: 2023/02/27 20:37:30 [I] [service.go:500] [5778d335102fd46d] client login info: ip [xxxxxxxxx:2077] version [0.46.1] hostname [] os [windows] arch [amd64]
Feb 27 20:37:31 active-silo-5.localdomain frps[16860]: 2023/02/27 20:37:31 [I] [tcp.go:64] [5778d335102fd46d] [RDP_VM] tcp proxy listen port [7789]
Feb 27 20:37:31 active-silo-5.localdomain frps[16860]: 2023/02/27 20:37:31 [I] [control.go:464] [5778d335102fd46d] new proxy [RDP_VM] type [tcp] success
Feb 27 20:37:39 active-silo-5.localdomain frps[16860]: 2023/02/27 20:37:39 [I] [service.go:500] [4e448167191fa31d] client login info: ip [xxxxxxxxxxx:3885] version [0.46.1] hostname [] os [windows] arch [amd64]
Feb 27 20:37:39 active-silo-5.localdomain frps[16860]: 2023/02/27 20:37:39 [I] [tcp.go:64] [4e448167191fa31d] [RDP_HT] tcp proxy listen port [8899]
Feb 27 20:37:39 active-silo-5.localdomain frps[16860]: 2023/02/27 20:37:39 [I] [control.go:464] [4e448167191fa31d] new proxy [RDP_HT] type [tcp] success
Feb 27 20:37:43 active-silo-5.localdomain frps[16860]: 2023/02/27 20:37:43 [I] [proxy.go:179] [5778d335102fd46d] [RDP_VM] get a user connection [xxxxxxxxx:2156]
frpc2023/02/28 09:45:52 [I] [service.go:298] [d28d9e10f5eacf81] login to server success, get run id [d28d9e10f5eacf81], server udp port [0]
2023/02/28 09:45:52 [I] [proxy_manager.go:142] [d28d9e10f5eacf81] proxy added: [RDP_VM]
2023/02/28 09:45:52 [I] [service.go:163] admin server listen on 127.0.0.1:7400
2023/02/28 09:45:52 [I] [control.go:172] [d28d9e10f5eacf81] [RDP_VM] start proxy success
Steps to reproduce
...
Affected area
@superzjg commented on GitHub (Mar 2, 2023):
此tcp非彼tcp。
0.46时我试过,流量走的是udp端口
你应该监视一下,使用中流量走的是tcp端口还是udp端口,比如通过软件或路由器等查看。
@xqzr commented on GitHub (Mar 2, 2023):
type默认tcphttps://gofrp.org/docs/reference/proxy/#%E5%9F%BA%E7%A1%80%E9%85%8D%E7%BD%AE
@hhrensheng commented on GitHub (Mar 4, 2023):
那这个时候type应该配置成什么比较好呢tcp、udp还是没有区别
@hhrensheng commented on GitHub (Mar 4, 2023):
哦哦 好的吧,会感觉有歧义
@xqzr commented on GitHub (Mar 4, 2023):
看名称,应该是 RDP 服务,它必须有 TCP
@github-actions[bot] commented on GitHub (Apr 4, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.