mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-02 13:06:57 +00:00
According to specification (here https://wiki.apache.org/cassandra/InternodeEncryption) when the internode encryption is set to `dc` the data passed between DCs should be encrypted and similarly, when it's set to `rack` the inter-rack traffic should encrypted. Currently Scylla would encrypt the traffic inside a local DC in the first case and inside the local RACK in the later one. This patch fixes the encryption logic to follow the specification above. Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com> Message-Id: <1452501794-23232-1-git-send-email-vladz@cloudius-systems.com>