From 54a5748395f2317eb899255b71b88d0d2fdd84d7 Mon Sep 17 00:00:00 2001 From: Tuomo Soini Date: Mon, 11 Apr 2016 14:39:15 +0300 Subject: [PATCH] macros: RedisCluster and RedisSentinel http://redis.io/topics/sentinel Signed-off-by: Tuomo Soini --- Shorewall/Macros/macro.RedisCluster | 9 +++++++++ Shorewall/Macros/macro.RedisSentinel | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 Shorewall/Macros/macro.RedisCluster create mode 100644 Shorewall/Macros/macro.RedisSentinel diff --git a/Shorewall/Macros/macro.RedisCluster b/Shorewall/Macros/macro.RedisCluster new file mode 100644 index 000000000..2417da701 --- /dev/null +++ b/Shorewall/Macros/macro.RedisCluster @@ -0,0 +1,9 @@ +# +# Shorewall -- /usr/share/shorewall/macro.RedisCluster +# +# This macro handles Redis Cluster traffic. +# +############################################################################### +#ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST RATE USER + +PARAM - - tcp 16379 diff --git a/Shorewall/Macros/macro.RedisSentinel b/Shorewall/Macros/macro.RedisSentinel new file mode 100644 index 000000000..3b6a7a827 --- /dev/null +++ b/Shorewall/Macros/macro.RedisSentinel @@ -0,0 +1,9 @@ +# +# Shorewall -- /usr/share/shorewall/macro.RedisSentinel +# +# This macro handles Redis Sentinel traffic. +# +############################################################################### +#ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST RATE USER + +PARAM - - tcp 26379