Raritan PX2/PX3 JSON-RPC API
|
6 #include <UserEvent.idl>
78 SSH_HOST_KEY_TYPE_RSA,
79 SSH_HOST_KEY_TYPE_ECDSA
84 SSH_KEY_FPRINT_TYPE_MD5_HEX,
85 SSH_KEY_FPRINT_TYPE_SHA256_BASE64,
86 SSH_KEY_FPRINT_TYPE_UNKNOWN
121 vector<string> oldPrivileges;
128 constant
int ERR_INVALID_VALUE = 1;
SSH host keys.
Definition: Security.idl:96
Password settings.
Definition: Security.idl:57
SSHKeyFingerprintType
Type of SSH key fingerprint.
Definition: Security.idl:83
int setRoleAccessControlSettingsV6(in RoleAccessControl settings)
Change the role-based access control settings for IPv6.
int setDefaultAdminAccountPassword(in string password, in boolean disableStrongPasswordReq)
Set the default admin account password and optionally disable strong password requirements.
SSH authentication settings.
Definition: Security.idl:71
boolean enabled
true to enable packet filtering
Definition: Security.idl:28
boolean getSingleLoginLimitation()
Retrieve the current single-login limitation setting.
boolean enableStrongReq
true to enable strong password requirements
Definition: Security.idl:60
SSHSettings sshSettings
SSH authentication settings.
Definition: Security.idl:145
Role-based access rule.
Definition: Security.idl:42
Security Configuration
Definition: Security.idl:11
IpFw_2_0_0 getIpV6FwSettings()
Retrieve the IPv6 packet filter configuration.
IpfwPolicy defaultPolicyIn
The default policy for inbound traffic in case no rule matches.
Definition: Security.idl:29
IP packet filter rule.
Definition: Security.idl:21
Role-based access control settings.
Definition: Security.idl:50
vector< SSHKeyFingerprint > fingerprints
Fingerprints of public key.
Definition: Security.idl:99
SSHKeyFingerprintType type
Type of fingerprint.
Definition: Security.idl:92
IpfwPolicy
IP packet filter policy.
Definition: Security.idl:14
string ipMask
Remote IP and network mask.
Definition: Security.idl:22
boolean allowPublicKeyAuth
Allow public key authentication.
Definition: Security.idl:73
RoleAccessPolicy policy
Access policy.
Definition: Security.idl:46
int getIdleTimeoutSettings()
Retrieve the current idle timeout.
int minPwLength
Minimum password length.
Definition: Security.idl:61
boolean http2httpsRedir
true to enable HTTP-to-HTTPS redirection
Definition: Security.idl:135
int userMaxFailedLogins
Maximum number of failed logins before blocking a user.
Definition: Security.idl:137
void setSingleLoginLimitation(in boolean singleLogin)
Enable or disable single login limitation.
vector< IpfwRule > ruleSetIn
Ordered list of inbound firewall rules.
Definition: Security.idl:31
int agingInterval
Aging interval in days.
Definition: Security.idl:59
boolean enforceNumeric
Passwords must contain at least one numeric character.
Definition: Security.idl:65
string endIp
End of IP range.
Definition: Security.idl:44
RoleAccessControl roleAccessControl
Role-based access control settings.
Definition: Security.idl:140
boolean getHttpRedirSettings()
Retrieve the current state of the HTTP-to-HTTPS redirection.
int setRoleAccessControlSettings(in RoleAccessControl settings)
Change the role-based access control settings.
@ DENY
Access denied.
Definition: Security.idl:38
@ ALLOW
Access granted.
Definition: Security.idl:37
IP packet filter configuration.
Definition: Security.idl:27
RoleAccessControl getRoleAccessControlSettings()
Retrieve the role-base access control settings for IPv4.
boolean singleLogin
true to enable single login limitation
Definition: Security.idl:144
vector< string > newPrivileges
new front panel privileges
Definition: Security.idl:122
vector< IpfwRule > ruleSetOut
Ordered list of outbound firewall rules.
Definition: Security.idl:32
valueobject PasswordSettingsChanged
This Event is emitted after any of the password-settings has been changed.
Definition: Security.idl:113
vector< string > getFrontPanelPrivileges()
Retrieve the list of active front panel privileges.
vector< SSHHostKey > getSSHHostKeys()
Retrieve the host SSH keys.
int setIdleTimeoutSettings(in int idleTimeout)
Change the session idle timeout.
int setIpV6FwSettings(in IpFw_2_0_0 ipV6Fw)
Set the IPv6 packet filter configuration.
string startIp
Start of IP range.
Definition: Security.idl:43
@ REJECT
Discard packet, send error response.
Definition: Security.idl:17
boolean enforceSpecial
Passwords must contain at least one special character.
Definition: Security.idl:66
SSHHostKeyType
Type of SSH host key.
Definition: Security.idl:77
PasswordSettings getPwSettings()
Retrieve the password settings.
boolean allowPasswordAuth
Allow password authentication.
Definition: Security.idl:72
int setRestrictedServiceAgreement(in RestrictedServiceAgreement settings)
Change the Restricted Service Agreement settings.
int setBlockSettings(in int blockTimeout, in int maxFailedLogins)
Change the user blocking settings.
Security configuration interface
Definition: Security.idl:126
int setPwSettings(in PasswordSettings pwSettings)
Change the password settings.
void setHttpRedirSettings(in boolean http2httpsRedir)
Enable or disable HTTP-to-HTTPS redirection.
int userBlockTimeout
User blocking timeout in minutes.
Definition: Security.idl:136
void setHstsEnabled(in boolean enable)
Enable or disable HTTP Strict Transport Security (HSTS).
string key
Public key.
Definition: Security.idl:97
string banner
Restricted Service Agreement Banner.
Definition: Security.idl:105
void setSSHSettings(in SSHSettings settings)
Change the SSH settings.
@ DROP
Silently discard the packet.
Definition: Security.idl:16
RoleAccessControl getRoleAccessControlSettingsV6()
Retrieve the role-base access control settings for IPv6.
RestrictedServiceAgreement getRestrictedServiceAgreement()
Retrieve the current Restricted Service Agreement settings.
int roleId
Role id.
Definition: Security.idl:45
vector< string > getSupportedFrontPanelPrivileges()
Retrieve a list of supported privileges for the front panel.
string fingerprint
Fingerprint of SSH key.
Definition: Security.idl:91
int setSettings(in Settings settings)
Set the security configuration.
SSHSettings getSSHSettings()
Retrieve the current SSH settings.
IpfwPolicy defaultPolicyOut
The default policy for outbound traffic in case no rule matches.
Definition: Security.idl:30
@ ACCEPT
Accept the packet.
Definition: Security.idl:15
IpFw_2_0_0 ipV6Fw
IPv6 packet filter configuration.
Definition: Security.idl:139
boolean enableAging
true to enable password aging
Definition: Security.idl:58
boolean enabled
Enforce Restricted Service Agreement.
Definition: Security.idl:104
int setIpFwSettings(in IpFw_2_0_0 ipFw)
Set the IPv4 packet filter configuration.
IpFw_2_0_0 getIpFwSettings()
Retrieve the IPv4 packet filter configuration.
valueobject FrontPanelPrivilegesChanged
Front panel privileges have been changed.
Definition: Security.idl:115
boolean enforceUpper
Passwords must contain at least one upper case character.
Definition: Security.idl:64
Security configuration This structure is deprecated and will be removed in V3.0, use concrete getters...
Definition: Security.idl:134
PasswordSettings pwSettings
Password settings.
Definition: Security.idl:142
IpFw_2_0_0 ipFw
IP packet filter configuration.
Definition: Security.idl:138
RoleAccessPolicy
Role-based access policy.
Definition: Security.idl:36
int pwHistoryDepth
Number of entries in password history.
Definition: Security.idl:67
RoleAccessControl roleAccessControlV6
Role-based access control settings for IPv6.
Definition: Security.idl:141
boolean enforceLower
Passwords must contain at least one lower case character.
Definition: Security.idl:63
RoleAccessPolicy defaultPolicy
Default policy.
Definition: Security.idl:52
int setFrontPanelPrivileges(in vector< string > privileges)
Set the privileges for the front panel.
SSHHostKeyType type
Type of public key.
Definition: Security.idl:98
boolean isHstsEnabled()
Check whether HTTP Strict Transport Security (HSTS) is enabled.
boolean enabled
true to enable role-based access control
Definition: Security.idl:51
Fingerprints of SSH host key.
Definition: Security.idl:90
IpfwPolicy policy
Filter policy.
Definition: Security.idl:23
int idleTimeout
Session idle timeout in minutes.
Definition: Security.idl:143
Restricted Service Agreement settings.
Definition: Security.idl:103
vector< RoleAccessRule > rules
List of access rules.
Definition: Security.idl:53
int maxPwLength
Maximum password length.
Definition: Security.idl:62
void getBlockSettings(out int blockTimeout, out int maxFailedLogins)
Retrieve the current user blocking settings.
Settings getSettings()
Retrieve the security configuration.