Hi,
the debian tor package maintainer implemented the multi-instance feature request [1][2][3]. Thanks Peter!
If you want to learn more about it, have a look at tor-instance-create(8):
https://gitweb.torproject.org/debian/tor.git/tree/debian/tor-instance-create...
Once tor 0.2.7.x stable is release I'll start playing with it and change ansible-relayor [4] to make use of that new functionality on debian systems by default - instead of implementing it via the ansible role itself (current behavior).
We have quite good multi-instance support across multiple systems now (Fedora, CentOS, Debian, OpenBSD). FreeBSD is still somewhat of a hack - but it works as well.
[1] https://lists.torproject.org/pipermail/tor-relays/2015-February/006472.html [2] https://trac.torproject.org/projects/tor/ticket/14995 [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791393 [4] https://github.com/nusenu/ansible-relayor
On Sun, 25 Oct 2015 12:35:53 +0000, nusenu nusenu@openmailbox.org wrote:
We have quite good multi-instance support across multiple systems now (Fedora, CentOS, Debian, OpenBSD).
Thanks for working on that!
On 25.10.2015 13:35, nusenu wrote:
the debian tor package maintainer implemented the multi-instance feature request [1][2][3]. Thanks Peter!
If you want to learn more about it, have a look at tor-instance-create(8):
https://gitweb.torproject.org/debian/tor.git/tree/debian/tor-instance-create...
Thanks, it works fine when I don't use a Port < 1024.
So far, I have set this during startup once: setcap 'cap_net_bind_service=+ep' /usr/bin/obfs4proxy
and these options in torrc (which used to work): ServerTransportPlugin obfs3,obfs4 exec /usr/bin/obfs4proxy ServerTransportListenAddr obfs3 123.45.67.89:20111 ServerTransportListenAddr obfs4 123.45.67.89:80
with the instance I now get: Oct 27 11:49:19 Tor-bridge1: Server managed proxy encountered a method error. (obfs4 listen tcp 123.45.67.89:80: bind: permission denied) Oct 27 11:49:19 Tor-bridge1: Managed proxy at '/usr/bin/obfs4proxy' failed the configuration protocol and will be destroyed.
Regards 9teen
tor-relays@lists.torproject.org