cloudstack/plugins
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
..
acl CLOUDSTACK-10196: Remove ejb-api 3.0 dependency (#2348) 2017-12-18 23:59:06 +05:30
affinity-group-processors Updating pom.xml version numbers for release 4.9.4.0-SNAPSHOT 2017-09-07 20:21:43 +05:30
alert-handlers CLOUDSTACK-7958: Add configuration for limit to CIDRs for Admin API calls (#2046) 2018-01-04 10:56:30 +05:30
api Updating pom.xml version numbers for release 4.9.4.0-SNAPSHOT 2017-09-07 20:21:43 +05:30
ca/root-ca CLOUDSTACK-10012: Migrate to Embedded Jetty 2017-11-03 23:57:25 +05:30
database CLOUDSTACK-10196: Remove ejb-api 3.0 dependency (#2348) 2017-12-18 23:59:06 +05:30
dedicated-resources CLOUDSTACK-10196: Remove ejb-api 3.0 dependency (#2348) 2017-12-18 23:59:06 +05:30
deployment-planners Updating pom.xml version numbers for release 4.9.4.0-SNAPSHOT 2017-09-07 20:21:43 +05:30
event-bus CLOUDSTACK-9456: Upgrade spring and misc dependencies (#2375) 2017-12-26 11:53:48 +05:30
file-systems/netapp Updating pom.xml version numbers for release 4.9.4.0-SNAPSHOT 2017-09-07 20:21:43 +05:30
ha-planners/skip-heurestics Updating pom.xml version numbers for release 4.9.4.0-SNAPSHOT 2017-09-07 20:21:43 +05:30
host-allocators/random Updating pom.xml version numbers for release 4.9.4.0-SNAPSHOT 2017-09-07 20:21:43 +05:30
hypervisors CLOUDSTACK-7958: Add configuration for limit to CIDRs for Admin API calls (#2046) 2018-01-04 10:56:30 +05:30
integrations CLOUDSTACK-10012: Jetty 9.4 (#2329) 2017-11-17 23:26:02 +05:30
metrics CLOUDSTACK-9986: Use host table to iterate for zone/cluster metrics (#2353) 2017-12-15 17:17:17 +05:30
network-elements CLOUDSTACK-7958: Add configuration for limit to CIDRs for Admin API calls (#2046) 2018-01-04 10:56:30 +05:30
outofbandmanagement-drivers CLOUDSTACK-9456: Upgrade spring and misc dependencies (#2375) 2017-12-26 11:53:48 +05:30
storage CLOUDSTACK-9456: Upgrade spring and misc dependencies (#2375) 2017-12-26 11:53:48 +05:30
storage-allocators/random Updating pom.xml version numbers for release 4.9.4.0-SNAPSHOT 2017-09-07 20:21:43 +05:30
user-authenticators CLOUDSTACK-9456: Upgrade spring and misc dependencies (#2375) 2017-12-26 11:53:48 +05:30
pom.xml CLOUDSTACK-10103: Cloudian Connector for CloudStack (#2284) 2017-10-25 10:49:45 +05:30