[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] Raspberry Pi + Raspbian GNU/Linux 8.0 (jessie) + bind errors



On Thu, Jan 5, 2017 at 9:38 PM, Kurt Besig <kbesig@xxxxxxxxxxxx> wrote:
>  Ideas on best method to bind these ports to tor on startup as non-root?

It's an ancient unix security trust thing (today aka: lol).
Anything uid != 0 is denied bind to 0~1023.
So you can't without tricks.
Linux probably has some knob like FreeBSD's...
 sysctl net.inet.ip.portrange.reserved{low,high}
If not, FreeBSD can also probably run fine on your Pi.
You could also run NAT to redir low ports to high ports.
Or hack the kernel to remove the limit.
Or see the tor manpage and choose ports greater
than 1023 for your relay service.
Or the deb bits Roger hinted at.
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays