nova/nova/tests/unit/console
Mike Dorman 95f1d47bb5 Add console allowed origins setting
Adds a DEFAULT/console_allowed_origins to the console
websocket proxy to allow connections from other Origin hostnames
(other than only the hostname in the Host header.)

Origin header checking was introduced in
https://review.openstack.org/#/c/163033/ as a fix for bug 1409142
and CVE-2015-0259.  However there are valid use cases where you
want to do cross-site web socket connections.

This patch allows for controlled cross-site web socket connections
to the console proxy services.

DocImpact

Change-Id: If7995bb7afc255f5ad834dc8a7044ef38b6cb335
Closes-bug: 1474079
2015-07-28 22:06:40 -06:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_console.py Using Instance object instead of db call 2015-03-13 14:35:40 +02:00
test_rpcapi.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
test_serial.py Make unit tests inherit from test.NoDBTestCase 2015-03-06 09:46:31 +02:00
test_type.py Make unit tests inherit from test.NoDBTestCase 2015-03-06 09:46:31 +02:00
test_websocketproxy.py Add console allowed origins setting 2015-07-28 22:06:40 -06:00