path: root/drivers/md/dm-crypt.c
diff options
authorTaehee Yoo <ap420073@gmail.com>2018-11-05 18:23:25 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-26 09:37:05 +0100
commite6b1503c4d6fe1b45b12fe0fbe5ba125bcc22757 (patch)
treed4c1ec9f2b5a043409fa42cf6eee09c5a9a6f048 /drivers/md/dm-crypt.c
parent05f94c60f3cbf7355f7092fe74e52c0f0bb4f48a (diff)
netfilter: ipt_CLUSTERIP: check MAC address when duplicate config is set
[ Upstream commit 06aa151ad1fc74a49b45336672515774a678d78d ] If same destination IP address config is already existing, that config is just used. MAC address also should be same. However, there is no MAC address checking routine. So that MAC address checking routine is added. test commands: %iptables -A INPUT -p tcp -i lo -d --dport 80 \ -j CLUSTERIP --new --hashmode sourceip \ --clustermac 01:00:5e:00:00:20 --total-nodes 2 --local-node 1 %iptables -A INPUT -p tcp -i lo -d --dport 80 \ -j CLUSTERIP --new --hashmode sourceip \ --clustermac 01:00:5e:00:00:21 --total-nodes 2 --local-node 1 After this patch, above commands are disallowed. Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/md/dm-crypt.c')
0 files changed, 0 insertions, 0 deletions