From: Pablo Neira Ayuso Date: Wed, 28 Mar 2018 14:19:27 +0000 (+0200) Subject: extensions: CLUSTERIP: add tests X-Git-Tag: v1.8.0~139 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb2c0525a128cb339e9eb2cdfe316e9cbc9dcfdc;p=thirdparty%2Fiptables.git extensions: CLUSTERIP: add tests Add a few tests to catch regressions. Signed-off-by: Pablo Neira Ayuso --- diff --git a/extensions/libipt_CLUSTERIP.t b/extensions/libipt_CLUSTERIP.t new file mode 100644 index 00000000..8434d9aa --- /dev/null +++ b/extensions/libipt_CLUSTERIP.t @@ -0,0 +1,3 @@ +:INPUT +-d 10.31.3.236/32 -i lo -j CLUSTERIP --new --hashmode sourceip --clustermac 01:AA:7B:47:F7:D7 --total-nodes 2 --local-node 0 --hash-init 1;=;OK +-d 10.31.3.236/32 -i lo -j CLUSTERIP --new --hashmode sourceip --clustermac 01:AA:7B:47:F7:D7 --total-nodes 2 --local-node 1 --hash-init 1;=;OK