summaryrefslogtreecommitdiff
path: root/src/usage_text.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-01-12 17:46:20 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-01-12 17:46:20 +0900
commitc653c72dc84b7c5fe99f2aa189e9cf1da80a9ed5 (patch)
treeec0497de2d684cc0b5030c94e0334c73754b8954 /src/usage_text.h
parentcc36df2625c1fee8e4f013becff07d3b4c38b12d (diff)
Add --bt-force-encryption option
This option requires BitTorrent message payload encryption with arc4. This is a shorthand of --bt-requre-crypto --bt-min-crypto-level=arc4. If true is given, deny legacy BitTorrent handshake and only use Obfuscation handshake and always encrypt message payload. This option defaults to false.
Diffstat (limited to 'src/usage_text.h')
-rw-r--r--src/usage_text.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usage_text.h b/src/usage_text.h
index 1b139b13..c45480da 100644
--- a/src/usage_text.h
+++ b/src/usage_text.h
@@ -1013,3 +1013,11 @@
" recognized as active download in RPC method.")
#define TEXT_MIN_TLS_VERSION \
_(" --min-tls-version=VERSION Specify minimum SSL/TLS version to enable.")
+#define TEXT_BT_FORCE_ENCRYPTION \
+ _(" --bt-force-encryption[=true|false]\n" \
+ " Requires BitTorrent message payload encryption\n" \
+ " with arc4. This is a shorthand of\n" \
+ " --bt-requre-crypto --bt-min-crypto-level=arc4.\n" \
+ " If true is given, deny legacy BitTorrent\n" \
+ " handshake and only use Obfuscation handshake and\n" \
+ " always encrypt message payload.")