summaryrefslogtreecommitdiff
path: root/redis.conf
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2022-04-20 07:29:37 +0100
committerGitHub <noreply@github.com>2022-04-20 09:29:37 +0300
commitaba2865c8680326e148ba6eb4cb6f6e7ab5119a3 (patch)
tree9ab0f3540f478d41eff01972bd5bbad253331650 /redis.conf
parenta1c85eebf4aaac0727456329e2f18bd99d23dfbe (diff)
downloadredis-aba2865c8680326e148ba6eb4cb6f6e7ab5119a3.tar.gz
Add socket-mark-id support for marking sockets. (#10349)
Add a configuration option to attach an operating system-specific identifier to Redis sockets, supporting advanced network configurations using iptables (Linux) or ipfw (FreeBSD).
Diffstat (limited to 'redis.conf')
-rw-r--r--redis.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/redis.conf b/redis.conf
index 4fbbaf7e0..d2074f13f 100644
--- a/redis.conf
+++ b/redis.conf
@@ -175,6 +175,16 @@ timeout 0
# Redis default starting with Redis 3.2.1.
tcp-keepalive 300
+# Apply OS-specific mechanism to mark the listening socket with the specified
+# ID, to support advanced routing and filtering capabilities.
+#
+# On Linux, the ID represents a connection mark.
+# On FreeBSD, the ID represents a socket cookie ID.
+# On OpenBSD, the ID represents a route table ID.
+#
+# The default value is 0, which implies no marking is required.
+# socket-mark-id 0
+
################################# TLS/SSL #####################################
# By default, TLS/SSL is disabled. To enable it, the "tls-port" configuration