neutron/neutron/cmd
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
..
eventlet Merge "Add eventlet monkey_patch helper" 2015-03-25 04:58:59 +00:00
sanity Add simple ARP spoofing protection 2015-03-29 20:57:07 -07:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
keepalived_state_change.py Replace keepalived notifier bash script with Python ip monitor 2015-03-18 18:59:33 -04:00
netns_cleanup.py Moves ovs_lib to agent/common 2015-03-25 13:48:33 -07:00
ovs_cleanup.py Moves ovs_lib to agent/common 2015-03-25 13:48:33 -07:00
sanity_check.py Add simple ARP spoofing protection 2015-03-29 20:57:07 -07:00
usage_audit.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00