#include <QDir>
#include <QProcess>
#include <crypto.h>
#include <vidalia.h>
#include "torsettings.h"
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 | DEFAULT_AUTH_METHOD PasswordAuth |
#define | TOR_ARG_CONTROL_PORT "ControlPort" |
#define | TOR_ARG_TORRC "-f" |
#define | TOR_ARG_USER "User" |
#define | TOR_ARG_GROUP "Group" |
#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 43 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 55 of file torsettings.cpp.
Referenced by TorSettings::randomPassword().
#define SETTING_AUTH_METHOD "AuthenticationMethod" |
Definition at line 38 of file torsettings.cpp.
Referenced by TorSettings::apply(), TorSettings::getAuthenticationMethod(), TorSettings::setAuthenticationMethod(), and TorSettings::TorSettings().
#define SETTING_AUTH_TOKEN "AuthToken" |
Definition at line 34 of file torsettings.cpp.
#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_PASSWORD "ControlPassword" |
Definition at line 39 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 37 of file torsettings.cpp.
Referenced by TorSettings::getDataDirectory(), TorSettings::setDataDirectory(), 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 36 of file torsettings.cpp.
Referenced by TorSettings::getGroup(), TorSettings::setGroup(), and TorSettings::TorSettings().
#define SETTING_TOR_USER "User" |
Definition at line 35 of file torsettings.cpp.
Referenced by TorSettings::getUser(), TorSettings::setUser(), and TorSettings::TorSettings().
#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 40 of file torsettings.cpp.
Referenced by TorSettings::setUseRandomPassword(), TorSettings::TorSettings(), and TorSettings::useRandomPassword().
#define TOR_ARG_CONTROL_PORT "ControlPort" |
Definition at line 46 of file torsettings.cpp.
#define TOR_ARG_COOKIE_AUTH "CookieAuthentication" |
Definition at line 52 of file torsettings.cpp.
Referenced by TorSettings::apply(), and TorSettings::getAuthenticationMethod().
#define TOR_ARG_DATA_DIRECTORY "DataDirectory" |
Definition at line 50 of file torsettings.cpp.
#define TOR_ARG_GROUP "Group" |
Definition at line 49 of file torsettings.cpp.
#define TOR_ARG_HASHED_PASSWORD "HashedControlPassword" |
Definition at line 51 of file torsettings.cpp.
Referenced by TorSettings::apply(), and TorSettings::getAuthenticationMethod().
#define TOR_ARG_TORRC "-f" |
Definition at line 47 of file torsettings.cpp.
#define TOR_ARG_USER "User" |
Definition at line 48 of file torsettings.cpp.