neutron/neutron/tests/unit/db
Bertrand Lallau 6f3ae396ed Don't allow user to set firewall rule with port and no protocol
Creating firewall rules specifying a destination port and/or a source
port without a protocol, generates rules without src or dest port
restriction. This was a real security issue for cloud users.

This patch generates a 400 Bad request "Source/destination port
requires a protocol" in case of creation/update of firewall rules
specifying a destination port and/or a source port and without protocol.

DocImpact
Closes-Bug: #1365961

Change-Id: I4a3a1d9ae7ec4b2a864b3edc83d65ef7f80cbba5
2014-09-10 11:47:54 +02:00
..
firewall Don't allow user to set firewall rule with port and no protocol 2014-09-10 11:47:54 +02:00
loadbalancer Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
metering Move from Python logging to Openstack logging 2014-08-02 04:04:33 -07:00
vpn Inline "for val in [ref]" statements 2014-08-26 23:01:22 +02:00
__init__.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
test_agent_db.py Minor refactoring of auto_schedule_routers 2014-08-22 08:16:38 -07:00
test_dvr_mac_db.py Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00
test_l3_dvr_db.py Fix for floatingip-delete not removing fip_gw port 2014-08-25 17:03:53 -07:00
test_quota_db.py Remove auto-generation of db schema from models at startup 2014-08-15 17:21:17 -04:00