[tor-relays] multi-instance Tor support for *BSD packages

Nusenu nusenu at openmailbox.org
Thu Apr 2 19:20:35 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear Tor package maintainers for FreeBSD and OpenBSD,


I wrote/I'm writing an ansible [1] role for tor relay operators [2].
Besides supporting Linux I'm also aiming to supporting OpenBSD and
FreeBSD.

Tor does not scale well across multiple CPU cores, to work around this
issue relay operators frequently choose to run multiple tor instances
on a single host.

To better support tor relay operators with this common task tor's
official RPM packages recently got multi-instance support [5] and a
ticket for the official debian package has been filed [6].

To better know how to proceed with my ansible role - where
multi-instance support is a core feature - I'd like to know how you
think about adding easy multi-instance support to your packages as well?

One way to configure a BSD system to run multiple tor instances would
be to defined multiple services tor0, tor1, ... [3], but that doesn't
strike me as a particular clean solution [4].

What do you think about supporting multiple tor instances with a
single rc.d script that starts one tor process per available *.torrc
file in (/usr/local)/etc/tor/enabled/ ?

looking forward to your comments,
Nusenu


[1] http://docs.ansible.com/
[2] https://github.com/nusenu/ansible-relayor
[3]
https://lists.torproject.org/pipermail/tor-relays/2015-March/006526.html
[4]
https://lists.torproject.org/pipermail/tor-relays/2015-March/006527.html

[5] https://trac.torproject.org/projects/tor/ticket/14996
[6] https://trac.torproject.org/projects/tor/ticket/14995
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJVHZZ6AAoJEFv7XvVCELh04/IQAKZfuYvXUM4xkc3cS3GJciGg
NsbkyL483NLM7un/gd0HNkUTzOVLMwI6gkzUERg5uYiwWD1ZHEnudrOk47N19FHR
7WjDTQQuKDfDBpMCBiAywFXsJKKnRk0Cg01+zmMlCmPZ5kEk1hyaE64sZNmjBLyQ
7ydLMV9/xy7h/qm7OfOjU9djoPQTbnd5Ky8+V15ZyTwr65IkWI6vX5KlIfhdTvHh
sl3PlRppCE1aYPF5jbwSwpICOSd4diLWToFfOSDFRfvpc4FdMiJfIdAXj37FktMA
RdI4MTJXRanLj7WVwKua8Gf2Za8my2t2mCTD3loFR1tRPE30uA1xul9eii+zp27n
NBvSsSIhdVKcn1qK7lUfHIxa0v2ArzIjgBczHh6KzlS0U5Fd6LYqx+Y7sRSkjBlr
nULJ2Bs+EqcjBF3OTjQFNG+dg/96QgIK+f7nVp/pvoGPKCDxiIdnuT7wlueguI9r
Ys/7wCTOSTyrk7+q6IxYrliPReahTlK80HkMtba5m4JpBlGlikMtZcgVYeEuyeac
fVfe/TcLjOkqFIomVpkhbtRDHJafu9Q5cMm/6eydXAH4y9GhM/Q6N+zEp4nXuSP3
/LzNFhwuFSabTwlnDx/5VpSXVYP+cmMoK9tWQjORNM//1zRONOea43eXeyhuwipo
mTv/uEMpR9eDdPAJseod
=ft3h
-----END PGP SIGNATURE-----


More information about the tor-relays mailing list