Skip to content

Add a deprecation warning to rename-command #1680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions content/operate/oss_and_stack/management/security/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ for two reasons:

The goal of the authentication layer is to optionally provide a layer of
redundancy. If firewalling or any other system implemented to protect Redis
from external attackers fail, an external client will still not be able to
from external attackers fails, an external client will still not be able to
access the Redis instance without knowledge of the authentication password.

Since the [`AUTH`](/commands/auth) command, like every other Redis command, is sent unencrypted, it
does not protect against an attacker that has enough access to the network to
does not protect against an attacker who has enough access to the network to
perform eavesdropping.

## TLS support
Expand All @@ -110,6 +110,11 @@ client connections, replication links, and the Redis Cluster bus protocol.

## Disallowing specific commands

{{< warning >}}
The method is deprecated and may be removed in future versions.
Instead, use [ACL rules](/operate/oss_and_stack/management/security/acl/) to disallow specific commands.
{{< /warning >}}

It is possible to disallow commands in Redis or to rename them as an unguessable
name, so that normal clients are limited to a specified set of commands.

Expand Down Expand Up @@ -137,7 +142,7 @@ algorithm complexity on data structures implemented inside Redis internals.
An attacker could supply, via a web form, a set of strings that
are known to hash to the same bucket in a hash table in order to turn the
O(1) expected time (the average time) to the O(N) worst case. This can consume more
CPU than expected and ultimately cause a Denial of Service.
CPU than expected and ultimately causes a Denial of Service.

To prevent this specific attack, Redis uses a per-execution, pseudo-random
seed to the hash function.
Expand Down