Re: [tor-relays] Problems with Debian package and low ports

2013-02-14 Thread Moritz Bartl
Hi, Run this as root: setcap 'cap_net_bind_service=+ep' /usr/sbin/tor This will give Tor the ability to bind to ports below 1024 without requiring root. On 13.02.2013 17:41, Chris Baines wrote: > I am having some problems with tor (version 0.2.3.25-1), I get > warnings when it resumes form hiber

Re: [tor-relays] Problems with Debian package and low ports

2013-02-14 Thread David Gilbert
I assume what you're experiencing is: 1 - it initially starts up and functions as expected 2 - hits the weekly accounting max and hibernates 3 - Never recovers from hibernation because of error If so then try this: That port binding is a known issue when coming out of hibernate, I also experienc

Re: [tor-relays] Problems with Debian package and low ports (Chris Baines)

2013-02-13 Thread Christian
pher Baines) >7. Re: Problems with Debian package and low ports > (Christopher Baines) >8. Re: Problems with Debian package and low ports (Roger Dingledine) > > > ---------- > > Message: 1 >

Re: [tor-relays] Problems with Debian package and low ports

2013-02-13 Thread Dennis Ljungmark
No need to hack. Can set the proc entries to control that. On Feb 13, 2013 9:26 PM, "grarpamp" wrote: > > Tor has already changed to a non-privileged user, but you are trying to > bind > > on ports that only root is allowed to bind on. > > > > Two solutions: > > > > 1) Run tor as root (really, a

Re: [tor-relays] Problems with Debian package and low ports

2013-02-13 Thread grarpamp
> Tor has already changed to a non-privileged user, but you are trying to bind > on ports that only root is allowed to bind on. > > Two solutions: > > 1) Run tor as root (really, a bad idea) > 2) Bind to other ports than 80 and 443. 3) Remap the ports outside the restricted range using your packet

Re: [tor-relays] Problems with Debian package and low ports

2013-02-13 Thread Roger Dingledine
On Wed, Feb 13, 2013 at 04:41:54PM +, Chris Baines wrote: > I am having some problems with tor (version 0.2.3.25-1), I get > warnings when it resumes form hibernation: > Feb 11 00:00:00.000 [warn] Could not bind to 0.0.0.0:80: Permission denied > Feb 11 00:00:00.000 [notice] Opening OR listener

Re: [tor-relays] Problems with Debian package and low ports

2013-02-13 Thread Christopher Baines
On Wed, 2013-02-13 at 17:51 +0100, t...@caber.nl wrote: > Hi Chris, > > This is docemented in > https://trac.torproject.org/projects/tor/wiki/doc/TorFAQ#HowcanImakemyrelayaccessibletopeoplestuckbehindrestrictivefirewalls > > I hope those instructions will help you. I have seen those instructions

Re: [tor-relays] Problems with Debian package and low ports

2013-02-13 Thread Christopher Baines
On Wed, 2013-02-13 at 17:44 +0100, Wessel Nieboer wrote: > Op 13-2-2013 17:41, Chris Baines schreef: > > I am having some problems with tor (version 0.2.3.25-1), I get > > warnings when it resumes form hibernation: > > Feb 11 00:00:00.000 [warn] Could not bind to 0.0.0.0:80: Permission denied > > F

Re: [tor-relays] Problems with Debian package and low ports

2013-02-13 Thread Roman Mamedov
On Wed, 13 Feb 2013 18:07:53 +0100 Nils Vogels wrote: > Tor has already changed to a non-privileged user, but you are trying to > bind on ports that only root is allowed to bind on. > > Two solutions: > > 1) Run tor as root (really, a bad idea) > 2) Bind to other ports than 80 and 443. Since yo

Re: [tor-relays] Problems with Debian package and low ports

2013-02-13 Thread theo
Hi Chris, This is docemented in https://trac.torproject.org/projects/tor/wiki/doc/TorFAQ#HowcanImakemyrelayaccessibletopeoplestuckbehindrestrictivefirewalls I hope those instructions will help you. Chris Baines schreef op 2013-02-13 17:41: I am having some problems with tor (version 0.2.3.25-1

Re: [tor-relays] Problems with Debian package and low ports

2013-02-13 Thread Nils Vogels
Tor has already changed to a non-privileged user, but you are trying to bind on ports that only root is allowed to bind on. Two solutions: 1) Run tor as root (really, a bad idea) 2) Bind to other ports than 80 and 443. Since you are resuming, you are unlikely to be a stable relay/exit/bridge anyw

Re: [tor-relays] Problems with Debian package and low ports

2013-02-13 Thread Wessel Nieboer
Op 13-2-2013 17:41, Chris Baines schreef: I am having some problems with tor (version 0.2.3.25-1), I get warnings when it resumes form hibernation: Feb 11 00:00:00.000 [warn] Could not bind to 0.0.0.0:80: Permission denied Feb 11 00:00:00.000 [notice] Opening OR listener on 0.0.0.0:443 Can anyon

[tor-relays] Problems with Debian package and low ports

2013-02-13 Thread Chris Baines
I am having some problems with tor (version 0.2.3.25-1), I get warnings when it resumes form hibernation: Feb 11 00:00:00.000 [warn] Could not bind to 0.0.0.0:80: Permission denied Feb 11 00:00:00.000 [notice] Opening OR listener on 0.0.0.0:443 Can anyone help?