Mixe for Privacy and Anonymity in the Internet
|
#include "CASocketAddrINet.hpp"
#include "CASignature.hpp"
#include "CASocket.hpp"
#include "CAMultiSignature.hpp"
#include "CAIPAddrWithNetmask.hpp"
#include "CACertificate.hpp"
#include "CAThread.hpp"
#include "CAMix.hpp"
#include "CAListenerInterface.hpp"
#include "CATargetInterface.hpp"
#include "CAXMLBI.hpp"
#include "CAXMLPriceCert.hpp"
#include "tre/tre.h"
#include "CASymChannelCipher.hpp"
Go to the source code of this file.
Classes | |
class | CACmdLnOptions |
Typedefs | |
typedef SINT32(CACmdLnOptions::* | optionSetter_pt) (DOMElement *) |
Functions | |
THREAD_RETURN | threadReConfigure (void *param) |
Thread that does the actual reconfigure work. More... | |
SINT32 | setRegExpressions (DOMElement *rootElement, const char *const childElementName, tre_regex_t **regExContainer, UINT32 *regExNr) |
#define ACCOUNTING_OPTIONS_NR 7 |
Definition at line 993 of file CACmdLnOptions.hpp.
#define ASSERT_ACCOUNTING_OPTIONS_PARENT | ( | Parentname, | |
Childname | |||
) | ASSERT_PARENT_NODE_NAME(Parentname, OPTIONS_NODE_ACCOUNTING, Childname) |
Definition at line 223 of file CACmdLnOptions.hpp.
#define ASSERT_CERTIFICATES_OPTIONS_PARENT | ( | Parentname, | |
Childname | |||
) | ASSERT_PARENT_NODE_NAME(Parentname, OPTIONS_NODE_CERTIFICATE_LIST, Childname) |
Definition at line 220 of file CACmdLnOptions.hpp.
#define ASSERT_CRIME_DETECTION_OPTIONS_PARENT | ( | Parentname, | |
Childname | |||
) | ASSERT_PARENT_NODE_NAME(Parentname, OPTIONS_NODE_CRIME_DETECTION, Childname) |
Definition at line 229 of file CACmdLnOptions.hpp.
#define ASSERT_GENERAL_OPTIONS_PARENT | ( | Parentname, | |
Childname | |||
) | ASSERT_PARENT_NODE_NAME(Parentname, OPTIONS_NODE_GENERAL, Childname) |
Definition at line 217 of file CACmdLnOptions.hpp.
#define ASSERT_NETWORK_OPTIONS_PARENT | ( | Parentname, | |
Childname | |||
) | ASSERT_PARENT_NODE_NAME(Parentname, OPTIONS_NODE_NETWORK, Childname) |
Definition at line 226 of file CACmdLnOptions.hpp.
#define ASSERT_PARENT_NODE_NAME | ( | Parentname, | |
NameToMatch, | |||
Childname | |||
) |
Definition at line 208 of file CACmdLnOptions.hpp.
#define DEFAULT_CONFIG_FILE "default.xml" |
Definition at line 55 of file CACmdLnOptions.hpp.
#define DEFAULT_TARGET_PORT 6544 |
Definition at line 54 of file CACmdLnOptions.hpp.
#define GENERAL_OPTIONS_NR 13 |
Definition at line 958 of file CACmdLnOptions.hpp.
#define LOG_NODE_EMPTY_OR_INVALID | ( | Nodename | ) | CAMsg::printMsg(LOG_CRIT,"Node \"%s\" is empty or has invalid content!\n", (Nodename)) |
Definition at line 201 of file CACmdLnOptions.hpp.
#define LOG_NODE_NOT_FOUND | ( | Nodename | ) | CAMsg::printMsg(LOG_CRIT,"No \"%s\" node found in configuration file!\n", (Nodename)) |
Definition at line 198 of file CACmdLnOptions.hpp.
#define LOG_NODE_WRONG_PARENT | ( | Parentname, | |
Childname | |||
) | CAMsg::printMsg(LOG_CRIT,"\"%s\" is the wrong parent for Node \"%s\"\n", (Parentname), (Childname)) |
Definition at line 204 of file CACmdLnOptions.hpp.
#define LOGGING_MAXFILES_DEFAULT 10 |
Definition at line 83 of file CACmdLnOptions.hpp.
#define MAIN_OPTION_SETTERS_NR 8 |
Definition at line 948 of file CACmdLnOptions.hpp.
#define MAX_CERTIFICATE_OPTIONS_NR 6 |
Definition at line 982 of file CACmdLnOptions.hpp.
#define MIN_INFOSERVICES 1 |
Definition at line 56 of file CACmdLnOptions.hpp.
#define MIXINFO_ATTRIBUTE_MIX_ID "id" |
Definition at line 196 of file CACmdLnOptions.hpp.
#define MIXINFO_NODE_MIX_NAME "Name" |
Definition at line 190 of file CACmdLnOptions.hpp.
#define MIXINFO_NODE_PARENT "Mix" |
Definition at line 189 of file CACmdLnOptions.hpp.
#define MIXINFO_NODE_PAYMENTREMINDER "PaymentReminderProbability" |
Definition at line 194 of file CACmdLnOptions.hpp.
#define MIXINFO_NODE_SOFTWARE "Software" |
Definition at line 191 of file CACmdLnOptions.hpp.
#define MIXINFO_NODE_VERSION "Version" |
Definition at line 192 of file CACmdLnOptions.hpp.
#define NETWORK_OPTIONS_NR 5 |
Definition at line 1005 of file CACmdLnOptions.hpp.
#define OPTIONS_ATTRIBUTE_LOG_PAYLOAD "logPayload" |
Definition at line 187 of file CACmdLnOptions.hpp.
#define OPTIONS_ATTRIBUTE_LOGGING_MAXFILES "MaxFiles" |
Definition at line 82 of file CACmdLnOptions.hpp.
#define OPTIONS_ATTRIBUTE_LOGGING_MAXFILESIZE "MaxFileSize" |
Definition at line 81 of file CACmdLnOptions.hpp.
#define OPTIONS_ATTRIBUTE_NAME_FOR_CASCADE "forCascade" |
Definition at line 88 of file CACmdLnOptions.hpp.
#define OPTIONS_ATTRIBUTE_TNC_DATE "date" |
Definition at line 170 of file CACmdLnOptions.hpp.
#define OPTIONS_ATTRIBUTE_TNC_DEFAULT_LANG "defaultLang" |
Definition at line 178 of file CACmdLnOptions.hpp.
#define OPTIONS_ATTRIBUTE_TNC_DEFAULT_LANG_DEFINED "default" |
Definition at line 177 of file CACmdLnOptions.hpp.
#define OPTIONS_ATTRIBUTE_TNC_ID "id" |
Definition at line 175 of file CACmdLnOptions.hpp.
#define OPTIONS_ATTRIBUTE_TNC_LOCALE "locale" |
Definition at line 173 of file CACmdLnOptions.hpp.
#define OPTIONS_ATTRIBUTE_TNC_SERIAL "serial" |
Definition at line 171 of file CACmdLnOptions.hpp.
#define OPTIONS_ATTRIBUTE_TNC_TEMPLATE_REFID "referenceId" |
Definition at line 176 of file CACmdLnOptions.hpp.
#define OPTIONS_ATTRIBUTE_TNC_TEMPLATE_TYPE "type" |
Definition at line 174 of file CACmdLnOptions.hpp.
#define OPTIONS_ATTRIBUTE_TNC_VERSION "version" |
Definition at line 172 of file CACmdLnOptions.hpp.
#define OPTIONS_DEFAULT_PREPAID_IVAL 3000000 |
Definition at line 129 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_ACCOUNTING "Accounting" |
Definition at line 113 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_AI_DB "Database" |
Definition at line 122 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_AI_DB_HOST "Host" |
Definition at line 123 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_AI_DB_NAME "DBName" |
Definition at line 125 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_AI_DB_PASSW "Password" |
Definition at line 127 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_AI_DB_PORT "Port" |
Definition at line 124 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_AI_DB_USER "Username" |
Definition at line 126 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_AI_HARD_LIMIT "HardLimit" |
Definition at line 118 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_AI_SOFT_LIMIT "SoftLimit" |
Definition at line 117 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_ALLOW_AUTO_CONF "AllowAutoConfiguration" |
Definition at line 135 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_BYTES_PER_IVAL "BytesPerIntervall" |
Definition at line 159 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_CASCADE_NAME "CascadeName" |
Definition at line 71 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_CERTIFICATE_LIST "Certificates" |
Definition at line 96 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_CREDENTIAL "AccessControlCredential" |
Definition at line 75 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_CRIME_DETECTION "CrimeDetection" |
Definition at line 180 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_CRIME_REGEXP_PAYLOAD "RegExpPayload" |
Definition at line 183 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_CRIME_REGEXP_URL "RegExpURL" |
Definition at line 182 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_CRIME_SURVEILLANCE_ACCOUNT "PayAccountNumber" |
Definition at line 186 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_CRIME_SURVEILLANCE_IP "SurveillanceIP" |
Definition at line 184 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_CRIME_SURVEILLANCE_IP_NETMASK "netmask" |
Definition at line 185 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_DAEMON "Daemon" |
Definition at line 74 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_DELAY_IVAL "Intervall" |
Definition at line 160 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_DESCRIPTION "Description" |
Definition at line 87 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_DYNAMIC_MIX "Dynamic" |
Definition at line 69 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_ENCRYPTED_LOG "EncryptedLog" |
Definition at line 85 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_FD_NR "NrOfFileDescriptors" |
Definition at line 73 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_FILE "File" |
Definition at line 154 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_GENERAL "General" |
Definition at line 64 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_HOST "Host" |
Definition at line 152 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_INFOSERVICE "InfoService" |
Definition at line 134 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_INFOSERVICE_LIST "InfoServices" |
Definition at line 133 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_IP "IP" |
Definition at line 151 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_IP "IP" |
Definition at line 151 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_KEEP_ALIVE "KeepAlive" |
Definition at line 148 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_KEEP_ALIVE_RECV_IVAL "ReceiveInterval" |
Definition at line 150 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_KEEP_ALIVE_SEND_IVAL "SendInterval" |
Definition at line 149 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_LATENCY "Latency" |
Definition at line 161 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_LISTENER_INTERFACE CAListenerInterface::XML_ELEMENT_NAME |
Definition at line 147 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_LISTENER_INTERFACE_LIST CAListenerInterface::XML_ELEMENT_CONTAINER_NAME |
Definition at line 146 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_LISTENER_INTERFACES CAListenerInterface::XML_ELEMENT_CONTAINER_NAME |
Definition at line 136 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_LOGGING "Logging" |
Definition at line 78 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_LOGGING_CONSOLE "Console" |
Definition at line 79 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_LOGGING_FILE "File" |
Definition at line 80 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_LOGGING_KEYINFO "KeyInfo" |
Definition at line 86 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_MAX_USERS "MaxUsers" |
Definition at line 76 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_MIN_CASCADE_LENGTH "MinCascadeLength" |
Definition at line 70 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_MIX_CERTIFICATE_VERIFICATION "MixCertificateVerification" |
Definition at line 105 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_MIX_ID "MixID" |
Definition at line 68 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_MIX_NAME "MixName" |
Definition at line 67 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_MIX_TYPE "MixType" |
Definition at line 66 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_NETWORK "Network" |
Definition at line 131 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_NETWORK_PROTOCOL "NetworkProtocol" |
Definition at line 138 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_NEXT_MIX "NextMix" |
Definition at line 137 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_NEXT_MIX_CERTIFICATE "NextMixCertificate" |
Definition at line 100 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_NEXT_OPERATOR_CERTIFICATE "NextOperatorCertificate" |
Definition at line 101 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_OWN_CERTIFICATE "OwnCertificate" |
Definition at line 98 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_OWN_OPERATOR_CERTIFICATE "OperatorOwnCertificate" |
Definition at line 99 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_PAYMENT_INSTANCE CAXMLBI::getXMLElementName() |
Definition at line 116 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_PAYMENT_REMINDER "PaymentReminderProbability" |
Definition at line 77 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_PORT "Port" |
Definition at line 153 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_PREPAID_IVAL "PrepaidInterval" |
Definition at line 120 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_PREPAID_IVAL_KB "PrepaidIntervalKbytes" |
Definition at line 121 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_PREV_MIX_CERTIFICATE "PrevMixCertificate" |
Definition at line 102 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_PREV_OPERATOR_CERTIFICATE "PrevOperatorCertificate" |
Definition at line 103 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_PRICE_CERTIFICATE "PriceCertificate" |
Definition at line 115 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_PROXY "Proxy" |
Definition at line 141 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_PROXY_LIST "Proxies" |
Definition at line 140 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_PROXY_TYPE "ProxyType" |
Definition at line 142 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_RESSOURCES "Ressources" |
Definition at line 156 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_SERVER_MONITORING "ServerMonitoring" |
Definition at line 143 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_SETTLE_IVAL "SettleInterval" |
Definition at line 119 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_SIGNATURE "Signature" |
Definition at line 109 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_SYSLOG "Syslog" |
Definition at line 84 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_TNCS "TermsAndConditions" |
Definition at line 166 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_TNCS_OPERATOR "Operator" |
Definition at line 169 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_TNCS_OPTS "TermsAndConditionsOptions" |
Definition at line 163 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_TNCS_TEMPLATE "Template" |
Definition at line 165 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_TNCS_TEMPLATES "Templates" |
Definition at line 164 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_TNCS_TRANSLATION "TCTranslation" |
Definition at line 167 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_TNCS_TRANSLATION_IMPORTS "TCTranslationImports" |
Definition at line 168 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_TRUSTED_ROOT_CERTIFICATES "TrustedRootCertificates" |
Definition at line 104 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_UNLIMIT_TRAFFIC "UnlimitTraffic" |
Definition at line 158 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_USER_ID "UserID" |
Definition at line 72 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_VISIBLE_ADDRESS "VisibleAddress" |
Definition at line 145 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_VISIBLE_ADDRESS_LIST "VisibleAddresses" |
Definition at line 144 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_X509_CERTIFICATE "X509Certificate" |
Definition at line 107 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_X509_PKCS12 "X509PKCS12" |
Definition at line 108 of file CACmdLnOptions.hpp.
#define OPTIONS_NODE_X509DATA "X509Data" |
Definition at line 106 of file CACmdLnOptions.hpp.
#define OPTIONS_VALUE_MIX_NAME "Mix" |
Definition at line 92 of file CACmdLnOptions.hpp.
#define OPTIONS_VALUE_NAMETYPE_DEFAULT OPTIONS_VALUE_MIX_NAME |
Definition at line 93 of file CACmdLnOptions.hpp.
#define OPTIONS_VALUE_OPERATOR_NAME "Operator" |
Definition at line 91 of file CACmdLnOptions.hpp.
#define REGEXP_BUFF_SIZE 4096 |
Definition at line 50 of file CACmdLnOptions.hpp.
#define TERMS_AND_CONDITIONS_OPTIONS_NR 2 |
Definition at line 1014 of file CACmdLnOptions.hpp.
#define WITH_SUBTREE true |
Definition at line 59 of file CACmdLnOptions.hpp.
#define WITHOUT_SUBTREE (!(WITHSUBTREE)) |
Definition at line 60 of file CACmdLnOptions.hpp.
typedef SINT32(CACmdLnOptions::* optionSetter_pt) (DOMElement *) |
Definition at line 235 of file CACmdLnOptions.hpp.
SINT32 setRegExpressions | ( | DOMElement * | rootElement, |
const char *const | childElementName, | ||
tre_regex_t ** | regExContainer, | ||
UINT32 * | regExNr | ||
) |
THREAD_RETURN threadReConfigure | ( | void * | param | ) |
Thread that does the actual reconfigure work.
Only one is running at the same time.
param | pointer to a t_CMNDLN_REREAD_PARAMS stuct containing a CACmdLnOptions object pointer and a CMix object pointer. |
Definition at line 693 of file CACmdLnOptions.cpp.