ClickHouse/programs
Azat Khuzhin 0159c74f21 Secure inter-cluster query execution (with initial_user as current query user) [v3]
Add inter-server cluster secret, it is used for Distributed queries
inside cluster, you can configure in the configuration file:

  <remote_servers>
      <logs>
          <shard>
              <secret>foobar</secret> <!-- empty -- works as before -->
              ...
          </shard>
      </logs>
  </remote_servers>

And this will allow clickhouse to make sure that the query was not
faked, and was issued from the node that knows the secret. And since
trust appeared it can use initial_user for query execution, this will
apply correct *_for_user (since with inter-server secret enabled, the
query will be executed from the same user on the shards as on initator,
unlike "default" user w/o it).

v2: Change user to the initial_user for Distributed queries if secret match
v3: Add Protocol::Cluster package
v4: Drop Protocol::Cluster and use plain Protocol::Hello + user marker
v5: Do not use user from Hello for cluster-secure (superfluous)
2020-09-15 01:36:28 +03:00
..
benchmark Secure inter-cluster query execution (with initial_user as current query user) [v3] 2020-09-15 01:36:28 +03:00
client Secure inter-cluster query execution (with initial_user as current query user) [v3] 2020-09-15 01:36:28 +03:00
compressor Add ability to specify Default codec for columns (#14049) 2020-08-28 20:40:45 +03:00
copier Use terminal width for the formatted help text of the clickhouse-copier 2020-08-25 21:17:21 +03:00
extract-from-config Refactor CMake build files (#11390) 2020-06-09 13:54:49 +03:00
format Refactor CMake build files (#11390) 2020-06-09 13:54:49 +03:00
git-import Merge branch 'git-to-clickhouse' of github.com:yandex/ClickHouse into git-to-clickhouse 2020-09-12 03:56:13 +03:00
install Add git-import as a tool 2020-09-07 06:22:47 +03:00
local fix 2020-08-13 22:41:06 +03:00
obfuscator Uint128 logic and tests 2020-09-06 00:35:24 +03:00
odbc-bridge MySql datatypes dateTime64 and decimal (#11512) 2020-09-09 15:18:02 +03:00
server Secure inter-cluster query execution (with initial_user as current query user) [v3] 2020-09-15 01:36:28 +03:00
clickhouse-split-helper Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
CMakeLists.txt Add git-import as a tool 2020-09-07 06:22:47 +03:00
config_tools.h.in Add git-import as a tool 2020-09-07 06:22:47 +03:00
main.cpp Add git-import as a tool 2020-09-07 06:22:47 +03:00
ya.make Fix "Arcadia" 2020-09-08 01:14:13 +03:00