module TorControl::Info::Config

Defined in:

get_info.cr

Constant Summary

CanSaveconf = "config-can-saveconf"

0 or 1, depending on whether it is possible to use SAVECONF without the FORCE flag.

Defaults = "config/defaults"

A series of lines listing default values for each configuration option. Options which don't have a valid default don't show up in the list.

DefaultsFile = "config-defaults-file"

The location of Tor's configuration defaults file ("torrc.defaults"). This file gets parsed before torrc, and is typically used to replace Tor's default configuration values.

File = "config-file"

The location of Tor's configuration file ("torrc").

Names = "config/names"

A series of lines listing the available configuration options.

Text = "config-text"

The contents that Tor would write if you send it a SAVECONF command, so the controller can write the file to disk itself.