[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-relays] A bug or a feature ?
- To: tor-relays@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [tor-relays] A bug or a feature ?
- From: Daniel Winzen <d@xxxxxxxxxx>
- Date: Tue, 18 Sep 2018 14:38:53 +0200
- Autocrypt: addr=d@xxxxxxxxxx; prefer-encrypt=mutual; keydata= xsFNBFTgMrcBEADJ0uVFj/TJCKHnGcziDplmSoeFULz7K1PFKHv6c5J7uiXdSdoW5RgebEm4 uGzFwWz8vUTUm6p3sK6j9mC3AlYm/tF54syWOu3jSlOduvVmO1wQdDzlpDkBvsl+P65trg/g 80L+zuUQjH0F7JlFZFJH/RwjTE3KkkfcM5pee3OPzzEm+hwrgTfhmAvpxfpqal5lUfd6+NcV 5+Cx5rNw2F+QpUxHmmzY9Y3VenMYvir3x+kM0oc1rYkG8TzN42aJxvV2yCpxiZvigHUMPs+I 3hoGzdldfGTA1azrO6R06Il1KVrM+1JUG25WEETeqJr2LTlK/tVZ4HgYv/vbyI6nG4XSFM4I 4bSFiePj91QZmUpD1OqnX96/EkBpQlewHetz8u1FknuHX+nQW5e1ME3j3GfWW8xqgU9Lqn5k LnremIwjaHjcRFqi4Jxk5qcVNStB2ubI+ZUrCB8efL8PJ2NYsNtCXlAjk5nImVCxu1n5VQDT 3ru1LwdecAB5HUHC5Kf0FCjaXXKLsCQ7Y2i4dIIZ+RiI+IKNaUluptNRL65cIBU8cipNiMfv 2ge0rzmHKzWsGFLq2JMzBxwxF8JY990/Ho82dIyOQEz0WPul0QSols/OwEHHwCaj1/vTT6cW iwAHgs/a092wRKTkhKcSzF/HGb3hhYaHPeSNEEoiN4j2O3Du6wARAQABzRxEYW5pZWwgV2lu emVuIDxkQHdpbnplbjQuZGU+wsF6BBMBCAAkAhsDBQsJCAcCBhUICQoLAgQWAgMBAh4BAheA BQJYSu0UAhkBAAoJEAJWDTd6hkfbRk0QALcu8QhehawkFXEAdBSRXZsX91h+T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blBTs_bu5D4-BzQznUo4Bi_y5tQZfse9jOtHB8YI3nukyM6CJ8ylw7HSh22RyEWdF6HPnNcZVwV2QYVYFlqvXUyljs=@protonmail.com>
- List-archive: <http://lists.torproject.org/pipermail/tor-relays/>
- List-help: <mailto:tor-relays-request@lists.torproject.org?subject=help>
- List-id: "support and questions about running Tor relays \(exit, non-exit, bridge\)" <tor-relays.lists.torproject.org>
- List-post: <mailto:tor-relays@lists.torproject.org>
- List-subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays>, <mailto:tor-relays-request@lists.torproject.org?subject=subscribe>
- List-unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-relays>, <mailto:tor-relays-request@lists.torproject.org?subject=unsubscribe>
- Openpgp: preference=signencrypt
- References: <Ib_6r_oww3NXirJz0blBTs_bu5D4-BzQznUo4Bi_y5tQZfse9jOtHB8YI3nukyM6CJ8ylw7HSh22RyEWdF6HPnNcZVwV2QYVYFlqvXUyljs=@protonmail.com>
- Reply-to: tor-relays@xxxxxxxxxxxxxxxxxxxx
- Sender: "tor-relays" <tor-relays-bounces@xxxxxxxxxxxxxxxxxxxx>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
When tor is starting up, it binds the configured ports as root and then
drops user privileges to run as another user e.g. debian-tor by default
on debian systems. This user has no privileges to bind reserved ports
lower than 1024. When changing the configuration, it will fail to reload
due to missing privileges.
Regards,
Daniel
On 18/09/18 14:28, livak wrote:
> The ORPort option of torrc was changed fom 9030 to 80,
> the relay was sent a HUP signal:
>
> kill -HUP [PID]
>
> and exited with:
>
> Sep 18 07:59:04.000 [notice] Received reload signal (hup). Reloading
> config and resetting internal state.
> Sep 18 07:59:04.000 [notice] Read configuration file
> "/usr/share/tor/tor-service-defaults-torrc".
> Sep 18 07:59:04.000 [notice] Read configuration file "/etc/tor/torrc".
> Sep 18 07:59:04.000 [notice] Opening Directory listener on 0.0.0.0:80
> Sep 18 07:59:04.000 [warn] Could not bind to 0.0.0.0:80: Permission denied
> Sep 18 07:59:04.000 [notice] Closing no-longer-configured Directory
> listener on 0.0.0.0:9030
> Sep 18 07:59:04.000 [warn] Failed to parse/validate config: Failed to
> bind one of the listener ports.
> Sep 18 07:59:04.000 [err] Reading config failed--see warnings above. For
> usage, try -h.
> Sep 18 07:59:04.000 [warn] Restart failed (config error?). Exiting.
>
> When the relay was manually restarted and it successfully ran.
>
> Can it be considered a bug ?
>
> Livak
>
>
> Sent with ProtonMail <https://protonmail.com> Secure Email.
>
>
>
> _______________________________________________
> tor-relays mailing list
> tor-relays@xxxxxxxxxxxxxxxxxxxx
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
>
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays