Bug 811807

Summary: 3.1 - beta3 - vdsm: enable nwfilter
Product: Red Hat Enterprise Linux 6 Reporter: Douglas Schilling Landgraf <dougsland>
Component: vdsmAssignee: Moti Asayag <masayag>
Status: CLOSED ERRATA QA Contact: Meni Yakove <myakove>
Severity: high Docs Contact:
Priority: high    
Version: 6.4CC: abaron, aburden, bazulay, cpelland, danken, harty, iheim, ilvovsky, jbiddle, lpeer, mavital, sgrinber, syeghiay, ykaul, zdover
Target Milestone: betaKeywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: network
Fixed In Version: vdsm-4.9.6-32.0 Doc Type: Enhancement
Doc Text:
Previously, virtual machines running on the host or vNIC hot-plug were vulnerable to spoof attacks unless network filter rules were enabled. This meant that virtual machines were able to impersonate other virtual machines, and that they could cause virtual machine traffic to be rerouted to destinations other than those intended by the Red Hat Entperprise Virtualization environment. VDSM now defines a custom rule called vdsm-no-mac-spoofing on libvirt nw-filter, which is comprised of two rules: no-mac-spoofing and no-arp-mac-spoofing. VDSM exposes the option to use the vdsm-no-mac-spoofing filter when running a virtual machine or when hot-plug vNIC is invoked. As a result, when VDSM is provided with the filter to be used when running virtual machines or activating vNICs, it now instructs libvirt to enforce the filters for the vNICs by defining ebtables rules that control traffic and prevent spoofing.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 18:57:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 809814    

Description Douglas Schilling Landgraf 2012-04-12 02:32:50 UTC
Description of problem:

As default vdsm should enable nwfilter. All virtual machines will be 
started with no-arp-spoofing/no-ip-spoofing/no-mac-spoofing. However, 
it's also required to support communication with RHEVM about this 
feature, to give a chance to disable/enable (might impact performance or 
these rules can prevent valid operations to run).

Comment 2 RHEL Program Management 2012-05-04 04:06:05 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 3 Simon Grinberg 2012-08-13 08:34:17 UTC
(In reply to comment #0)
> Description of problem:
> 
> As default vdsm should enable nwfilter. All virtual machines will be 
> started with no-arp-spoofing/no-ip-spoofing/no-mac-spoofing. However, 

Just note that no-ip-spoofing should not be implemented at this stage.

Comment 5 Moti Asayag 2012-08-20 22:05:30 UTC
Suggested patch:

http://gerrit.ovirt.org/#/c/7354/

Comment 7 Meni Yakove 2012-09-24 08:03:47 UTC
Verified on vdsm-4.9.6-34.0.el6_3.x86_64

Comment 10 errata-xmlrpc 2012-12-04 18:57:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-1508.html

Comment 11 Brook Harty 2015-03-06 17:07:50 UTC
FYI,

You cant run Redhat 7 LXC with mac filtering on, it stops the guests at the bridge.

Prob needs to be in the ERRATA also.