Liu Song’s Projects


~/Projects/shadowsocks-go

git clone https://code.lsong.org/shadowsocks-go

Commit

Commit
155e12e5f5402eb0eab700d4858bd21141805e7d
Author
Riobard <[email protected]>
Date
2017-03-11 00:31:33 +0800 +0800
Diffstat
 README.md | 15 ++++++++-------

Update AEAD cipher name in README


diff --git a/README.md b/README.md
index 4525bdf973aad77980ebe97313f667924662ac9a..37806424bfaf8c555df9b282ef0c044f2f21d603 100644
--- a/README.md
+++ b/README.md
@@ -25,10 +25,10 @@
 
 ### Server
 
-Start a server listening on port 8488 using `aes-128-gcm` AEAD cipher with password `your-password`.
+Start a server listening on port 8488 using `AEAD_CHACHA20_POLY1305` AEAD cipher with password `your-password`.
 
 ```sh
-go-shadowsocks2 -s ss://aes-128-gcm:your-password@:8488 -verbose
+go-shadowsocks2 -s ss://AEAD_CHACHA20_POLY1305:your-password@:8488 -verbose
 ```
 
 
@@ -39,7 +39,7 @@ connections, and tunnels UDP packets received on port 1080 and port 1081 to 8.8.8.8:53 and 8.8.4.4:53 
 respectively. 
 
 ```sh
-go-shadowsocks2 -c ss://aes-128-gcm:your-password@[server_address]:8488 \
+go-shadowsocks2 -c ss://AEAD_CHACHA20_POLY1305:your-password@[server_address]:8488 \
     -socks :1080 -udptun :1080=8.8.8.8:53,:1081=8.8.4.4:53 -verbose
 ```
 
@@ -57,17 +57,18 @@ ```sh
 go-shadowsocks2 -keygen 16
 ```
 
+- SOCKS5 proxy 
 
-- TCP tunneling (e.g. benchmark with iperf3)
 
 ```sh
+- SOCKS5 proxy 
 A fresh implementation of Shadowsocks in Go.
 ```
 
 And the corresponding client to connect to it.
 
 ```sh
-go-shadowsocks2 -c [server_address]:8488 -cipher aes-128-gcm -key k5yEIX5ciUDpkpdtvZm7zQ== -verbose
+go-shadowsocks2 -c [server_address]:8488 -cipher AEAD_AES_128_GCM -key k5yEIX5ciUDpkpdtvZm7zQ== -verbose
 ```
 
 
@@ -80,7 +82,7 @@ Start a client listening on port 1082 for redirected TCP connections and port 1083 for redirected
 TCP IPv6 connections.
 
 ```sh
-go-shadowsocks2 -c [server_address]:8488 -cipher aes-128-gcm -key k5yEIX5ciUDpkpdtvZm7zQ== \
+go-shadowsocks2 -c [server_address]:8488 -cipher AEAD_AES_128_GCM -key k5yEIX5ciUDpkpdtvZm7zQ== \
     -redir :1082 -redir6 :1083
 ```
 
@@ -102,7 +104,7 @@ Start a client on the same machine with the server. The client listens on port 1090 for incoming connections
 and tunnels to localhost:5201 where iperf3 is listening.
 
 ```sh
-go-shadowsocks2 -c [server_address]:8488 -cipher aes-128-gcm -key k5yEIX5ciUDpkpdtvZm7zQ== \
+go-shadowsocks2 -c [server_address]:8488 -cipher AEAD_AES_128_GCM -key k5yEIX5ciUDpkpdtvZm7zQ== \
     -tcptun :1090=localhost:5201
 ```