#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.
Defines | |
#define | SETTING_TOR_EXECUTABLE "TorExecutable" |
#define | SETTING_TORRC "Torrc" |
#define | SETTING_CONTROL_ADDR "ControlAddr" |
#define | SETTING_CONTROL_PORT "ControlPort" |
#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 | DEFAULT_AUTH_METHOD PasswordAuth |
#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 | PASSWORD_LEN 16 |
#define DEFAULT_AUTH_METHOD PasswordAuth |
Default to using hashed password authentication
Definition at line 46 of file TorSettings.cpp.
Referenced by TorSettings::getAuthenticationMethod(), and TorSettings::TorSettings().
#define PASSWORD_LEN 16 |
Generate random control passwords of 16 characters
Definition at line 56 of file TorSettings.cpp.
Referenced by TorSettings::randomPassword().
#define SETTING_AUTH_METHOD "AuthenticationMethod" |
Definition at line 39 of file TorSettings.cpp.
Referenced by TorSettings::apply(), TorSettings::getAuthenticationMethod(), TorSettings::setAuthenticationMethod(), and TorSettings::TorSettings().
#define SETTING_AUTH_TOKEN "AuthToken" |
Definition at line 35 of file TorSettings.cpp.
#define SETTING_CONTROL_ADDR "ControlAddr" |
Definition at line 33 of file TorSettings.cpp.
Referenced by TorSettings::getControlAddress(), TorSettings::setControlAddress(), and TorSettings::TorSettings().
#define SETTING_CONTROL_PASSWORD "ControlPassword" |
Definition at line 40 of file TorSettings.cpp.
Referenced by TorSettings::getControlPassword(), TorSettings::setControlPassword(), and TorSettings::TorSettings().
#define SETTING_CONTROL_PORT "ControlPort" |
Definition at line 34 of file TorSettings.cpp.
Referenced by TorSettings::apply(), TorSettings::getControlPort(), TorSettings::setControlPort(), and TorSettings::TorSettings().
#define SETTING_DATA_DIRECTORY "DataDirectory" |
Definition at line 38 of file TorSettings.cpp.
Referenced by TorSettings::getDataDirectory(), TorSettings::setDataDirectory(), and TorSettings::TorSettings().
#define SETTING_REJECT_PLAINTEXT_PORTS "RejectPlaintextPorts" |
Definition at line 43 of file TorSettings.cpp.
Referenced by TorSettings::apply(), TorSettings::getRejectPlaintextPorts(), TorSettings::setRejectPlaintextPorts(), and TorSettings::TorSettings().
#define SETTING_TOR_EXECUTABLE "TorExecutable" |
Definition at line 31 of file TorSettings.cpp.
Referenced by TorSettings::getExecutable(), TorSettings::setExecutable(), and TorSettings::TorSettings().
#define SETTING_TOR_GROUP "Group" |
Definition at line 37 of file TorSettings.cpp.
#define SETTING_TOR_USER "User" |
Definition at line 36 of file TorSettings.cpp.
#define SETTING_TORRC "Torrc" |
Definition at line 32 of file TorSettings.cpp.
Referenced by TorSettings::getTorrc(), TorSettings::setTorrc(), and TorSettings::TorSettings().
#define SETTING_USE_RANDOM_PASSWORD "UseRandomPassword" |
Definition at line 41 of file TorSettings.cpp.
Referenced by TorSettings::setUseRandomPassword(), TorSettings::TorSettings(), and TorSettings::useRandomPassword().
#define SETTING_WARN_PLAINTEXT_PORTS "WarnPlaintextPorts" |
Definition at line 42 of file TorSettings.cpp.
Referenced by TorSettings::apply(), TorSettings::getWarnPlaintextPorts(), TorSettings::setWarnPlaintextPorts(), and TorSettings::TorSettings().
#define TOR_ARG_CONTROL_PORT "ControlPort" |
Definition at line 49 of file TorSettings.cpp.
#define TOR_ARG_COOKIE_AUTH "CookieAuthentication" |
Definition at line 53 of file TorSettings.cpp.
Referenced by TorSettings::apply(), and TorSettings::getAuthenticationMethod().
#define TOR_ARG_DATA_DIRECTORY "DataDirectory" |
Definition at line 51 of file TorSettings.cpp.
#define TOR_ARG_HASHED_PASSWORD "HashedControlPassword" |
Definition at line 52 of file TorSettings.cpp.
Referenced by TorSettings::apply(), and TorSettings::getAuthenticationMethod().
#define TOR_ARG_TORRC "-f" |
Definition at line 50 of file TorSettings.cpp.