summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorNigko Yerden <nigko.yerden@gmail.com>2024-05-31 10:43:11 +0500
committerGuix Patches Tester <>2024-05-31 08:00:51 +0200
commit4e08c3fc221e1e10550c4f4fe4ccc8600d44a975 (patch)
tree71c0652b356801b30ffb9c1d7bdf27d9986dde06 /m4
parent00384aedbc6a371aaf90ca344a446952fdd5a6b3 (diff)
downloadguix-patches-issue-70341.tar
guix-patches-issue-70341.tar.gz
services: tor: Add support for pluggable transports.issue-70341
Pluggable transports are programs that disguise Tor traffic, which can be useful in case Tor is censored. Pluggable transports cannot be configured by #:config-file file exclusively because Tor process is run via 'least-authority-wrapper' and cannot have access to transport plugin, which is a separate executable (Bug#70302, Bug#70332). Example configuration snippet to be appended to operation-system services (see https://bridges.torproject.org/ to get full bridge's lines): (service tor-service-type (tor-configuration (config-file (plain-file "torrc" "\ UseBridges 1 Bridge obfs4 ... Bridge obfs4 ...")) (transport-plugins (list (tor-transport-plugin (path-to-binary (file-append go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-lyrebird "/bin/lyrebird"))))))) * doc/guix.texi (Networking Services): Document 'tor-transport-plugin' data type and 'transport-plugins' option for 'tor-configuration. * gnu/services/networking.scm: Export 'tor-configuration-transport-plugins', 'tor-transport-plugin', 'tor-transport-plugin?', 'tor-transport-plugin-role', 'tor-transport-plugin-protocol', and 'tor-transport-plugin-path'. (<tor-configuration>): Add 'transport-plugins' field. (<tor-transport-plugin>): New variable. (tor-configuration->torrc): Add content to 'torrc' computed-file. (tor-shepherd-service): Add file-system-mapping(s). Change-Id: I1b0319358778c7aee650bc843e021a6803a1cf3a
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions