aboutsummaryrefslogtreecommitdiff
path: root/protocol/src/main/protobuf
diff options
context:
space:
mode:
authorSorabh Hamirwasia <shamirwasia@maprtech.com>2017-02-01 18:44:21 -0800
committerAman Sinha <asinha@maprtech.com>2017-05-20 16:16:21 -0700
commitce8bbc01cfde7d714185919be2ca2923d19ea890 (patch)
tree9f9217a79d08a39f9f90171f1d01e2e69a142afd /protocol/src/main/protobuf
parent416ec70a616e8d12b5c7fca809763b977d2f7aad (diff)
DRILL-4335: Apache Drill should support network encryption.
NOTE: This pull request provides support for on-wire encryption using SASL framework. The communication channel that are covered are: 1) Between Drill JDBC client and Drillbit. 2) Between Drillbit to Drillbit i.e. control/data channels. 3) It has UI change to view encryption is enabled on which network channel and number of encrypted/unencrypted connections for user/control/data connections. close apache/drill#773
Diffstat (limited to 'protocol/src/main/protobuf')
-rw-r--r--protocol/src/main/protobuf/User.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocol/src/main/protobuf/User.proto b/protocol/src/main/protobuf/User.proto
index 4b722b31a..2af8b26a2 100644
--- a/protocol/src/main/protobuf/User.proto
+++ b/protocol/src/main/protobuf/User.proto
@@ -70,6 +70,7 @@ message RpcEndpointInfos {
enum SaslSupport {
UNKNOWN_SASL_SUPPORT = 0;
SASL_AUTH = 1;
+ SASL_PRIVACY = 2;
}
message UserToBitHandshake {
@@ -124,6 +125,8 @@ message BitToUserHandshake {
optional RpcEndpointInfos server_infos = 6;
repeated string authenticationMechanisms = 7;
repeated RpcType supported_methods = 8;
+ optional bool encrypted = 9;
+ optional int32 maxWrappedSize = 10;
}
/*