#25173: No Control Socket when DisableNetwork and User options are set --------------------------+------------------------------------ Reporter: iry | Owner: (none) Type: defect | Status: needs_information Priority: Medium | Milestone: Tor: 0.3.3.x-final Component: Core Tor/Tor | Version: Tor: 0.3.1.9 Severity: Normal | Resolution: Keywords: | Actual Points: Parent ID: | Points: Reviewer: | Sponsor: --------------------------+------------------------------------
Comment (by arma): {{{ #ifndef _WIN32 /* We don't need to be root to create a UNIX socket, so defer until after * setuid. */ const or_options_t *options = get_options(); if (port->is_unix_addr && !geteuid() && (options->User) && strcmp(options->User, "root")) continue; #endif /* !defined(_WIN32) */ }}} is where we defer opening the control socket listener -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25173#comment:8> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs