neutron/etc
Cedric Brandily 1d776bc16c Allow to request metadata proxy only with redirection
metadata service should be requested on 169.254.169.254:80 and router
namespace iptables rules redirect the request to the metadata-ns-proxy
on 127.0.0.1:$metadata_port. But currently the metadata-ns-proxy can be
requested directly on $router-ip:$metadata_port.

To avoid such behavior, this change marks packets redirection in mangle
table (PREROUTING), redirects (PREROUTING) them in nat table, accepts
them in filter table (INPUT) using the mark. Packets send to the
metadata proxy port without mark (so directly) are dropped. The
mark can be configured through the new option metadata_access_mark.

Remark: redirected packets are not local packets (in general), so
setting metadata proxy server host to 127.0.0.1 will disallow direct
queries but so redirected queries.

DocImpact
Partial-Bug: #1187102
Change-Id: I6a9bb12c8bf68c6fcf4e4060f8dfe44a309a41da
2015-01-30 09:34:49 +00:00
..
init.d Rename to Neutron in sample init.d script 2013-07-13 16:55:55 -04:00
neutron Merge "Service split: cleaned up setup.cfg" 2015-01-15 17:50:49 +00:00
api-paste.ini Migrate to oslo.middleware 2014-11-26 22:12:21 +01:00
dhcp_agent.ini Adds an option to enable broadcast replies to Dnsmasq 2014-10-27 17:02:45 +02:00
l3_agent.ini Allow to request metadata proxy only with redirection 2015-01-30 09:34:49 +00:00
metadata_agent.ini Update comment about metadata_proxy_shared_secret config 2015-01-09 00:07:18 +09:00
metering_agent.ini metering driver default value is different in code and config file 2014-08-26 08:41:44 +08:00
neutron.conf Move process monitor settings to neutron.conf AGENT section 2015-01-22 21:37:55 +00:00
policy.json Merge "Allow setting a tenant router's external IP" 2014-12-30 00:07:14 +00:00
rootwrap.conf Remove last parts of Quantum compatibility shim 2014-03-31 23:31:23 -07:00
services.conf Minor lbaasv2 things from the feature branch, needed in neutron 2014-12-17 00:33:02 +00:00