neutron/neutron/tests/functional/agent/linux
Kevin Benton 04197bc4bb 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.

Closes-Bug: #1274034
Change-Id: I0b0e3b1272472385dff060897ecbd25e93fd78e7
2015-07-06 23:04:06 -07:00
..
bin Add a functional test for iptables_manager.binary_name 2015-03-02 16:19:50 +09:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
base.py Replace BaseLinuxTestCase by BaseSudoTestCase 2015-04-24 22:19:54 +02:00
helpers.py Improve fixture usage. 2015-07-01 14:53:48 +12:00
simple_daemon.py tests: monkey patch stdlib before importing other modules 2015-02-18 13:33:57 +01:00
test_async_process.py Python 3: Use six.moves.range 2015-05-19 17:32:17 +02:00
test_ebtables_driver.py Replace BaseIPVethTestCase by FakeMachine 2015-04-24 09:47:57 +00:00
test_interface.py Switch to oslo_utils.uuidutils 2015-06-22 11:06:18 +00:00
test_ip_lib.py Move get_inteface_by_ip from LinuxBridge class to ip_lib 2015-06-17 14:39:32 +02:00
test_ip_monitor.py Change linux/ip_lib code to better handle address families 2015-03-10 00:17:24 -04:00
test_ipset.py Modify ipset functional tests to pass on older machines 2015-06-01 16:25:27 -04:00
test_iptables.py Move NetcatTester to common/net_helpers 2015-06-28 15:48:29 +00:00
test_iptables_firewall.py Replace BaseIPVethTestCase by FakeMachine 2015-04-24 09:47:57 +00:00
test_keepalived.py Disable keepalived process in keepalived func test 2015-06-19 15:53:52 +02:00
test_linuxbridge_arp_protect.py Add ARP spoofing protection for LinuxBridge agent 2015-07-06 23:04:06 -07:00
test_ovsdb_monitor.py Add get_events to OVSDB monitor 2015-06-08 13:39:20 +00:00
test_process_monitor.py Python 3: Use six.moves.range 2015-05-19 17:32:17 +02:00
test_utils.py Introduce ip address monitor 2015-03-03 20:06:14 -05:00