neutron-fwaas/neutron
Xuhan Peng b7b0c7dbcd Permit ICMPv6 RAs only from known routers
Currently ingress ICMPv6 RAs are permitted from any IPs by
default to allow VMs to accept ICMPv6 RA from provider network.
In this way, VM can accept RAs from attacker VM and configure
a network prefix specified by the attacher VM.

Remove permitting ICMPv6 RAs from any IPs and add security rule
to only permit ICMPv6 RA from:

1. If the port's subnet is configured with ipv6_ra_mode value
(i.e.value is slaac, dhcpv6-stateful, or dhcpv6-stateless), RA
is sending from dnsmasq controlled by OpenStack. In this case,
allow RA from the link local address of gateway port (if the
gateway port is created).

2. If the subnet's gateway port is not managed by OpenStack, allow
the ICMPv6 RA sent from the subnet gateway IP if it's a link local
address. The administrator needs to configure the gateway IP as
link local address in this case to make the RA rule work.

Change-Id: I1d5c7aaa8e4cf057204eb746c0faab2c70409a94
Closes-Bug: 1262759
2014-04-02 16:24:17 +08:00
..
agent Permit ICMPv6 RAs only from known routers 2014-04-02 16:24:17 +08:00
api Merge "Fix misleading error message about failed dhcp notifications" 2014-03-21 05:10:41 +00:00
cmd remove binaries under bin 2013-08-16 10:10:30 +08:00
common Permit ICMPv6 RAs only from known routers 2014-04-02 16:24:17 +08:00
db Permit ICMPv6 RAs only from known routers 2014-04-02 16:24:17 +08:00
debug options: consolidate options definitions 2014-02-24 13:25:11 +09:00
extensions Adds OVS_HYBRID_PLUG flag to portbindings 2014-03-26 23:41:19 -07:00
locale Imported Translations from Transifex 2014-04-01 06:30:53 +00:00
notifiers Send network-changed notifications to nova 2014-03-13 17:19:43 -07:00
openstack Merge "Synced rpc and gettextutils modules from oslo-incubator" 2014-03-31 19:30:57 +00:00
plugins Merge "Log configuration values for OFA agent" 2014-04-02 05:45:18 +00:00
scheduler Fix DetachedInstanceError for Agent instance 2014-02-27 14:48:11 +00:00
server Adds multiple RPC worker processes to neutron server 2014-03-04 00:50:20 +00:00
services Merge "Cancelling thread start while unit tests running" 2014-03-31 20:31:00 +00:00
tests Permit ICMPv6 RAs only from known routers 2014-04-02 16:24:17 +08:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
auth.py Return request-id in API response 2014-02-10 04:58:38 +09:00
context.py Stop logging unnecessary warning on context create 2013-11-28 09:17:18 +00:00
hooks.py Remove pyudev dependency 2014-02-25 14:28:35 +00:00
manager.py Fixes spelling error 2014-02-28 11:34:19 -08:00
neutron_plugin_base_v2.py Adds multiple RPC worker processes to neutron server 2014-03-04 00:50:20 +00:00
policy.py Replace binding:capabilities with binding:vif_details 2014-02-23 22:56:45 -05:00
quota.py Kill 'Skipping unknown group key: firewall_driver' log trace 2014-03-13 12:46:06 -07:00
service.py Adds multiple RPC worker processes to neutron server 2014-03-04 00:50:20 +00:00
version.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
wsgi.py Merge "Fix webob.exc.HTTPForbidden parameter miss" 2014-03-02 19:05:50 +00:00