[GH-ISSUE #402] 配置代理认证帐号密码时出错:unknown long flag '--auth-file' #312

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

Originally created by @shilohooo on GitHub (Oct 9, 2020).
Original GitHub issue: https://github.com/snail007/goproxy/issues/402

Expected Behavior

使用--auth-file参数在配置文件中指定代理凭证

Current Behavior

配置文件内容如下图所示:
image

auth-file内容如下图所示:
image

Possible Solution

Steps to Reproduce

  1. 执行命令:./proxy @configfile

Context (Environment)

  1. proxy version is : free_10.0
  2. full command is : ./proxy @configfile
  3. system is : CentOS Linux release 7.1.1503 (Core)
  4. full log is: 2020/10/09 14:45:05 err : unknown long flag '--auth-file'

Detailed Description

需要给代理配置一个帐号密码

Possible Implementation

Originally created by @shilohooo on GitHub (Oct 9, 2020). Original GitHub issue: https://github.com/snail007/goproxy/issues/402 <!--- Provide a general summary of the issue in the Title above --> ## Expected Behavior <!--- Tell us what should happen --> 使用--auth-file参数在配置文件中指定代理凭证 ## Current Behavior <!--- Tell us what happens instead of the expected behavior --> 配置文件内容如下图所示: ![image](https://user-images.githubusercontent.com/46670399/95551685-d6535380-0a3d-11eb-912e-86f013e9d0ae.png) auth-file内容如下图所示: ![image](https://user-images.githubusercontent.com/46670399/95551764-ff73e400-0a3d-11eb-96e5-06154c06f04b.png) ## 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. 执行命令:./proxy @configfile ## 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_10.0 1. full command is : ./proxy @configfile 1. system is : CentOS Linux release 7.1.1503 (Core) 1. full log is: 2020/10/09 14:45:05 err : unknown long flag '--auth-file' <!--- 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 (Oct 9, 2020):

商业版功能。
详细信息:https://snail007.github.io/goproxy/page/free_vs_commercial/

<!-- gh-comment-id:706187274 --> @snail007 commented on GitHub (Oct 9, 2020): 商业版功能。 详细信息:https://snail007.github.io/goproxy/page/free_vs_commercial/
Author
Owner

@shilohooo commented on GitHub (Oct 10, 2020):

商业版功能。
详细信息:https://snail007.github.io/goproxy/page/free_vs_commercial/

👌

<!-- gh-comment-id:706473435 --> @shilohooo commented on GitHub (Oct 10, 2020): > 商业版功能。 > 详细信息:https://snail007.github.io/goproxy/page/free_vs_commercial/ 👌
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#312
No description provided.