Vidalia
0.2.21
|
#include "TorSettings.h"
#include "Vidalia.h"
#include "crypto.h"
#include "file.h"
#include "stringutil.h"
#include <QDir>
#include <QProcess>
Go to the source code of this file.
Macros | |
#define | SETTING_TOR_EXECUTABLE "TorExecutable" |
#define | SETTING_TORRC "Torrc" |
#define | SETTING_CONTROL_ADDR "ControlAddr" |
#define | SETTING_CONTROL_PORT "ControlPort" |
#define | SETTING_SOCKET_PATH "ControlSocket" |
#define | SETTING_CONTROL_METHOD "ControlMethod" |
#define | SETTING_AUTH_TOKEN "AuthToken" |
#define | SETTING_TOR_USER "User" |
#define | SETTING_TOR_GROUP "Group" |
#define | SETTING_DATA_DIRECTORY "DataDirectory" |
#define | SETTING_AUTH_METHOD "AuthenticationMethod" |
#define | SETTING_CONTROL_PASSWORD "ControlPassword" |
#define | SETTING_USE_RANDOM_PASSWORD "UseRandomPassword" |
#define | SETTING_WARN_PLAINTEXT_PORTS "WarnPlaintextPorts" |
#define | SETTING_REJECT_PLAINTEXT_PORTS "RejectPlaintextPorts" |
#define | SETTING_BOOTSTRAP "Bootstrap" |
#define | SETTING_BOOTSTRAP_FROM "BootstrapFrom" |
#define | SETTING_AUTOCONTROL "AutoControl" |
#define | DEFAULT_AUTH_METHOD PasswordAuth |
#define | DEFAULT_CONTROL_METHOD "ControlPort" |
#define | DEFAULT_SOCKET_PATH "" |
#define | TOR_ARG_CONTROL_PORT "ControlPort" |
#define | TOR_ARG_TORRC "-f" |
#define | TOR_ARG_DATA_DIRECTORY "DataDirectory" |
#define | TOR_ARG_HASHED_PASSWORD "HashedControlPassword" |
#define | TOR_ARG_COOKIE_AUTH "CookieAuthentication" |
#define | TOR_ARG_SOCKSPORT "SocksPort" |
#define | PASSWORD_LEN 16 |
#define DEFAULT_AUTH_METHOD PasswordAuth |
Default to using hashed password authentication
Definition at line 50 of file TorSettings.cpp.
Referenced by TorSettings::getAuthenticationMethod(), and TorSettings::TorSettings().
#define DEFAULT_CONTROL_METHOD "ControlPort" |
Default control method
Definition at line 52 of file TorSettings.cpp.
Referenced by TorSettings::TorSettings().
#define DEFAULT_SOCKET_PATH "" |
Default socket path
Definition at line 54 of file TorSettings.cpp.
Referenced by TorSettings::TorSettings().
#define PASSWORD_LEN 16 |
Generate random control passwords of 16 characters
Definition at line 65 of file TorSettings.cpp.
Referenced by TorSettings::randomPassword().
#define SETTING_AUTH_METHOD "AuthenticationMethod" |
Definition at line 40 of file TorSettings.cpp.
Referenced by TorSettings::apply(), TorSettings::getAuthenticationMethod(), TorSettings::setAuthenticationMethod(), and TorSettings::TorSettings().
#define SETTING_AUTH_TOKEN "AuthToken" |
Definition at line 36 of file TorSettings.cpp.
#define SETTING_AUTOCONTROL "AutoControl" |
Definition at line 47 of file TorSettings.cpp.
Referenced by TorSettings::apply(), TorSettings::autoControlPort(), TorSettings::setAutoControlPort(), and TorSettings::TorSettings().
#define SETTING_BOOTSTRAP "Bootstrap" |
Definition at line 45 of file TorSettings.cpp.
Referenced by TorSettings::bootstrap(), TorSettings::setBootstrap(), and TorSettings::TorSettings().
#define SETTING_BOOTSTRAP_FROM "BootstrapFrom" |
Definition at line 46 of file TorSettings.cpp.
Referenced by TorSettings::bootstrapFrom(), TorSettings::setBootstrapFrom(), and TorSettings::TorSettings().
#define SETTING_CONTROL_ADDR "ControlAddr" |
Definition at line 32 of file TorSettings.cpp.
Referenced by TorSettings::getControlAddress(), TorSettings::setControlAddress(), and TorSettings::TorSettings().
#define SETTING_CONTROL_METHOD "ControlMethod" |
Definition at line 35 of file TorSettings.cpp.
Referenced by TorSettings::getControlMethod(), TorSettings::setControlMethod(), and TorSettings::TorSettings().
#define SETTING_CONTROL_PASSWORD "ControlPassword" |
Definition at line 41 of file TorSettings.cpp.
Referenced by TorSettings::getControlPassword(), TorSettings::setControlPassword(), and TorSettings::TorSettings().
#define SETTING_CONTROL_PORT "ControlPort" |
Definition at line 33 of file TorSettings.cpp.
Referenced by TorSettings::apply(), TorSettings::getControlPort(), TorSettings::setControlPort(), and TorSettings::TorSettings().
#define SETTING_DATA_DIRECTORY "DataDirectory" |
Definition at line 39 of file TorSettings.cpp.
Referenced by TorSettings::getDataDirectory(), TorSettings::setDataDirectory(), and TorSettings::TorSettings().
#define SETTING_REJECT_PLAINTEXT_PORTS "RejectPlaintextPorts" |
Definition at line 44 of file TorSettings.cpp.
Referenced by TorSettings::apply(), TorSettings::getRejectPlaintextPorts(), TorSettings::setRejectPlaintextPorts(), and TorSettings::TorSettings().
#define SETTING_SOCKET_PATH "ControlSocket" |
Definition at line 34 of file TorSettings.cpp.
Referenced by TorSettings::getSocketPath(), TorSettings::setSocketPath(), and TorSettings::TorSettings().
#define SETTING_TOR_EXECUTABLE "TorExecutable" |
Definition at line 30 of file TorSettings.cpp.
Referenced by TorSettings::getExecutable(), TorSettings::setExecutable(), and TorSettings::TorSettings().
#define SETTING_TOR_GROUP "Group" |
Definition at line 38 of file TorSettings.cpp.
#define SETTING_TOR_USER "User" |
Definition at line 37 of file TorSettings.cpp.
#define SETTING_TORRC "Torrc" |
Definition at line 31 of file TorSettings.cpp.
Referenced by TorSettings::getTorrc(), TorSettings::setTorrc(), and TorSettings::TorSettings().
#define SETTING_USE_RANDOM_PASSWORD "UseRandomPassword" |
Definition at line 42 of file TorSettings.cpp.
Referenced by TorSettings::setUseRandomPassword(), TorSettings::TorSettings(), and TorSettings::useRandomPassword().
#define SETTING_WARN_PLAINTEXT_PORTS "WarnPlaintextPorts" |
Definition at line 43 of file TorSettings.cpp.
Referenced by TorSettings::apply(), TorSettings::getWarnPlaintextPorts(), TorSettings::setWarnPlaintextPorts(), and TorSettings::TorSettings().
#define TOR_ARG_CONTROL_PORT "ControlPort" |
Definition at line 57 of file TorSettings.cpp.
#define TOR_ARG_COOKIE_AUTH "CookieAuthentication" |
Definition at line 61 of file TorSettings.cpp.
Referenced by TorSettings::apply(), and TorSettings::getAuthenticationMethod().
#define TOR_ARG_DATA_DIRECTORY "DataDirectory" |
Definition at line 59 of file TorSettings.cpp.
#define TOR_ARG_HASHED_PASSWORD "HashedControlPassword" |
Definition at line 60 of file TorSettings.cpp.
Referenced by TorSettings::apply(), and TorSettings::getAuthenticationMethod().
#define TOR_ARG_SOCKSPORT "SocksPort" |
Definition at line 62 of file TorSettings.cpp.
Referenced by TorSettings::apply().
#define TOR_ARG_TORRC "-f" |
Definition at line 58 of file TorSettings.cpp.