Table of contents
General
Classes
Functions, Macros
Variables
Macros
- _THREAD_SAFE We want to be safe in the threaded environment
- ACFLD_ACID Certificate unique ID
- ACFLD_EXPIRATION Expiration date of certificate
- ACFLD_MIX_CERTIFICATE Mix certificate included in access certificate
- ACFLD_NOT_VALID_AFTER Valid till
- ACFLD_NOT_VALID_BEFORE Valid from
- ACFLD_PUB_KEY Certificate Public key
- ACFLD_TCB_PUB_KEY Public key of trusted computing base
- ACFLD_TYPE Certificate type
- ACMGR_TABLE_BANK Path where Bank AC is stored
- ACTYPE_ACS Certificate type Acs
- ACTYPE_BANK Certificate type Bank
- ACTYPE_ESO Certificate type Eso
- ACTYPE_MIX Certificate type Mix
- ACTYPE_OTHER General certificate type
- ACTYPE_THIS_SIX Special certificate type of this Six
- ASYMETRICALLY_ENCODED_SYMETRIC_KEY_LEN Length of symetric key encrypted using asymetric cipher
- BC_ANSW_PAY
- BE_CHALL Challlenge from Bank to Eso
- BE_REPLY_TO_RESP Bank tells Eso if he guessed it right
- BITS_IN_BYTE do not use magic numbers, please
- CB_PAY Client asks Bank to transfer money to Eso's account
- CE_DATA_TO_STOR Client sending data to store.
- CE_DATA_TO_STOR When sending the whole data for storage
- CE_PAY_DONE
- CE_REQ_FOR_FILE Client's request to download a file.
- CE_REQ_FOR_FIND Client's search by keywords.
- CE_REQ_FOR_STOR Client's request for storage of a file.
- CE_REQ_FOR_STOR Request if it is possible to store a file
- CFG__ADDRESS Address suffix
- CFG__PORT Port suffix for lookups in config.
- CFG_AC_VALIDATION default AC validation is 14 days
- CFG_ADD_HOPS With how many hops to protect itself by default
- CFG_ASYMETRIC_KEY_PAIR Both asymetric keys - public and private
- CFG_CERTIFICATE Filename in which to store the current service certificate
- CFG_CERTIFICATES_DIRECTORY Where are the certificates stored
- CFG_DEBUG_ADD_HOPS_TO_SEND_DATA For debugging purposes
- CFG_DEBUG_LOOPS For debugging purposes
- CFG_DEBUG_ONION_LENGTH For debugging purposes
- CFG_DEBUG_RANDOM_LONG_SEED So that we can reconstruct some situations when debugging
- CFG_DEFAULT_ONION_LENGTH How long onion to generate by default
- CFG_DEFAULT_REDUNDANCY On how many Eso's to store the file by default
- CFG_ESO_PATH Home directory for Eso server
- CFG_FINDER_SEARCH_TIME_FOR_1_HOP Constants from cfg file
- CFG_FROM_ From prefix for lookups in configuration file
- CFG_FROM_MIX_PORT Port where we listen to Mix
- CFG_FROM_SIX_PORT Port where we listen to Six
- CFG_HOPS_IN_AC hops in AC
- CFG_INCOMING_PORT Where to listen for incoming messages
- CFG_INITIALIZE Initialization flag
- CFG_LOGFILE In what file do we write debug messages, warnings and errors?
- CFG_MAX_SEARCH_DEPTH Maximum search depth allowed by this Eso.
- CFG_MAX_SEARCH_WIDTH Maximum search width allowed by this Eso.
- CFG_MIX_ADDRESS Address of mix (IP or hostname)
- CFG_MIX_CERTIFICATE Certificate of Mix
- CFG_MIX_CERTIFICATES_POOL_SIZE Number of Mix certificates to keep
- CFG_MIX_PORT Port of Mix
- CFG_MIX_PRIVATE_KEY Private key of Mix
- CFG_MIX_SIX_PROTOCOL_VERSION Protocol version used to communicate between Mix and Six
- CFG_NAME Name of this service - used to identify Six
- CFG_NUMBER_OF_ESOS_TO_QUERY How many Eso's to ask if they have the file
- CFG_OUTGOING_PORT Where to send outgoing messages
- CFG_SEND_DATA_HOPS hops in sent data
- CFG_SIX_ Six prefix for lookups in configuration file
- CFG_SIX_PATH label for SixPath
- CFG_START_INTERVAL_LENGTH For padding sending - is padding algorithm dependet
- CFG_START_LOAD The start rate at which messages are sent
- Char character
- CLIENT_CONFIG_FILE default config file, if not set by '-f' option
- CMD_ANSWER_FILE Answer to request for file
- CMD_ANSWER_HEADER Headers arrived
- CMD_CERTIFICATES_RECEIVED Certificates arrived
- CMD_DATA_RECEIVED Data arrived
- CMD_GENERATE_ONION Request for onion
- CMD_GET_CERTIFICATES Request for certificates
- CMD_ONION_GENERATED Onion arrived
- CMD_PUBLISH_CERTIFICATES Request for publishing certificates to Acs
- CMD_REQ_FOR_FILE Give me that file
- CMD_REQ_FOR_HEADERS Request for information about file
- CMD_SEND_DATA Command for mix to send data
- CMD_SYNCHRONIZER_REQUEST Request for synchronization.
- CMD_SYNCHRONIZER_RESPONSE Response to request for synchronization.
- CMD_TEST Test command
- DELETE Safe delete
- DIGITS_IN_NUMBER Maximum length of count of certificates in GMessage
- Double Real number
- EB_RESP_TO_CHALL Eso responds to Bank's challenge
- EC_REPLY_ALLOC Eso's reply to CE_REQ_FOR_STOR.
- EC_REPLY_ALLOC If allocation was successful
- EC_REPLY_FILE Eso sending a file.
- EC_REPLY_HEADER Eso's reply to CE_REQ_FOR_FIND.
- EC_REPLY_STOR Eso's reply to CE_DATA_TO_STOR .
- EC_REPLY_STOR If storage was successful
- EM_SEND_DATA commands in MIX-SIX communication
- ESO_PATH_ACMANAGER Path for data of ACManager
- ESO_PATH_ALLOCATOR Path for data of Allocator
- ESOOTHERS_PROTOCOL_VERSION_BETA Version of protocol
- FINDER_FWD_TABLE_NAME Name of forwarding table
- FINDER_REPLY_TABLE_NAME Name of replying table
- FULL_REST_OF_PATH_LEN
Due to security reason, onion (,,the rest of path'') should be always
the same length
- GM_ACID Access certificate ID
- GM_ADD_HOPS Number of hops to add on onion
- GM_ADDRESS Address - IP or symbolic or special name
- GM_ASYMETRIC_CIPHER_TYPE Which asymetric cipher is used - default is RSA
- GM_ASYMETRIC_CIPHER_VERSION Which asymetric cipher is used
- GM_BODY Body of message
- GM_CERTIFICATE Certificate of a Six or Mix
- GM_CERTIFICATE_1 1st certificate of a Six or Mix
- GM_CERTIFICATE_TYPE Type of certificate - mix, acs, eso ...
- GM_CERTIFICATES Certificates of a Sixes or Mixes
- GM_CHUNK A piece of data
- GM_CHUNK_ID Unique ID for message chunk that identifies its position in message
- GM_COMMAND Specifies the action that ougth to be taken
- GM_COUNT Number of items
- GM_DATA Message data
- GM_DATA_SIZE Size of message data
- GM_DEBUG For debugging purposes - should be 0 in real world
- GM_DESTINATION Where to send this message?
- GM_ENCRYPTED_CONTENT Encrypted data
- GM_ENCRYPTED_KEY Encrypted key
- GM_ENCRYPTED_SIGNATURE Encrypted result of a hash function over data.
- GM_EXPIRATION Date after which the GMessage is not vlid anymore
- GM_FFID Finder file identificator - used as result of file searches and as a download identificator
- GM_FFID File find ID.
- GM_FID File identificator - used to manage file in Eso
- GM_FILE Data of file to store.
- GM_FILE_SIZE Size of file in bytes
- GM_FINAL_STOP If we see this in a message then we can be sure that it is the last mix and we should process it
- GM_HEADER Header info
- GM_HOP_COUNT Number of hops an onion should include
- GM_IN_REPLY_TO_TID ID of a message this is a reply to
- GM_INITIALIZATION_VECTOR Initialization vector used in CBC mode of DES
- GM_IV Initialization vector for CBC mode
- GM_KEYWORD A word describing the file
- GM_KEYWORDS GMessage of keywords
- GM_MAX_SIZE Maximum accepted size
- GM_MESSAGE_ID Unique identification of message.
- GM_MESSAGE_LENGTH Total length of message (used by Linker)
- GM_MIN_SIZE Minimum accepted size
- GM_MIX Mix.
- GM_MIX_CERTIFICATE Mix certificate.
- GM_MIX_CERTIFICATE_1 First Mix certificate.
- GM_MIX_CERTIFICATE_2 Second Mix certificate.
- GM_MIX_CERTIFICATE_COUNT Number of Mix certificates in GMessage.
- GM_MIX_CERTIFICATE_TUPLE_1 First pair of Mix certificates.
- GM_MIX_CERTIFICATES A GMessage of Mix certificates.
- GM_NAME Name.
- GM_NOT_VALID_AFTER Last date of validity.
- GM_NOT_VALID_BEFORE First day of validity.
- GM_OAUTH Lable for random string used to proove wheter a money requesting Eso is really storing a file
- GM_ONION A structure that represents encrypted routing information that is used in onion routing
- GM_ORIGIN Where it came from?
- GM_PARAMETERS GMessage containing additional parameters.
- GM_PAY_PLAN schedule that says when and how much should be paid
- GM_PORT u_short specifying the number of port to which to connect
- GM_PRIVATE_KEY Private part of asymetric key
- GM_PRIVATE_KEY_INFO includes private key and its version
- GM_PROTOCOL_VERSION Version of protocol used
- GM_PUBLIC_KEY Public part of asymetric key
- GM_PUBLIC_KEY_INFO Includes public key and its version
- GM_RANDOM Random data
- GM_RECIPIENT Address and port of recipient machine
- GM_RECIPIENT_1 1st recipient that should get this message
- GM_RECIPIENT_2 2nd recipient that should get this message
- GM_REPLY_TO_AC Access certificate which to reply to
- GM_REPLY_TO_TID Message ID that should be included in reply as GM_IN_REPLY_TO_TID
- GM_REQUEST_ID ID of the request that should be returned so that we know what question is the answer for
- GM_REST_OF_PATH Encrypted part of onion that hides all the remaining hops
- GM_RESULT What happened?
- GM_SEARCH_DEPTH Depth of the search to perform
- GM_SEARCH_WIDTH Width of the search to perform
- GM_STATE gMessage fields' names
- GM_STORAGE_TIME Relative time for which the file should be stored
- GM_SYMETRIC_CIPHER_TYPE Type of symetric cipher - usually DES
- GM_SYMETRIC_DATA_KEY_INFO GMessage containing symetric data key and its version
- GM_SYMETRIC_DATA_KEY_INFOS GMessage containing symetric data keys and their versions
- GM_SYMETRIC_KEY Key for a symetric cipher (DES)
- GM_SYMETRIC_KEY_COUNT Number of symetric keys
- GM_SYMETRIC_KEY_INFO GMessage containing symetric key and its version
- GM_SYMETRIC_PATH_KEY_INFO GMessage containing symetric path key and its version
- GM_TCB_PUBLIC_KEY Public key of trusted 'computing base'
- GM_TID Transaction ID.
- GM_TO_AC Access certificate of an Acs to which to send data.
- GM_TOTAL_CHUNKS Linker and Chopper info about number of chunks in message
- GM_TRANSPORT_KEY Key used to encrypt for transport security.
- GM_VERSION Version
- GM_X_DESTINATION Helper header for directing message inside Mix.
- HALF_REST_OF_PATH_LEN
Because of fixed size of the ,,rest of path length'', we have to limit
the onion to (aproximately) half of FULL_REST_OF_PATH_LEN
- Int Number
- LBL_ACS Recipient is Six named acs
- LBL_CLIENT Recipient is Six named client
- LBL_ESO Recipient is Six named eso
- LBL_ESO_OTHERS_PROTOCOL_VERSION_BETA Esos' protocol
- LBL_MIX Mix
- LBL_MIX_LOCAL This Mix
- LBL_MIX_REMOTE Remote Mix
- LBL_MIXSIX_PROTOCOL_VERSION_BETA Protocol version used to communicate between Mix and Six
- LBL_NO_DEBUG_NOTE Helper label
- LBL_YES Positive reply - yes
- Long Long number
- MAX_HOST_NAME_STRING_LEN Maximum length of hostname
- MAX_RECEIVER_BUF_SIZE Receiver buffer size - does not limit the total size of message
- MIX_MIX_PROTOCOL_VERSION this will be the first field in the message as it goes through the Net
- NO Negative answer
- NO_PARAM Numeric equivalent to NULL
- NULL Invalid or uninitialized pointer
- RECEIVER
Name of running object (thread)
- RECEIVER_QUEUE length of listen()'s queue
- RECEIVER_STACK_SIZE thread stack is not very large by default, so let's adjust that.
- RECIPIENT_COUNT how many different recipients are there in one chunk?
- RSA_BLOCK_LEN Count RSA block length from RSA_DEFAULT_MODULUS_BIT_LEN
- RSA_DEFAULT_MODULUS_BIT_LEN Default modulus len for whole Eternity Service for now.
- RSAREF_RESERVED_BYTES
According to PKCS1 standard, RSA block needs these bytes to be
unused by user
- SYM_KEY_LEN We assume DES symetric encryption only for now, for simplicity.
- THREAD_STACK_SIZE thread stack is not very large by default, so let's adjust that
- TO_ALLOC Allocation timed out.
- TO_ALLOC_REL_TIMEOUT Time out period specification
- TO_CHECK_AC_COUNT Time to check count of ACs of certian type.
- TO_CURR_PAY ???.
- TO_DEL_FINDER_TBL Finder's forwarding tables obsolete.
- TO_PAYMENT Time to ask a bank for money.
- TO_RESPONSE_TO_SYNCHRONIZE Response to synchronization messages timed out.
- TO_TIME_TO_SYNCHRONIZE It is time to start synchronization.
- Void Empty type
- YES Positive answer
Enums, Unions, Structs
hierarchy of classes
generated by doc++