Skip to content

config support for running a tor hidden service #369

@slingamn

Description

@slingamn
  1. Designate one (or more) of the listen addresses as a tor address; anything coming in on that address will be treated as a tor connection. (Config syntax could be similar to the current designation of listen addresses as TLS.) This address then becomes the target of the torrc HiddenServicePort directive.
  2. PROXY and WEBIRC are not accepted for connections on this address, even if they would otherwise be, e.g., if localhost is in proxy-allowed-from and the tor listen address is loopback or unix domain
  3. These connections are assigned a fictional hostmask (tor-hidden-service.onion, but it should be configurable obviously); client.IP() can return 127.0.0.1 though
  4. There is a configurable limit for the number of concurrent Tor connections (also maybe throttling? to what extent can we reuse the regular limiter/throttler?)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions