fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
80.49k stars 12.74k forks source link

frpc transport: protocol: kcp 似乎无法在非root权限下运行 #4179

Open bonjour-py opened 3 weeks ago

bonjour-py commented 3 weeks ago

Bug Description

frpc transport: protocol: kcp 似乎无法在非root权限下运行 os ubuntu desktop 23.10 表现为无法响应

使用sudo 运行正常

奇怪的是 在 no-root-user on kalilinux in lxd on this ubuntu 运行正常

frpc Version

0.57.0

frps Version

ghcr.io/fatedier/frps:v0.56.0

System Architecture

linux/amd64

Configurations

webServer:
  port: 7000
serverAddr: -----------------------
serverPort: 30200
transport:
  protocol: kcp
auth:
  token: ----------------------
user: ------------
proxies:
  - name: -------------
    type: tcp
    localPort: ------------
    remotePort: 7018
  - name: -------------
    type: udp
    localPort: ----------
    remotePort: 7018

Logs

bonjour@work:~/文档/frp$ ./frpc -c config.yaml 
2024-04-24 15:48:41.743 [I] [sub/root.go:142] start frpc service for config file [config.yaml]
2024-04-24 15:48:41.743 [I] [client/service.go:294] try to connect to server...
^C^C^C^C^C^C^Z
[1]+  已停止               ./frpc -c config.yaml
bonjour@work:~/文档/frp$ kill -9 %1

[1]+  已停止               ./frpc -c config.yaml
bonjour@work:~/文档/frp$ 
[1]+  已杀死               ./frpc -c config.yaml

Steps to reproduce

  1. ...

Affected area

bonjour-py commented 3 weeks ago

等一下ubuntu 24.04吧 马上出了 看看结果再来反馈

bonjour-py commented 2 weeks ago

on ubuntu24.04 : 甚至使用sudo 也无法执行 表现和23.10一致 无响应

fatedier commented 2 weeks ago

建议换 quic 尝试吧

bonjour-py commented 2 weeks ago

建议换 quic 尝试吧

quic目前正常