neutron/neutron/tests
Kevin Benton aa7356b729 Add simple ARP spoofing protection
Adds an option to setup OVS rules that will prevent
ports attached to the agent from sending any ARP responses
that contain an IP address not belonging to the port
(in fixed IPs or allowed_address_pairs).

It is disabled by default and requires an OVS version that
can match on ARP fields. If it is too old, traffic will
still flow but it won't have ARP spoofing protection.
There is a sanity check to verify that ARP header matching
is supported.

This prevention is specific to OVS so it will not help with
other plugins that use the reference iptables filtering. A
non-OVS-specific general approach will require something like
the ebtables integration in Ibc6d3d520c1383cf7e00f4bdeb7853a41ac4b14b.

Details:
A new table is added for ARP spoofing prevention. All ARP traffic
on the local switching table is sent to this spoofing table.
The spoofing table will allow all ARP requests because we aren't
interested in them. It will then install an ARP response allow rule
for each IP address the port is assigned. All other ARP responses are
dropped.

DocImpact
SecurityImpact
Partial-Bug: #1274034

Change-Id: I7c079b779245a0af6bc793564fa8a560e4226afe
2015-03-29 20:57:07 -07:00
..
api Merge "Add API tests for subnet-create with subnetpool" 2015-04-03 23:34:24 +00:00
common Define bridge/port fixtures for OVS/LinuxBridge/Veth backends 2015-04-01 15:01:06 +00:00
contrib Remove check for bash usage 2015-04-07 15:15:33 +00:00
etc Reorganize unit test tree 2015-04-06 23:28:31 +00:00
fullstack Remove neutron.tests.sub_base 2015-03-27 18:04:47 +00:00
functional Add simple ARP spoofing protection 2015-03-29 20:57:07 -07:00
retargetable Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
tempest Move orphaned api test - deux 2015-04-01 20:45:12 -07:00
unit Add simple ARP spoofing protection 2015-03-29 20:57:07 -07:00
var Allow combined certificate/key files for SSL 2014-04-13 09:22:23 +00:00
__init__.py Add eventlet monkey_patch helper 2015-03-24 08:44:00 -07:00
base.py Fix functional test using local timeout value 2015-04-03 01:18:15 +00:00
fake_notifier.py Pass serializer to oslo.messaging Notifier 2014-06-20 14:58:28 +02:00
post_mortem_debug.py Cleanup recent generalization in post mortem debugger 2014-12-04 15:28:11 +01:00
tools.py Fix common misspellings 2015-03-24 11:44:15 +01:00