I recently decided to run an exit node on a VPS running the standard build of OpenBSD 5.5. Tor, which had no missing dependencies, was the first program I installed. I did so by simply downloading the source and following the build instructions. The only other program installed is a simple SSH login protector. However, when I run Tor using
sudo tor --hush, the process remains a
root process. This is despite the fact that the SSH login user non-root with
sudo access through the
Here's an example output of the start-up, which makes it explicit that it successfully binds to the desired ports:
$ sudo tor Aug 19 07:29:43.103 [notice] Tor v0.2.4.23 (git-598c61362f1b3d3e) running on OpenBSD with Libevent 1.4.14b-stable and OpenSSL 1.0.1c. Aug 19 07:29:43.105 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning Aug 19 07:29:43.105 [notice] Read configuration file "/usr/local/etc/tor/torrc". Aug 19 07:29:43.115 [notice] Opening Control listener on 127.0.0.1:9052 Aug 19 07:29:43.116 [notice] Opening OR listener on 0.0.0.0:443 Aug 19 07:29:43.116 [notice] Opening Directory listener on 0.0.0.0:80
I'm not sure if this is relevant, but the data directory being created is
Is this a known issue? It's odd, considering that (if I recall correctly) OpenBSD introduced privilege separation to the Unix community. Regardless, I took the server down, and won't restart it until I solve this issue.
Anecdotally, I'm also trying to figure out where the log files are, as
/var/log/tor doesn't exist. That's an easier issue, though.