From 41cae19aeeeb4aa7c0148ff761c9e550e7e257e5 Mon Sep 17 00:00:00 2001 From: Toby Date: Fri, 24 Apr 2020 20:04:08 -0700 Subject: [PATCH] Update README about SOCKS5 implementation --- README.md | 4 ++++ README.zh.md | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 00db70e..079613b 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,10 @@ The command line program supports loading configurations from both JSON files an | Max receive window size | recv_window | -recv-window | | Obfuscation key | obfs | -obfs | +#### About SOCKS5 + +Supports TCP (CONNECT) and UDP (ASSOCIATE) commands. BIND is not supported and is not planned to be supported. + #### About proxy authentication Proxy supports username and password authentication (sent encrypted with TLS). If the server starts with an authentication file, it will check for the existence of the corresponding username and password in this file when each user connects. A valid authentication file is a text file with a pair of username and password per line (separated by a space). Example: diff --git a/README.zh.md b/README.zh.md index 7f96d2e..51ec9e0 100644 --- a/README.zh.md +++ b/README.zh.md @@ -9,7 +9,7 @@ [5]: https://patrolavia.github.io/telegram-badge/chat.png [6]: https://t.me/hysteria_github -Hysteria 是专门针对恶劣网络环境(常见于在中国访问海外服务器)进行优化的连接转发和代理工具(即所谓的双边加速)。其基于修改版的 QUIC 协议,可以理解为是我此前弃坑的项目https://github.com/dragonite-network/dragonite-java 的续作。 +Hysteria 是专门针对恶劣网络环境(常见于在中国访问海外服务器)进行优化的连接转发和代理工具(即所谓的双边加速)。其基于修改版的 QUIC 协议,可以理解为是我此前弃坑的项目 https://github.com/dragonite-network/dragonite-java 的续作。 ## 快速入门 @@ -84,6 +84,10 @@ Hysteria 是专门针对恶劣网络环境(常见于在中国访问海外服 | 总最大接收窗口大小 | recv_window | -recv-window | | 混淆密钥 | obfs | -obfs | +#### 关于 SOCKS5 + +支持 TCP (CONNECT) 和 UDP (ASSOCIATE),不支持 BIND 也无计划支持。 + #### 关于用户名密码验证 代理支持用户名和密码认证(经过 TLS 加密发送)。如果服务器启动时指定了一个验证文件,当每个用户连接时,服务器会检查该文件中是否存在相应的用户名和密码。验证文件是一个文本文件,每行有一对用户名和密码(用空格分割)。比如: