Add --key option to set key directly (#1207)

This commit is contained in:
Max Lv
2017-02-06 17:02:04 +08:00
committed by GitHub
parent 43aabb2303
commit ef0402eb10
25 changed files with 363 additions and 103 deletions
+6
View File
@@ -45,8 +45,14 @@ Set the local port number.
Not available in server nor manager mode.
-k <password>::
--password <password>::
Set the password. The server and the client should use the same password.
--key <key_in_base64>::
Set the key directly. The key should be encoded with URL-safe Base64.
+
Not available in manager mode.
-m <encrypt_method>::
Set the cipher.
+
+5
View File
@@ -15,6 +15,7 @@ SYNOPSIS
[-a <user_name>] [-b <local_address] [-n <nofile>]
[--fast-open] [--reuse-port] [--acl <acl_config>] [--mtu <MTU>]
[--plugin <plugin_name>] [--plugin-opts <plugin_options]
[--password <password>] [--key <key_in_base64]
DESCRIPTION
-----------
@@ -40,8 +41,12 @@ Set the server's port number.
Set the local port number.
-k <password>::
--password <password>::
Set the password. The server and the client should use the same password.
--key <key_in_base64>::
Set the key directly. The key should be encoded with URL-safe Base64.
-m <encrypt_method>::
Set the cipher.
+
+6 -2
View File
@@ -14,6 +14,7 @@ SYNOPSIS
[-t <timeout>] [-c <config_file>] [-b <local_address>]
[-a <user_name>] [-n <nofile>] [--mtu <MTU>]
[--plugin <plugin_name>] [--plugin-opts <plugin_options]
[--password <password>] [--key <key_in_base64]
DESCRIPTION
-----------
@@ -40,8 +41,11 @@ Set the server's port number.
Set the local port number.
-k <password>::
Set the password. The server and the client should use the same
password.
--password <password>::
Set the password. The server and the client should use the same password.
--key <key_in_base64>::
Set the key directly. The key should be encoded with URL-safe Base64.
-m <encrypt_method>::
Set the cipher.
+5
View File
@@ -17,6 +17,7 @@ SYNOPSIS
[--acl <acl_config>] [--mtu <MTU>]
[--manager-address <path_to_unix_domain>]
[--plugin <plugin_name>] [--plugin-opts <plugin_options]
[--password <password>] [--key <key_in_base64]
DESCRIPTION
-----------
@@ -38,8 +39,12 @@ Set the server's hostname or IP.
Set the server's port number.
-k <password>::
--password <password>::
Set the password. The server and the client should use the same password.
--key <key_in_base64>::
Set the key directly. The key should be encoded with URL-safe Base64.
-m <encrypt_method>::
Set the cipher.
+
+5
View File
@@ -15,6 +15,7 @@ SYNOPSIS
[-b <local_addr>] [-a <user_name>] [-n <nofile>]
[-L addr:port] [--mtu <MTU>] [--mptcp] [--reuse-port]
[--plugin <plugin_name>] [--plugin-opts <plugin_options]
[--key <key_in_base64>]
DESCRIPTION
-----------
@@ -40,8 +41,12 @@ Set the server's port number.
Set the local port number.
-k <password>::
--password <password>::
Set the password. The server and the client should use the same password.
--key <key_in_base64>::
Set the key directly. The key should be encoded with URL-safe Base64.
-m <encrypt_method>::
Set the cipher.
+