1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-08-26 05:41:55 +00:00

API-README --api-groups corrections

This commit is contained in:
Kano 2012-06-28 03:34:16 +10:00
parent 659e50434e
commit 39ff15753c

View File

@ -31,8 +31,11 @@ With "--api-allow", 127.0.0.1 is not by default given access unless specified
More groups (like the privileged group W:) can be defined using the More groups (like the privileged group W:) can be defined using the
--api-groups command --api-groups command
Valid groups are only the letters A-V,X-Z and are not case sensitive Valid groups are only the letters A-Z (except R & W are predfined) and are
To give an IP address/subnet access to a group you the use group letter not case sensitive
The R: group is the same as not privileged access
The W: group is (as stated) privileged access (thus all API commands)
To give an IP address/subnet access to a group you use the group letter
in front of the IP address instead of W: e.g. P:192.168.0/32 in front of the IP address instead of W: e.g. P:192.168.0/32
An IP address/subnet can only be a member of one group An IP address/subnet can only be a member of one group
A sample API group would be: A sample API group would be:
@ -309,7 +312,7 @@ Feature Changelog for external applications using the API:
API V1.13 API V1.13
Added API commands: Added API commands:
'checkcommand' 'check'
Support was added to cgminer for API access groups with the --api-groups option Support was added to cgminer for API access groups with the --api-groups option
It's 100% backwards compatible with previous --api-access commands It's 100% backwards compatible with previous --api-access commands