From aba2865c8680326e148ba6eb4cb6f6e7ab5119a3 Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Wed, 20 Apr 2022 07:29:37 +0100 Subject: 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). --- redis.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'redis.conf') 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 -- cgit v1.2.1