[Backport bug/1432856]Security groups aren’t network topology aware

Bug #1434029 reported by Dmitry Mescheryakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Won't Fix
Wishlist
MOS Neutron
6.0.x
Won't Fix
Wishlist
MOS Neutron

Bug Description

Upstream issue https://bugs.launchpad.net/neutron/+bug/1432856

====================
Original description
====================

Security group rules for a host include all hosts that are members of the security group even though some can be unaccessible because they aren’t attached to the same router. This introduces two problems. First, it will create unneeded iptables rules on nodes and additional work on neutron-server and agent-side. Second, in the case of overlapping networks, the rules that result from a host on a completely separate network may end up allowing traffic from an untrusted host on the same network.

e.g. Security group SG1 has rules to allow traffic from other members of the same group. Members of SG1 include 10.0.0.2 and 10.0.0.3, which are on two separate networks with overlapping IPs. The iptables rules on 10.0.0.2 will then permit traffic from 10.0.0.3 even though 10.0.0.3 could be an untrusted node on its own network.

Workaround: Use separate security groups per each network. This will decrease load from calculations significantly on neutron-server and also will decrease number of iptables rules on nodes.

summary: - Security groups aren’t network topology aware
+ [Backport bug/1432856]Security groups aren’t network topology aware
description: updated
tags: added: scale sg-fw
Revision history for this message
Eugene Nikanorov (enikanorov) wrote :

I don't think this particular bug will be fixed in upstream anytime soon.
Let's move on with particular bugs that may appear around security groups in upstream.

Changed in mos:
status: Confirmed → Opinion
importance: High → Wishlist
Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :

Won't Fix for 6.0-updates because of Wishlist importance

Changed in mos:
status: Opinion → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.