CiscoSystems/neutron — pull request #9 by markvoelker (2014-08-04 14:14:11+00:00)
Title: Create ingress spoofing rules

Ensure the dst_ip of a packet headed into a VM is in fact
the IP nova assigned to the VM.

Partial-bug: #1274034

Please note that this only affects L3 and so an attacker can
still poison a victim's ARP cache and cause a denial of service,
but this should prevent them from being able to see the payload
of any hijacked packets or perform a man-in-the-middle attack as
the redirected packets will get dropped by these new rules at the
hypervisor.

Conflicts:
neutron/tests/unit/test_iptables_firewall.py

Note: This change was cherry picked from an upstream review that
received a -2 in April due to not following the blueprint process.
I didn't see any evidence that it has since been followed up on,
and the assignee has removed himself from the bug referenced above.
Therefore, this is (for now) a patch we'll have to maintain
ourselves.

Upstream-Review: https://review.openstack.org/#/c/83845
Implements: rally-user-story US4145
Implements: rally-task TA3473
Not-in-upstream: true

Change-Id: Icbb5c4e1a4ef02b51b0ae836a54953c81a6cde4b
(cherry picked from commit ea0519ee816ed9c867a8e11c821d0ab7812eacad)