neutron/neutron/plugins
Kevin Benton bf28c724dd Add ARP spoofing protection for LinuxBridge agent
This patch adds ARP spoofing protection for the Linux Bridge
agent based on ebtables. This code was written to be minimally
invasive with the intent of back-porting to Kilo.

The protection is enabled and disabled with the same
'prevent_arp_spoofing' agent config flag added for the OVS agent
in I7c079b779245a0af6bc793564fa8a560e4226afe.

The protection works by setting up an ebtables chain for each port
and jumping all ARP traffic to that chain. The port-specific chains
have a default DROP policy and then have allow rules installed that
only allow ARP traffic with a source CIDR that matches one of the
port's fixed IPs or an allowed address pair.

Since this is a back-port to Kilo, it is disabled by default just
like the protection added for OVS.

This patch additionally pulls back the required ebtables filter and
the functional test helpers to support the tests.

Conflicts:
	neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py
	neutron/plugins/linuxbridge/common/config.py
	neutron/tests/common/machine_fixtures.py

Closes-Bug: #1274034
Change-Id: I0b0e3b1272472385dff060897ecbd25e93fd78e7
(cherry picked from commit 04197bc4bb)
2015-09-03 10:39:47 -07:00
..
bigswitch Big Switch Networks code split 2015-03-06 09:43:30 +00:00
brocade Migrate to oslo.log 2015-03-12 11:22:56 +01:00
cisco Merge "Schedule net to a DHCP agt on subnet create" 2015-03-17 07:29:22 +00:00
common Add MTU selection to ML2 2015-03-17 14:02:39 -04:00
embrane Merge "Fix missing spaces in strings split across lines" 2015-03-22 16:45:09 +00:00
hyperv Hyper-V Agent decomposition 2015-03-19 12:17:19 +02:00
ibm Support multiple IPv6 prefixes on internal router ports 2015-04-03 03:19:51 +00:00
linuxbridge Add ARP spoofing protection for LinuxBridge agent 2015-09-03 10:39:47 -07:00
metaplugin Metaplugin decomposition 2015-03-03 07:25:48 +09:00
midonet Merge "Enable super-on-old-class pylint check" 2015-02-19 08:27:05 +00:00
ml2 Arista ML2 driver should ignore non-vlan networks 2015-07-13 17:21:05 +00:00
nec Merge "Validate string length at API level" 2015-03-29 18:36:57 +00:00
nuage Adding DB model changes for Nuage Plugin post decomposition 2015-03-05 11:59:26 -08:00
oneconvergence Moves ovs_lib to agent/common 2015-03-25 13:48:33 -07:00
opencontrail Migrate to oslo.log 2015-03-12 11:22:56 +01:00
openvswitch Add ARP spoofing protection for LinuxBridge agent 2015-09-03 10:39:47 -07:00
plumgrid PLUMgrid plugin decomposition 2015-03-02 14:28:49 +00:00
sriovnicagent SR-IOV: Fix SR-IOV agent to run ip link commands as root 2015-07-31 20:28:41 +03:00
vmware NSX QoS ext: RXTX factor can be decimal 2015-07-13 13:01:26 +00:00
__init__.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00