On Tue, 12 Feb 2013, Matt Kraai wrote:

> The "User" config setting is not sufficient for
> contrib/linux-tor-prio.sh's UID-based traffic prioritization since it
> sets the UID after the sockets are created.  The UID is set after
> sockets are created so that they can be bound to ports less than 1024.
> 
> Processes with Linux's CAP_NET_BIND_SERVICES capability can bind to
> ports less than 1024 without having to run as root.
> 
> If possible, keep this capability and switch UID before opening the
> sockets.  This allows both UID-based traffic prioritization to work
> and binding to ports less than 1024.

Do you want to submit that directly to the tor bug tracking system?
That'd enable upstream to give direct feedback for your patch.

  https://trac.torproject.org/5220
or
  https://trac.torproject.org/8195


Cheers,
weasel
-- 
                           |  .''`.       ** Debian **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to