Mixes for Privacy and Anonymity in the Internet
|
Typedefs | |
typedef int | socklen_t |
typedef struct sockaddr | SOCKADDR |
typedef SOCKADDR * | LPSOCKADDR |
typedef struct hostent | HOSTENT |
#define ACCOUNT_NUMBER_SIZE 12 |
#define AF_LOCAL AF_UNIX |
#define AI_LOGIN_SO_TIMEOUT (UINT32) 10000 |
#define ASSERT | ( | cond, | |
msg | |||
) |
#define BALANCE_REQUEST_TIMEOUT 60 |
#define CHANNELS_PER_CLIENT 500 |
#define CLEANUP_THREAD_SLEEP_INTERVAL 60 |
#define CLIENTS_PER_IP 100 |
#define closesocket | ( | s | ) | close(s) |
#define DATA_RETENTION_LOG_INFO |
#define DEFAULT_INFOSERVICE "141.76.45.37" |
#define DELAY_CHANNEL_LATENCY 0 |
#define DELAY_USERS_BUCKET_GROW 10 |
#define DELAY_USERS_BUCKET_GROW_INTERVALL 100 |
#define DELAY_USERS_TRAFFIC 0 |
#define DUMMY_CHANNEL 0 |
#define epoll_close close |
#define EPOLL_HANDLE SINT32 |
#define ERR_INTERN_CONNREFUSED ECONNREFUSED |
#define ERR_INTERN_SOCKET_CLOSED EBADF |
#define ERR_INTERN_TIMEDOUT ETIMEDOUT |
#define ERR_INTERN_WOULDBLOCK EAGAIN |
#define FIRST_MIX_RECEIVE_SYM_KEY_FROM_JAP_TIME_OUT 40000 |
#define FLOW_CONTROL_SENDME_HARD_LIMIT 1600000 |
#define FLOW_CONTROL_SENDME_SOFT_LIMIT 800000 |
#define FM_PACKET_STATS_LOG_INTERVALL 1 |
#define GET_NET_ERROR (errno) |
#define GET_NET_ERROR_STR | ( | x | ) | (errno == E_TIMEDOUT ? "Connection timed out." : (errno == E_SOCKETCLOSED ? "Socket is closed." : strerror(x))) |
#define GETERROR (errno) |
#define HAVE_O_SYNC |
#define HAVE_POLL |
#define HAVE_PTHREAD_COND_INIT |
#define HAVE_PTHREAD_CV |
#define HAVE_PTHREAD_MUTEX_INIT |
#define HAVE_PTHREAD_MUTEXES |
#define HAVE_PTHREAD_SEMAPHORE |
#define HAVE_SEM_INIT |
#define HAVE_SNPRINTF |
#define HAVE_TCP_KEEPALIVE |
#define HAVE_UNIX_DOMAIN_PROTOCOL |
#define HAVE_VSNPRINTF |
#define INADDR_NONE -1 |
#define INCLUDE_MIDDLE_MIX |
#define INVALID_SOCKET -1 |
#define ioctlsocket | ( | a, | |
b, | |||
c | |||
) | ioctl(a,b,c) |
#define KEEP_ALIVE_TRAFFIC_RECV_WAIT_TIME 75000 |
#define KEEP_ALIVE_TRAFFIC_SEND_WAIT_TIME 65000 |
#define LAST_MIX_TO_PROXY_CONNECT_TIMEOUT 2000 |
#define LAST_MIX_TO_PROXY_SEND_TIMEOUT (UINT32)5000 |
#define LM_PACKET_STATS_LOG_INTERVALL 1 |
#define LOG_COUNTRIES_INTERVALL 6 |
#define max | ( | a, | |
b | |||
) | (((a) > (b) ) ? (a):(b)) |
#define MAX_ACCOUNTNUMBER 999999999999ULL |
#define MAX_DATA_PER_CHANNEL 100000 |
#define MAX_LOGIN_QUEUE 500 |
#define MAX_MIXIN_SEND_QUEUE_SIZE 10000000 |
#define MAX_NEXT_MIX_QUEUE_SIZE 10000000 |
#define MAX_PATH 4096 |
#define MAX_POLLFD 8192 |
#define MAX_READ_FROM_NEXT_MIX_QUEUE_SIZE 10000000 |
#define MAX_READ_FROM_PREV_MIX_QUEUE_SIZE 10000000 |
#define MAX_SIGNATURE_ELEMENTS 10 |
#define MAX_USER_SEND_QUEUE 100000 |
#define min | ( | a, | |
b | |||
) | (( (a) < (b) ) ? (a):(b) ) |
#define MIN_ACCOUNTNUMBER 100000000000ULL |
#define MIX_CASCADE_PROTOCOL_VERSION "0.81" |
#define MIX_CASCADE_PROTOCOL_VERSION_0_1_0 10 |
#define MIX_CASCADE_PROTOCOL_VERSION_0_1_1 11 |
#define MIX_CASCADE_PROTOCOL_VERSION_0_1_2 12 |
#define MIX_CASCADE_PROTOCOL_VERSION_0_2 2 |
#define MIX_CASCADE_PROTOCOL_VERSION_0_3 3 |
#define MIX_CASCADE_PROTOCOL_VERSION_0_4 4 |
#define MIX_CASCADE_PROTOCOL_VERSION_0_5 5 |
#define MIX_CASCADE_PROTOCOL_VERSION_0_7 7 |
#define MIX_CASCADE_PROTOCOL_VERSION_0_8 8 |
#define MIX_POOL_SIZE 10 |
#define MIX_POOL_TIMEOUT 200 |
#define MIX_TO_INFOSERVICE_TIMEOUT 30000 |
#define MIX_VERSION "00.12.08" |
#define MIX_VERSION_COMPATIBILITY PAYMENT_COMPATIBILITY " " NEW_FLOW_CONTROL_COMPATIBILITY " " NEW_CHANNEL_ENCRYPTION_COMPATIBILITY " " WITH_INTEGRITY_CHECK_COMPATIBILITY |
#define MIX_VERSION_INFO "Mix-Version: " MIX_VERSION PAYMENT_VERSION_INFO DATA_RETENTION_LOG_INFO NEW_FLOW_CONTROL_INFO NEW_CHANNEL_ENCRYPTION_INFO WITH_INTEGRITY_CHECK_INFO WITH_DELAY_CHANNELS_INFO WITH_DELAY_USERS_INFO "\nUsing: " OPENSSL_VERSION_TEXT XML_LIB_VERSION "\n" |
#define MIX_VERSION_TESTING true |
#define MIX_VERSION_TESTING_TEXT "This is a testing/development version. Please do not expect it to work in a productive environment, and don't be surprised if you get unpredictive results or segmentation faults. If you don't like experiments, go and get the stable code.\n" |
#define MSG_DONTWAIT 0 |
#define MSG_NOSIGNAL 0 |
#define MY_XERCES_VERSION "unknown" |
#define myfilewrite write |
#define NEW_CHANNEL_ENCRYPTION |
#define NEW_CHANNEL_ENCRYPTION_COMPATIBILITY "NewChannelEncryption" |
#define NEW_CHANNEL_ENCRYPTION_INFO " (with enhanced channel encryption)" |
#define NEW_FLOW_CONTROL |
#define NEW_FLOW_CONTROL_COMPATIBILITY "NewFlowControl" |
#define NEW_FLOW_CONTROL_INFO " (with new flow control)" |
#define NO_INFOSERVICE_TRHEADS |
#define NUM_LOGIN_WORKER_TRHEADS 10 |
#define O_BINARY 0 |
#define O_LARGEFILE 0 |
#define PAYMENT_ACCOUNT_CERT_TIMEOUT 180 |
#define PAYMENT_COMPATIBILITY "Payment" |
#define PAYMENT_VERSION "2.0" |
#define PAYMENT_VERSION_INFO " (payment)" |
#define REPLAY_TIMESTAMP_PROPAGATION_INTERVALL 1 |
#define RESETERROR errno=0; |
#define S_IREAD S_IRUSR |
#define S_IWRITE S_IWUSR |
#define SD_BOTH 2 |
#define SD_RECEIVE 0 |
#define SD_SEND 1 |
#define SET_NET_ERROR | ( | x | ) | (errno = x) |
#define SOCKET int |
#define SOCKET_ERROR -1 |
#define SSL_HACK |
#define STR | ( | x | ) | STR_HELPER(x) |
#define STR_HELPER | ( | x | ) | #x |
#define THREAD_RETURN void* |
#define THREAD_RETURN_ERROR return(NULL) |
#define THREAD_RETURN_SUCCESS return (NULL) |
#define USER_SEND_BUFFER_RESUME 10000 |
#define WITH_DELAY_CHANNELS_INFO |
#define WITH_DELAY_USERS_INFO " (with delay users)" |
#define WITH_INTEGRITY_CHECK_COMPATIBILITY |
#define WITH_INTEGRITY_CHECK_INFO |
#define WITHOUT_TRIO |
#define XML_LIB_VERSION "\nUsing Xerces-C: " MY_XERCES_VERSION |
typedef struct hostent HOSTENT |
typedef SOCKADDR* LPSOCKADDR |
typedef struct sockaddr SOCKADDR |
typedef int socklen_t |