Bug#700179: Start tor as debian-tor to allow traffic shaping

2013-02-12 Thread Peter Palfrader
On Sat, 09 Feb 2013, Matt Kraai wrote: On Sat, Feb 09, 2013 at 08:20:58PM +0100, Peter Palfrader wrote: On Sat, 09 Feb 2013, Matt Kraai wrote: On Sat, Feb 09, 2013 at 03:45:56PM +0100, Peter Palfrader wrote: On Sat, 09 Feb 2013, Matt Kraai wrote: UID-based prioritization

Bug#700179: Start tor as debian-tor to allow traffic shaping

2013-02-12 Thread Peter Palfrader
On Sat, 09 Feb 2013, Peter Palfrader wrote: I wanted to check that this seemed reasonable before I tried to implement it. Keeping the bind service capability has other advantages too. For instance it'd make re-opening sockets after hibernation possible. I guess a patch might be

Bug#700179: Start tor as debian-tor to allow traffic shaping

2013-02-12 Thread Matt Kraai
On Tue, Feb 12, 2013 at 09:41:37PM +0100, Peter Palfrader wrote: On Sat, 09 Feb 2013, Peter Palfrader wrote: I wanted to check that this seemed reasonable before I tried to implement it. Keeping the bind service capability has other advantages too. For instance it'd make

Bug#700179: Start tor as debian-tor to allow traffic shaping

2013-02-09 Thread Matt Kraai
On Sat, Feb 09, 2013 at 03:45:56PM +0100, Peter Palfrader wrote: On Sat, 09 Feb 2013, Matt Kraai wrote: UID-based prioritization requires that Tor be started using a specific user ID instead of relying on the User configuration setting. /etc/init.d/tor appears to start Tor as root and

Bug#700179: Start tor as debian-tor to allow traffic shaping

2013-02-09 Thread Peter Palfrader
On Sat, 09 Feb 2013, Matt Kraai wrote: UID-based prioritization requires that Tor be started using a specific user ID instead of relying on the User configuration setting. /etc/init.d/tor appears to start Tor as root and rely on the User configuration setting to change the user ID to

Bug#700179: Start tor as debian-tor to allow traffic shaping

2013-02-09 Thread Matt Kraai
Package: tor Version: 0.2.3.25-1 Severity: wishlist Hi, According to the Tor prioritization script at https://gitweb.torproject.org/tor.git/blob/HEAD:/contrib/linux-tor-prio.sh UID-based prioritization requires that Tor be started using a specific user ID instead of relying on the User

Bug#700179: Start tor as debian-tor to allow traffic shaping

2013-02-09 Thread Peter Palfrader
On Sat, 09 Feb 2013, Matt Kraai wrote: On Sat, Feb 09, 2013 at 03:45:56PM +0100, Peter Palfrader wrote: On Sat, 09 Feb 2013, Matt Kraai wrote: UID-based prioritization requires that Tor be started using a specific user ID instead of relying on the User configuration setting.

Bug#700179: Start tor as debian-tor to allow traffic shaping

2013-02-09 Thread Matt Kraai
On Sat, Feb 09, 2013 at 08:20:58PM +0100, Peter Palfrader wrote: On Sat, 09 Feb 2013, Matt Kraai wrote: On Sat, Feb 09, 2013 at 03:45:56PM +0100, Peter Palfrader wrote: On Sat, 09 Feb 2013, Matt Kraai wrote: UID-based prioritization requires that Tor be started using a specific