Signed-off-by: arraykeys@gmail.com <arraykeys@gmail.com>

This commit is contained in:
arraykeys@gmail.com
2018-03-28 13:25:17 +08:00
parent dd52ad8a8a
commit 69b65a37ca

View File

@ -744,13 +744,13 @@ sps支持http(s)\socks5代理认证,可以级联认证,有四个重要的信息:
3:设置的连接上级使用的认证信息`parent-auth`
4:最终发送给上级的认证信息`auth-info-to-parent`
他们的情况关系如下:
|user-auth | local-auth | parent-auth | auth-info-to-parent|
|:-:| :-: | :-: |:-:|
|有/没有 | 有 | 有 | 来自parent-auth|
|有/没有 | 没有 | 有 | 来自parent-auth|
|有/没有 | 有 | 没有 | 无|
|没有 | 没有 | 没有 | 无|
|有 | 没有 | 没有 | 来自user-auth|
| user-auth | local-auth | parent-auth | auth-info-to-paren
| ------ | ------ | ------ | ------
| 有/没有 | 有 | 有 | 来自parent-auth
| 有/没有 | 没有 | 有 | 来自parent-auth
| 有/没有 | 有 | 没有 | 无
| 没有 | 没有 | 没有 | 无
| 有 | 没有 | 没有 | 来自user-auth
对于sps代理我们可以进行用户名密码认证,认证的用户名和密码可以在命令行指定
`./proxy sps -S http -T tcp -P 127.0.0.1:8080 -t tcp -p ":33080" -a "user1:pass1" -a "user2:pass2"`