MPDC: Multi Party Domain Cryptosystem 1.0.0.0b (A0)
MPDC Interior protocol
commands.h File Reference

The MPDC command enumerations. More...

#include "../MPDC/mpdc.h"

Go to the source code of this file.

Typedefs

typedef enum mpdc_console_commands mpdc_console_commands
 
typedef enum mpdc_application_messages mpdc_application_messages
 
typedef enum mpdc_command_actions mpdc_command_actions
 
typedef enum mpdc_console_modes mpdc_console_modes
 

Enumerations

enum  mpdc_console_commands {
  mpdc_commands_none = 0x00 , mpdc_commands_certificate_create = 0x01 , mpdc_commands_certificate_change = 0x02 , mpdc_commands_certificate_sign = 0x03 ,
  mpdc_commands_certificate_revoke = 0x04 , mpdc_commands_certificate_format = 0x05 , mpdc_commands_device_add = 0x06 , mpdc_commands_network_converge = 0x07 ,
  mpdc_commands_dla_election = 0x08
}
 The common console functions. More...
 
enum  mpdc_application_messages {
  mpdc_application_not_recognized = 0x00 , mpdc_application_erase_erase_all = 0x01 , mpdc_application_erase_config = 0x02 , mpdc_application_erase_log = 0x03 ,
  mpdc_application_authorization_failure = 0x04 , mpdc_application_retries_exceeded = 0x05 , mpdc_application_application_quit = 0x06 , mpdc_application_logging_disabled = 0x07 ,
  mpdc_application_logging_enabled = 0x08 , mpdc_application_authentication_failure = 0x09 , mpdc_application_operation_aborted = 0x0A , mpdc_application_system_erased = 0x0B ,
  mpdc_application_configuration_erased = 0x0C , mpdc_application_log_erased = 0x0D , mpdc_application_retry_invalid = 0x0E , mpdc_application_timeout_invalid = 0x0F ,
  mpdc_application_domain_invalid = 0x10 , mpdc_application_hostname_invalid = 0x11 , mpdc_application_configuration = 0x12 , mpdc_application_connection = 0x13 ,
  mpdc_application_connection_details = 0x14 , mpdc_application_log_empty = 0x15 , mpdc_application_first_login = 0x16 , mpdc_application_choose_name = 0x17 ,
  mpdc_application_choose_password = 0x18 , mpdc_application_password_set = 0x19 , mpdc_application_challenge_user = 0x1A , mpdc_application_challenge_user_failure = 0x1B ,
  mpdc_application_challenge_password = 0x1C , mpdc_application_challenge_password_failure = 0x1D , mpdc_application_challenge_device_name = 0x1E , mpdc_application_challenge_device_name_success = 0x1F ,
  mpdc_application_challenge_device_name_failure = 0x20 , mpdc_application_remote_connect = 0x21 , mpdc_application_remote_connect_key = 0x22 , mpdc_application_remote_connect_success = 0x23 ,
  mpdc_application_remote_connect_failure = 0x24 , mpdc_application_socket_listen = 0x25 , mpdc_application_socket_listen_failure = 0x26 , mpdc_application_socket_listen_success = 0x27 ,
  mpdc_application_generate_key = 0x28 , mpdc_application_generate_key_failure = 0x29 , mpdc_application_generate_key_success = 0x2A , mpdc_application_generate_key_overwrite = 0x2B ,
  mpdc_application_operation_cancelled = 0x2C , mpdc_application_client_enter_pubkey_path = 0x2D , mpdc_application_client_pubkey_path_invalid = 0x2E , mpdc_application_client_connection_success = 0x2F ,
  mpdc_application_client_connection_failure = 0x30 , mpdc_application_address_invalid_format = 0x31 , mpdc_application_certificate_exists = 0x32 , mpdc_application_certificate_not_revoked = 0x33 ,
  mpdc_application_console_timeout_expired = 0x34 , mpdc_application_challenge_root_path = 0x35 , mpdc_application_challenge_root_path_success = 0x36 , mpdc_application_challenge_root_path_failure = 0x37 ,
  mpdc_application_root_copy_success = 0x38 , mpdc_application_root_copy_failure = 0x39 , mpdc_application_root_sign_failure = 0x3A , mpdc_application_root_sign_success = 0x3B ,
  mpdc_application_invalid_input = 0x3C , mpdc_application_register_failure = 0x3D , mpdc_application_register_success = 0x3E , mpdc_application_register_existing = 0x3F ,
  mpdc_application_announce_failure = 0x40 , mpdc_application_announce_success = 0x41 , mpdc_application_converge_failure = 0x42 , mpdc_application_converge_success = 0x43 ,
  mpdc_application_message_time_invalid = 0x44 , mpdc_application_certificate_not_found = 0x45 , mpdc_application_signature_failure = 0x46 , mpdc_application_network_resign_failure = 0x47 ,
  mpdc_application_network_resign_success = 0x48 , mpdc_application_certificate_revoke_failure = 0x49 , mpdc_application_certificate_revoke_success = 0x4A , mpdc_application_address_change_failure = 0x4B ,
  mpdc_application_address_change_success = 0x4C , mpdc_application_address_change_challenge = 0x4D , mpdc_application_address_change_current = 0x4E , mpdc_application_address_change_message = 0x4F ,
  mpdc_application_server_service_start_failure = 0x50 , mpdc_application_server_service_start_success = 0x51 , mpdc_application_server_service_stopped = 0x52 , mpdc_application_server_service_paused = 0x53 ,
  mpdc_application_server_service_resume_failure = 0x54 , mpdc_application_server_service_resume_success = 0x55 , mpdc_application_import_certificate_exists = 0x56 , mpdc_application_import_certificate_changed = 0x57 ,
  mpdc_application_import_certificate_failure = 0x58 , mpdc_application_import_certificate_success = 0x59 , mpdc_application_export_certificate_failure = 0x5A , mpdc_application_export_certificate_success = 0x5B ,
  mpdc_application_server_domain_change_challenge = 0x5C , mpdc_application_server_domain_change_current = 0x5D , mpdc_application_server_domain_change_failure = 0x5E , mpdc_application_server_domain_change_success = 0x5F ,
  mpdc_application_certificate_period_update = 0x60 , mpdc_application_certificate_root_validate = 0x61 , mpdc_application_command_not_supported = 0x62 , mpdc_application_network_ip_address_not_set = 0x63 ,
  mpdc_application_network_local_error = 0x64 , mpdc_application_network_remote_error = 0x65 , mpdc_application_topological_query_unknown = 0x66 , mpdc_application_topological_query_failure = 0x67 ,
  mpdc_application_topological_query_success = 0x68 , mpdc_application_dla_certificate_path_failure = 0x69 , mpdc_application_dla_certificate_path_success = 0x6A , mpdc_application_dla_certificate_address_challenge = 0x6B ,
  mpdc_application_dla_certificate_address_failure = 0x6C , mpdc_application_server_backup_restore_challenge = 0x6D , mpdc_application_server_backup_save_confirmation = 0x6E , mpdc_application_certificate_remote_sign_failure = 0x6F ,
  mpdc_application_certificate_remote_sign_success = 0x70 , mpdc_application_log_address_change = 0x71 , mpdc_application_log_domain_change = 0x72 , mpdc_application_log_hostname_change = 0x73 ,
  mpdc_application_log_user_logged_in = 0x74 , mpdc_application_log_log_created = 0x75 , mpdc_application_log_log_disabled = 0x76 , mpdc_application_log_log_enabled = 0x77 ,
  mpdc_application_log_log_header = 0x78 , mpdc_application_log_retries_change = 0x79 , mpdc_application_log_timeout_change = 0x7A , mpdc_application_log_user_added = 0x7B ,
  mpdc_application_log_state_restore = 0x7C , mpdc_application_log_state_backup = 0x7D , mpdc_application_log_service_paused = 0x7E , mpdc_application_log_service_resumed = 0x7F ,
  mpdc_application_log_service_started = 0x80 , mpdc_application_log_service_stopped = 0x81 , mpdc_application_log_mfk_exchange_failure = 0x82 , mpdc_application_log_mfk_exchange_success = 0x83 ,
  mpdc_application_log_generate_delete = 0x84 , mpdc_application_log_generate_failure = 0x85 , mpdc_application_log_generate_success = 0x86 , mpdc_application_log_revocation_failure = 0x87 ,
  mpdc_application_log_revocation_success = 0x88 , mpdc_application_log_convergence_failure = 0x89 , mpdc_application_log_convergence_success = 0x8A , mpdc_application_log_incremental_failure = 0x8B ,
  mpdc_application_log_incremental_success = 0x8C , mpdc_application_log_allocation_failure = 0x8D , mpdc_application_log_connection_terminated = 0x8E , mpdc_application_log_configuration_erased = 0x8F ,
  mpdc_application_log_receive_failure = 0x90 , mpdc_application_log_register_failure = 0x91 , mpdc_application_log_register_success = 0x92 , mpdc_application_log_fragment_exchange_failure = 0x93 ,
  mpdc_application_log_fragment_exchange_success = 0x94 , mpdc_application_log_local_resign_failure = 0x95 , mpdc_application_log_local_resign_success = 0x96 , mpdc_application_log_remote_invalid_request = 0x97 ,
  mpdc_application_log_remote_reported_error = 0x98 , mpdc_application_log_connect_failure = 0x99 , mpdc_application_log_connect_success = 0x9A , mpdc_application_log_topology_node_query_failure = 0x9B ,
  mpdc_application_log_topology_node_query_success = 0x9C , mpdc_application_log_announce_failure = 0x9D , mpdc_application_log_announce_success = 0x9E , mpdc_application_log_remote_signing_failure = 0x9F ,
  mpdc_application_log_remote_signing_success = 0xA0 , mpdc_application_log_remote_resign_failure = 0xA1 , mpdc_application_log_remote_resign_success = 0xA2 , mpdc_application_log_converge_node_remove_challenge = 0xA3 ,
  mpdc_application_rds_certificate_address_challenge = 0xA4 , mpdc_application_rds_certificate_address_failure = 0xA5 , mpdc_application_server_service_not_started = 0xA6
}
 The RDS application messages. More...
 
enum  mpdc_command_actions {
  mpdc_command_action_none = 0x00 , mpdc_command_action_config_address = 0x01 , mpdc_command_action_config_certificate = 0x02 , mpdc_command_action_config_clear_all = 0x03 ,
  mpdc_command_action_config_clear_config = 0x04 , mpdc_command_action_config_clear_log = 0x05 , mpdc_command_action_config_exit = 0x06 , mpdc_command_action_config_help = 0x07 ,
  mpdc_command_action_config_log_host = 0x08 , mpdc_command_action_config_name_domain = 0x09 , mpdc_command_action_config_name_host = 0x0A , mpdc_command_action_config_retries = 0x0B ,
  mpdc_command_action_config_server = 0x0C , mpdc_command_action_config_timeout = 0x0D , mpdc_command_action_enable_clear_screen = 0x0E , mpdc_command_action_enable_config = 0x0F ,
  mpdc_command_action_enable_exit = 0x10 , mpdc_command_action_enable_help = 0x11 , mpdc_command_action_enable_quit = 0x12 , mpdc_command_action_enable_show_config = 0x13 ,
  mpdc_command_action_enable_show_log = 0x14 , mpdc_command_action_user_enable = 0x15 , mpdc_command_action_user_help = 0x16 , mpdc_command_action_user_quit = 0x17 ,
  mpdc_command_action_certificate_exit = 0x18 , mpdc_command_action_certificate_export = 0x19 , mpdc_command_action_certificate_generate = 0x1A , mpdc_command_action_certificate_help = 0x1B ,
  mpdc_command_action_certificate_import = 0x1C , mpdc_command_action_certificate_print = 0x1D , mpdc_command_action_server_backup = 0x1E , mpdc_command_action_server_connect = 0x1F ,
  mpdc_command_action_server_exit = 0x20 , mpdc_command_action_server_help = 0x21 , mpdc_command_action_server_list = 0x22 , mpdc_command_action_server_register = 0x23 ,
  mpdc_command_action_server_resign = 0x24 , mpdc_command_action_server_restore = 0x25 , mpdc_command_action_server_service = 0x26 , mpdc_command_action_server_query = 0x27 ,
  mpdc_command_action_client_connect_help = 0x28 , mpdc_command_action_client_connect_quit = 0x29 , mpdc_command_action_dla_certificate_revoke = 0x2A , mpdc_command_action_dla_server_announce = 0x2B ,
  mpdc_command_action_dla_server_converge = 0x2C , mpdc_command_action_dla_server_revoke = 0x2D , mpdc_command_action_dla_server_sproxy = 0x2E , mpdc_command_action_certificate_sign = 0x2F ,
  mpdc_command_action_config_clear = 0x30 , mpdc_command_action_config_log = 0x31 , mpdc_command_action_config_name = 0x32 , mpdc_command_action_help_enable_all = 0x33 ,
  mpdc_command_action_help_enable_show = 0x34 , mpdc_command_action_help_enable_user = 0x35 , mpdc_command_action_command_unrecognized = 0x36
}
 The RDS command actions. More...
 
enum  mpdc_console_modes {
  mpdc_console_mode_name = 0x00 , mpdc_console_mode_user = 0x01 , mpdc_console_mode_enable = 0x02 , mpdc_console_mode_config = 0x03 ,
  mpdc_console_mode_certificate = 0x04 , mpdc_console_mode_server = 0x05 , mpdc_console_mode_login_message = 0x06 , mpdc_console_mode_login_password = 0x07 ,
  mpdc_console_mode_login_user = 0x08 , mpdc_console_mode_login_hostname = 0x09 , mpdc_console_mode_login_address = 0x0A , mpdc_console_mode_login_domain = 0x0B ,
  mpdc_console_mode_login_rootpath = 0x0C , mpdc_console_mode_client_connected = 0x0D
}
 The RDS console modes. More...
 

Detailed Description

The MPDC command enumerations.

Enumeration Type Documentation

◆ mpdc_application_messages

The RDS application messages.

Enumerator
mpdc_application_not_recognized 

The command was not recognized.

mpdc_application_erase_erase_all 

The system will be erased, including configuration and log files, do you want to proceed Y|N

mpdc_application_erase_config 

The user configuration will be erased, do you want to proceed Y|N"

mpdc_application_erase_log 

The log files will be erased, do you want to proceed Y|N

mpdc_application_authorization_failure 

The user is not authorized. Press any key to terminate the application.

mpdc_application_retries_exceeded 

Login has exceeded maximum retries. Press any key to terminate the application.

mpdc_application_application_quit 

The quit command has been entered. Press any key to terminate the application.

mpdc_application_logging_disabled 

Activity logging has been disabled.

mpdc_application_logging_enabled 

Activity logging has been enabled.

mpdc_application_authentication_failure 

User authentication has failed. Press any key to terminate the application.

mpdc_application_operation_aborted 

The operation was aborted by the user.

mpdc_application_system_erased 

System reset: The application log and configuration have been erased.

mpdc_application_configuration_erased 

System reset: The application log and configuration have been erased.

mpdc_application_log_erased 

The log file has been erased.

mpdc_application_retry_invalid 

The retry setting is invaid; valid retry range is between one and five [1-5] login attempts.

mpdc_application_timeout_invalid 

The timeout setting is invalid; valid timeout setting is between one and sixty [1-60] minutes.

mpdc_application_domain_invalid 

The domain name setting is invalid; valid domain name length is between two and thirty [2-32] characters.

mpdc_application_hostname_invalid 

The hostname setting is invalid; valid hostname length is between two and thirty [2-32] characters.

mpdc_application_configuration 

Printing configuration details:

mpdc_application_connection 

Printing connection details:

mpdc_application_connection_details 

minutes

mpdc_application_log_empty 

The log file is empty.

mpdc_application_first_login 

Running for the first time; please set the applications device name, username and password.

mpdc_application_choose_name 

Please choose a user name, minimum 6 characters, to a maximum 128 characters.

mpdc_application_choose_password 

Password must be 8-128 characters long [a-z, A-Z], at least 1 number, and 1 symbol [0-9][!#$&'()*+,_./].

mpdc_application_password_set 

The user name and password have been set.

mpdc_application_challenge_user 

Please enter the user name:

mpdc_application_challenge_user_failure 

The user name entered is not recognized.

mpdc_application_challenge_password 

Please enter the password:

mpdc_application_challenge_password_failure 

The password entered is invalid.

mpdc_application_challenge_device_name 

Please enter the device name, minimum 2 characters, to a maximum of 16 characters

mpdc_application_challenge_device_name_success 

The device name has been set.

mpdc_application_challenge_device_name_failure 

The device name is invalid.

mpdc_application_remote_connect 

Enter the IPv4 or IPv6 address of the host name.

mpdc_application_remote_connect_key 

No public key is associated with that address. Enter the encoded public key.

mpdc_application_remote_connect_success 

Connecting to the server...

mpdc_application_remote_connect_failure 

Connection attempt failed. The server is unreachable.

mpdc_application_socket_listen 

The host has entered server mode. Type quit to exit server mode.

mpdc_application_socket_listen_failure 

The listener failed to initialize. The host could not enter the listening state.

mpdc_application_socket_listen_success 

The listener has initialized: The server is now in the listening state.

mpdc_application_generate_key 

Generating the public/private signature key-pair.

mpdc_application_generate_key_failure 

The certificate could not be generated.

mpdc_application_generate_key_success 

The public key was saved to:

mpdc_application_generate_key_overwrite 

The signature key-pair already exists, do you want to overwite it? Y|N

mpdc_application_operation_cancelled 

The operation was cancelled by the user.

mpdc_application_client_enter_pubkey_path 

Enter the path to the remote hosts public key.

mpdc_application_client_pubkey_path_invalid 

Invalid path, could not find the hosts public key.

mpdc_application_client_connection_success 

Client connected to the remote host successfully.

mpdc_application_client_connection_failure 

Connection attempt failed! Could not connect to the remote server.

mpdc_application_address_invalid_format 

The IP address format was invalid! Enter a valid address format, ex. n.n.n.n

mpdc_application_certificate_exists 

Warning! The root certificate exists, do you want to overwite it? Y|N

mpdc_application_certificate_not_revoked 

Cannot delete an active certificate; revoke the certificate before deleting the file.

mpdc_application_console_timeout_expired 

The console timeout period has expired, set to user mode.

mpdc_application_challenge_root_path 

Enter the full path to the RDS root certificate.

mpdc_application_challenge_root_path_success 

The root certificate has been stored successfully.

mpdc_application_challenge_root_path_failure 

Could not find the certificate, or the file is invalid, please enter the path again.

mpdc_application_root_copy_success 

The root certificate has been copied successfully.

mpdc_application_root_copy_failure 

The root certificate could not be copied, check the path and permissions.

mpdc_application_root_sign_failure 

The certificate signing failed. The certificate was invalid or has incompatible parameters.

mpdc_application_root_sign_success 

The certificate was signed successfully.

mpdc_application_invalid_input 

The command input was invalid, operation failed.

mpdc_application_register_failure 

The network join request has failed, check the address.

mpdc_application_register_success 

The network join request has succeeded.

mpdc_application_register_existing 

The node is joined to an existing network, rejoin the dla? Y|N

mpdc_application_announce_failure 

The certificate has been announced to the network.

mpdc_application_announce_success 

The certificate announce operation has failed, check the path.

mpdc_application_converge_failure 

The topology update has failed, memory or signing failure.

mpdc_application_converge_success 

The topology update has been announced to the network.

mpdc_application_message_time_invalid 

The network time is invalid or has substantial delay.

mpdc_application_certificate_not_found 

The root, dla, or agent certificate could not be found.

mpdc_application_signature_failure 

The signature could not be generated for a message.

mpdc_application_network_resign_failure 

The network resign has failed, check the address.

mpdc_application_network_resign_success 

This node has resigned from the network.

mpdc_application_certificate_revoke_failure 

The certificate revocation has failed, check the path.

mpdc_application_certificate_revoke_success 

The certificate revocation has been broadcast to the network.

mpdc_application_address_change_failure 

The address is not routable, or not properly formed.

mpdc_application_address_change_success 

The server ip address has been changed, restart the server for changes to take effect.

mpdc_application_address_change_challenge 

Do you want to change the ip address? Y|N

mpdc_application_address_change_current 

The auto-detected ip address is:

mpdc_application_address_change_message 

Enter a routable IPv4 or IPv6 address.

mpdc_application_server_service_start_failure 

The server service could not be started, check for a valid signed certificate and network membership.

mpdc_application_server_service_start_success 

The server service was started successfully.

mpdc_application_server_service_stopped 

The server service has been stopped, use the command 'service start' to run.

mpdc_application_server_service_paused 

The server service has been paused, use the command 'service resume' to restart.

mpdc_application_server_service_resume_failure 

The server service could not be resumed, use the command 'service start' to run.

mpdc_application_server_service_resume_success 

The server service has resumed successfully.

mpdc_application_import_certificate_exists 

The server certificate already exists, do you want to replace it? Y|N

mpdc_application_import_certificate_changed 

Changing the server name or the domain name requires recreating the certificate, do you want to proceed? Y|N

mpdc_application_import_certificate_failure 

The server certificate could not be updated, check the path and root signature

mpdc_application_import_certificate_success 

The server certificate was updated successfully

mpdc_application_export_certificate_failure 

The server certificate could not be exported, check the path

mpdc_application_export_certificate_success 

The server certificate was exported successfully

mpdc_application_server_domain_change_challenge 

Do you want to change the servers domain name? Y|N

mpdc_application_server_domain_change_current 

The current domain name string:

mpdc_application_server_domain_change_failure 

The server could not update the domain name.

mpdc_application_server_domain_change_success 

The domain name has been updated successfully.

mpdc_application_certificate_period_update 

The days entered exceeds the root expiration period; days reduced to:

mpdc_application_certificate_root_validate 

The certificate must be signed by the RDS server before joining the network.

mpdc_application_command_not_supported 

The command is not supported on this server or version.

mpdc_application_network_ip_address_not_set 

The network address is invalid or not set.

mpdc_application_network_local_error 

received a network error from remote host:

mpdc_application_network_remote_error 

a network error occured with remote host:

mpdc_application_topological_query_unknown 

The query name format is invalid, valid format is domain.client

mpdc_application_topological_query_failure 

The device is offline or unknown to the DLA

mpdc_application_topological_query_success 

The device is online and available for connection

mpdc_application_dla_certificate_path_failure 

The certificate was not found or is not signed

mpdc_application_dla_certificate_path_success 

Provide the full path to the signed DLA certificate

mpdc_application_dla_certificate_address_challenge 

Provide the IP address of the DLA server

mpdc_application_dla_certificate_address_failure 

The DLA IP address format is invalid

mpdc_application_server_backup_restore_challenge 

Restore the configuration files from the last backup?

mpdc_application_server_backup_save_confirmation 

The configuration files have been backed up.

mpdc_application_certificate_remote_sign_failure 

The proxy service could not sign the certificate.

mpdc_application_certificate_remote_sign_success 

The certificate was signed by the proxy service.

mpdc_application_log_address_change 

The server address has been changed by the administrator

mpdc_application_log_domain_change 

The domain name was changed to

mpdc_application_log_hostname_change 

The host name was changed to

mpdc_application_log_user_logged_in 

Local user logged in:

mpdc_application_log_log_created 

Log file created:

mpdc_application_log_log_disabled 

Logging has been disabled on

mpdc_application_log_log_enabled 

Logging has been enabled on

mpdc_application_log_log_header 

MPDC version 1.0a, created September 2022.

mpdc_application_log_retries_change 

The login retries setting was changed to

mpdc_application_log_timeout_change 

The session timeout was changed to

mpdc_application_log_user_added 

Added user configuration:

mpdc_application_log_state_restore 

The server state has been restored

mpdc_application_log_state_backup 

The server state has been backed up

mpdc_application_log_service_paused 

The server service was paused

mpdc_application_log_service_resumed 

The server service was resumed

mpdc_application_log_service_started 

The server service was started

mpdc_application_log_service_stopped 

The server service was stopped

mpdc_application_log_mfk_exchange_failure 

The network mfk exchange has failed

mpdc_application_log_mfk_exchange_success 

The network mfk exchange has succeeded

mpdc_application_log_generate_delete 

The server generated a replacement certificate:

mpdc_application_log_generate_failure 

The certificate generation has failed.

mpdc_application_log_generate_success 

The certificate generation has succeeded:

mpdc_application_log_revocation_failure 

The certificate announcement has succeeded

mpdc_application_log_revocation_success 

The certificate revocation has failed

mpdc_application_log_convergence_failure 

The converce call has returned a failure

mpdc_application_log_convergence_success 

The remote host has converged and updated its certificate

mpdc_application_log_incremental_failure 

The topological update request failed or was denied

mpdc_application_log_incremental_success 

The topological update request was sent

mpdc_application_log_allocation_failure 

Memory allocation failure, connection aborted to host

mpdc_application_log_connection_terminated 

Connection terminated by remote host

mpdc_application_log_configuration_erased 

The configuration was erased by user:

mpdc_application_log_receive_failure 

The network session has timed out

mpdc_application_log_register_failure 

The network dla join request was denied

mpdc_application_log_register_success 

The network dla join request has succeeded

mpdc_application_log_fragment_exchange_failure 

The key fragment exchange has failed

mpdc_application_log_fragment_exchange_success 

The key fragment exchange has succeeded

mpdc_application_log_local_resign_failure 

The host resignation from the network failed

mpdc_application_log_local_resign_success 

The host has resigned from the network

mpdc_application_log_remote_invalid_request 

The remote device sent an invalid or unknown request

mpdc_application_log_remote_reported_error 

The remote device responded with an error code

mpdc_application_log_connect_failure 

Remote connection failed at

mpdc_application_log_connect_success 

Connected to remote host:

mpdc_application_log_topology_node_query_failure 

The node query failed

mpdc_application_log_topology_node_query_success 

The device answered a node query successfully

mpdc_application_log_announce_failure 

The node was not found in the topological database

mpdc_application_log_announce_success 

The certificate announcement has failed

mpdc_application_log_remote_signing_failure 

The remote certificate could not be signed

mpdc_application_log_remote_signing_success 

The remote certificate was signed successfully

mpdc_application_log_remote_resign_failure 

The remote host resignation from the network failed

mpdc_application_log_remote_resign_success 

The remote host has resigned from the network

mpdc_application_log_converge_node_remove_challenge 

Do you want to revoke this device and remove it from the database?

mpdc_application_rds_certificate_address_challenge 

Provide the IP address of the RDS server

mpdc_application_rds_certificate_address_failure 

The RDS IP address format is invalid

mpdc_application_server_service_not_started 

The server service must be started before issuing this command

◆ mpdc_command_actions

The RDS command actions.

Enumerator
mpdc_command_action_none 

unknown command

mpdc_command_action_config_address 

address [ip address] -Assign the server's network interface address; requires a restart.

mpdc_command_action_config_certificate 

crypto -enter the cryptographic command interface

mpdc_command_action_config_clear_all 

clear all -requires auth challenge, deletes everything

mpdc_command_action_config_clear_config 

clear config -requires auth challenge, deletes public key cache

mpdc_command_action_config_clear_log 

clear log -requires auth challenge, clears the logs

mpdc_command_action_config_exit 

exit -exits to enable mode

mpdc_command_action_config_help 

help for config mode

mpdc_command_action_config_log_host 

log [enable | disable] -log command and connection activity

mpdc_command_action_config_name_domain 

name domain [domain-name] -fully qualified domain-name

mpdc_command_action_config_name_host 

name host [host-name]

mpdc_command_action_config_retries 

retries [count] -authentication retries, default is 2

mpdc_command_action_config_server 

server -enter server configuration mode

mpdc_command_action_config_timeout 

timeout [seconds] -session default 120

mpdc_command_action_enable_clear_screen 

clear the screen

mpdc_command_action_enable_config 

config -enter configuration mode

mpdc_command_action_enable_exit 

exit -exits to user mode

mpdc_command_action_enable_help 

help for enable mode

mpdc_command_action_enable_quit 

quit -closes the application

mpdc_command_action_enable_show_config 

show config -show configuration

mpdc_command_action_enable_show_log 

show user log -show the user activity log

mpdc_command_action_user_enable 

enable -triggers authentication challenge

mpdc_command_action_user_help 

help -lists the help for user commands

mpdc_command_action_user_quit 

quit -closes the application

mpdc_command_action_certificate_exit 

exit -exits to config mode

mpdc_command_action_certificate_export 

export [path] -exports the local certificate to a file

mpdc_command_action_certificate_generate 

generate [period] -generate the public certificate

mpdc_command_action_certificate_help 

help -command help for certificate mode

mpdc_command_action_certificate_import 

import [path] -imports a certificate from a file

mpdc_command_action_certificate_print 

print -print a certificate

mpdc_command_action_server_backup 

backup -save a backup of the agent state

mpdc_command_action_server_connect 

connect [ip address] -connects to an application server or client

mpdc_command_action_server_exit 

exit -exits to config mode

mpdc_command_action_server_help 

help -command help for server mode

mpdc_command_action_server_list 

list -display the topological database

mpdc_command_action_server_register 

register [address] -register agent with the DLA

mpdc_command_action_server_resign 

resign [address] -resign from the DLA

mpdc_command_action_server_restore 

restore -restore the device state from backup

mpdc_command_action_server_service 

service -[start | stop | pause | resume] the server service

mpdc_command_action_server_query 

query [canonical-name] -Request node information for a device from the DLA

mpdc_command_action_client_connect_help 

help -command help for connect mode

mpdc_command_action_client_connect_quit 

quit -quits the remote server connection

mpdc_command_action_dla_certificate_revoke 

revoke [certificate path] -revoke the local device certificate

mpdc_command_action_dla_server_announce 

announce [certificate-path, ip-address] -announce an agent to servers in the network

mpdc_command_action_dla_server_converge 

converge -announce a topology update to the network

mpdc_command_action_dla_server_revoke 

revoke [certificate path] -revoke an agent's credentials by announcing it to the network

mpdc_command_action_dla_server_sproxy 

sproxy [certificate path] -send a remote certificate signing request to the RDS server

mpdc_command_action_certificate_sign 

sign [certificate path] -sign a child certificate

mpdc_command_action_config_clear 

clear the configuration

mpdc_command_action_config_log 

print the configuration log

mpdc_command_action_config_name 

get the configuration name

mpdc_command_action_help_enable_all 

enable all mode help

mpdc_command_action_help_enable_show 

enable show mode help

mpdc_command_action_help_enable_user 

enable user mode help

mpdc_command_action_command_unrecognized 

the command was unrecognized

◆ mpdc_console_commands

The common console functions.

Enumerator
mpdc_commands_none 

No command is recognized

mpdc_commands_certificate_create 

Create a new root certificate

mpdc_commands_certificate_change 

Broadcast a root certificate change

mpdc_commands_certificate_sign 

Sign a device certificate

mpdc_commands_certificate_revoke 

Broadcast a certificate revocation

mpdc_commands_certificate_format 

Convert a certificate to a readable string

mpdc_commands_device_add 

Add a device to the MPDC network

mpdc_commands_network_converge 

Broadcast a network reconvergence event

mpdc_commands_dla_election 

Broadcast a DLA election

◆ mpdc_console_modes

The RDS console modes.

Enumerator
mpdc_console_mode_name 

The name prompt

mpdc_console_mode_user 

The user mode prompt

mpdc_console_mode_enable 

The enable mode prompt

mpdc_console_mode_config 

The config mode prompt

mpdc_console_mode_certificate 

The certificate mode prompt

mpdc_console_mode_server 

The server mode prompt

mpdc_console_mode_login_message 

The login message

mpdc_console_mode_login_password 

The login password message

mpdc_console_mode_login_user 

The login user name message

mpdc_console_mode_login_hostname 

The login host name message

mpdc_console_mode_login_address 

The login address message

mpdc_console_mode_login_domain 

The login domain name message

mpdc_console_mode_login_rootpath 

The login root path message

mpdc_console_mode_client_connected 

The client is connected to a remore server