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

grarpamp grarpamp at gmail.com
Fri Jan 6 03:18:23 UTC 2017


On Thu, Jan 5, 2017 at 9:38 PM, Kurt Besig <kbesig at socal.rr.com> 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.


More information about the tor-relays mailing list