rhubarbgroup / redis-cache

A persistent object cache backend for WordPress powered by Redis. Supports Predis, PhpRedis, Relay, replication, sentinels, clustering and WP-CLI.
https://wordpress.org/plugins/redis-cache/
GNU General Public License v3.0
427 stars 149 forks source link

Add Support for Redis renamed commands #431

Closed cinghie closed 1 year ago

cinghie commented 1 year ago

Hi,

to implement redis security it is often recommended rename commands in the configuration file

/etc/redis/redis.conf

However, this feature is not compatible with the plugin. It would be important to be able to set the new commands at least for

rename-command CONFIG CONFIG_NEW rename-command DEBUG DEBUG_NEW rename-command FLUSHDB FLUSHDB_NEW rename-command FLUSHALL FLUSHALL_NEW rename-command SHUTDOWN SHUTDOWN_NEW

Regards

tillkruss commented 1 year ago

No, this will never be supported. It's a bad practice.

https://redis.io/docs/management/security/acl/