[GH-ISSUE #3565] frps开启socks5代理,只要配置user,passwd就会导致代理失败 #2843

Closed
opened 2026-05-05 13:50:24 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @MrWrong77 on GitHub (Aug 9, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3565

Bug Description

frps开启socks5代理,只要配置user,passwd就会导致代理失败。但是不配置账密会很不安全

frpc Version

0.51.2

frps Version

0.51.2

System Architecture

server: linux/amd64 client:windows/amd64

Configurations

[socks5_proxy]
type = tcp
remote_port = 8001
plugin = socks5
plugin_user = abc
plugin_passwd = abc
use_encryption = true
use_compression = true

Logs

2023/08/09 19:19:32 [D] [proxy.go:255] [f157e51aa4ae5b79] [socks5_proxy] join connections, workConn(l[10.0.xxxx:63322] r[180.167xxx.xxx:11448]) userConn(l[10.0.4.6:8001] r[39.144.xxxxxx:24909])
2023/08/09 19:19:32 [D] [control.go:251] [f157e51aa4ae5b79] new work connection registered
2023/08/09 19:19:32 [D] [proxy.go:265] [f157e51aa4ae5b79] [socks5_proxy] join connections closed
2023/08/09 19:19:37 [I] [proxy.go:199] [f157e51aa4ae5b79] [socks5_proxy] get a user connection [39.144xxxxxx:24910]
2023/08/09 19:19:37 [D] [control.go:280] [f157e51aa4ae5b79] get work connection from pool
2023/08/09 19:19:37 [D] [proxy.go:126] [f157e51aa4ae5b79] [socks5_proxy] get a new work connection: [180.167.xxxxx:11448]
2023/08/09 19:19:37 [T] [proxy.go:235] [f157e51aa4ae5b79] [socks5_proxy] handler user tcp connection, use_encryption: true, use_compress

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @MrWrong77 on GitHub (Aug 9, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3565 ### Bug Description frps开启socks5代理,只要配置user,passwd就会导致代理失败。但是不配置账密会很不安全 ### frpc Version 0.51.2 ### frps Version 0.51.2 ### System Architecture server: linux/amd64 client:windows/amd64 ### Configurations [socks5_proxy] type = tcp remote_port = 8001 plugin = socks5 plugin_user = abc plugin_passwd = abc use_encryption = true use_compression = true ### Logs 2023/08/09 19:19:32 [D] [proxy.go:255] [f157e51aa4ae5b79] [socks5_proxy] join connections, workConn(l[10.0.xxxx:63322] r[180.167xxx.xxx:11448]) userConn(l[10.0.4.6:8001] r[39.144.xxxxxx:24909]) 2023/08/09 19:19:32 [D] [control.go:251] [f157e51aa4ae5b79] new work connection registered 2023/08/09 19:19:32 [D] [proxy.go:265] [f157e51aa4ae5b79] [socks5_proxy] join connections closed 2023/08/09 19:19:37 [I] [proxy.go:199] [f157e51aa4ae5b79] [socks5_proxy] get a user connection [39.144xxxxxx:24910] 2023/08/09 19:19:37 [D] [control.go:280] [f157e51aa4ae5b79] get work connection from pool 2023/08/09 19:19:37 [D] [proxy.go:126] [f157e51aa4ae5b79] [socks5_proxy] get a new work connection: [180.167.xxxxx:11448] 2023/08/09 19:19:37 [T] [proxy.go:235] [f157e51aa4ae5b79] [socks5_proxy] handler user tcp connection, use_encryption: true, use_compress ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@MrWrong77 commented on GitHub (Aug 11, 2023):

客户端的问题

<!-- gh-comment-id:1674501068 --> @MrWrong77 commented on GitHub (Aug 11, 2023): 客户端的问题
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2843
No description provided.