cloudstack/plugins/hypervisors
Wido den Hollander 9988c269b2 CLOUDSTACK-7958: Add configuration for limit to CIDRs for Admin API calls (#2046)
* Cleanup and Improve NetUtils

This class had many unused methods, inconsistent names and redundant code.

This commit cleans up code, renames a few methods and constants.

The global/account setting 'api.allowed.source.cidr.list' is set
to 0.0.0.0/0,::/0 by default preserve the current behavior and thus
allow API calls for accounts from all IPv4 and IPv6 subnets.

Users can set it to a comma-separated list of IPv4/IPv6 subnets to
restrict API calls for Admin accounts to certain parts of their network(s).

This is to improve Security. Should an attacker steal the Access/Secret key
of an account he/she still needs to be in a subnet from where accounts are
allowed to perform API calls.

This is a good security measure for APIs which are connected to the public internet.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2018-01-04 10:56:30 +05:30
..
baremetal CLOUDSTACK-9776: extra DHCP options support for Nuage VSP 2017-11-21 11:44:39 +01:00
hyperv CLOUDSTACK-10198: removed unused (#1437) 2017-12-19 12:24:25 +05:30
kvm CLOUDSTACK-7958: Add configuration for limit to CIDRs for Admin API calls (#2046) 2018-01-04 10:56:30 +05:30
ovm Updating pom.xml version numbers for release 4.9.4.0-SNAPSHOT 2017-09-07 20:21:43 +05:30
ovm3 CLOUDSTACK-7958: Add configuration for limit to CIDRs for Admin API calls (#2046) 2018-01-04 10:56:30 +05:30
simulator CLOUDSTACK-10024: Network migration support 2017-12-21 11:25:17 +01:00
ucs CLOUDSTACK-10196: Remove ejb-api 3.0 dependency (#2348) 2017-12-18 23:59:06 +05:30
vmware CLOUDSTACK-10013: Fixes based on code review and test failures 2017-12-23 17:51:42 +05:30
xenserver CLOUDSTACK-7958: Add configuration for limit to CIDRs for Admin API calls (#2046) 2018-01-04 10:56:30 +05:30