Use localhost and set redis password by default (#6481)

This commit is contained in:
Simon Mo
2019-12-17 19:41:19 -08:00
committed by GitHub
parent bbe5d83eb8
commit e530c37b0e
8 changed files with 31 additions and 7 deletions
+7
View File
@@ -138,6 +138,13 @@ While Redis port authentication may protect against external attackers,
Ray does not encrypt traffic between nodes so man-in-the-middle attacks are
possible for clusters on untrusted networks.
One of most common attack with Redis is port-scanning attack. Attacker scans
open port with unprotected redis instance and execute arbitrary code. Ray
enables a default password for redis. Even though this does not prevent brute
force password cracking, the default password should alleviate most of the
port-scanning attack. Furtheremore, redis and other ray services are bind
to localhost when the ray is started using ``ray.init``.
See the `Redis security documentation <https://redis.io/topics/security>`__
for more information.