[GH-ISSUE #531] socks5 认证问题 #432

Open
opened 2026-02-27 23:16:53 +03:00 by kerem · 2 comments
Owner

Originally created by @tluo-github on GitHub (Apr 6, 2023).
Original GitHub issue: https://github.com/snail007/goproxy/issues/531

Expected Behavior

按照使用文档:
5.7.认证
对于socks5代理协议我们可以进行用户名密码认证,认证的用户名和密码可以在命令行指定
proxy socks -t tcp -p ":33080" -a "user1:pass1"
应该运行成功

Current Behavior

运行失败

[root@44841209f849 app]# ./proxy socks -t tcp -p ":33080" -a "user1:pass1"
2023/04/06 08:57:28.824053 proxy/main.go:86 FATAL err : unknown short flag '-a'

Possible Solution

Steps to Reproduce

  1. 检查是否为代码BUG

Context (Environment)

  1. proxy version is : free_13.0
  2. full command is : proxy socks -t tcp -p ":33080" -a "user1:pass1"
  3. system is : CentOS 7.9
  4. full log is: 2023/04/06 08:57:28.824053 proxy/main.go:86 FATAL err : unknown short flag '-a'

Detailed Description

Possible Implementation

Originally created by @tluo-github on GitHub (Apr 6, 2023). Original GitHub issue: https://github.com/snail007/goproxy/issues/531 <!--- Provide a general summary of the issue in the Title above --> ## Expected Behavior <!--- Tell us what should happen --> 按照使用文档: 5.7.认证 对于socks5代理协议我们可以进行用户名密码认证,认证的用户名和密码可以在命令行指定 proxy socks -t tcp -p ":33080" -a "user1:pass1" 应该运行成功 ## Current Behavior <!--- Tell us what happens instead of the expected behavior --> 运行失败 [root@44841209f849 app]# ./proxy socks -t tcp -p ":33080" -a "user1:pass1" 2023/04/06 08:57:28.824053 proxy/main.go:86 FATAL err : unknown short flag '-a' ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. 检查是否为代码BUG ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> 1. proxy version is : free_13.0 1. full command is : proxy socks -t tcp -p ":33080" -a "user1:pass1" 1. system is : CentOS 7.9 1. full log is: 2023/04/06 08:57:28.824053 proxy/main.go:86 FATAL err : unknown short flag '-a' <!--- Provide a general summary of the issue in the Title above --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> ## Possible Implementation <!--- Not obligatory, but suggest an idea for implementing addition or change -->
Author
Owner

@snail007 commented on GitHub (Apr 7, 2023):

认证是商业版功能

<!-- gh-comment-id:1499958794 --> @snail007 commented on GitHub (Apr 7, 2023): 认证是商业版功能
Author
Owner

@tluo-github commented on GitHub (Sep 4, 2023):

这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。

<!-- gh-comment-id:1704618840 --> @tluo-github commented on GitHub (Sep 4, 2023): 这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。
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
starred/goproxy#432
No description provided.