[tor-relays] Exit relay operators please help test #2667 branch

2021-01-27 Thread Roger Dingledine
Hello friendly relay operators,

Another day, another weird thing with the Tor network. This time we
have some jerk bombing the directory authorities with directory fetches,
and doing it via exits:
https://lists.torproject.org/pipermail/network-health/2021-January/000661.html

The network is mostly holding together, but I wouldn't say it is pretty.

One of the long-term fixes will be ticket #2667:
https://gitlab.torproject.org/tpo/core/tor/-/issues/2667
where exit relays refuse to let users connect back into the Tor network.

David and I made a branch this evening that implements #2667, and it
could use some testing. If you're comfortable building your exit relay
from a git branch, please do, and let us know how it goes. It is the
"ticket2667" branch on either
https://git.torproject.org/user/arma/tor
or
https://gitlab.torproject.org/arma/tor/

And if your relay is currently using 100% cpu and/or way more bandwidth
than usual, you might be especially excited to try out this patch. :)

When the defense triggers, you will see an info-level log line like
"%s tried to connect back to a known relay address. Closing."
(where %s is the destination, so don't get upset at them. :)

You can let us know how it's going either by mail just to me, or by a
reply on the list, whichever you prefer. Once we know that you're running
the branch, we can also probe your relay remotely to verify that it is
correctly refusing those connections.

Thanks!
--Roger

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] build tor out of source -> permission problems?

2021-01-27 Thread William Kane
Permissions issue of /var/lib/tor / DataDirectory most likely, and Tor
can't fix it itself since it's likely owned by root, however the
systemd unit starts it under a separate user.

2021-01-22 12:03 GMT, Patrice Bönig :
> Hi @ list,
>
> I am operating a relay for several years and I really do like it and
> will do it for more years.
>
> My current relay residents on Pi 4. At first I installed it via apt but
> now the 32 Bit sources are no longer available. So I thought I could
> build the from source.
>
> The building process went well but now I have a problem with the user
> permissions. I can't get tor really running.
>
> _My first attempt was:_
>
> To start tor with "systemctl start tor". But tor won't start and "
> journalctl -u tor" says only this:
>
> Jan 22 09:06:23 rpi4tor systemd[1]: Starting LSB: Starts The Onion
> Router daemon
> Jan 22 09:06:23 rpi4tor systemd[1]: Started LSB: Starts The Onion Router
> daemon
> Jan 22 09:08:32 rpi4tor systemd[1]: Stopping LSB: Starts The Onion
> Router daemon
> Jan 22 09:08:32 rpi4tor systemd[1]: tor.service: Succeeded.
> Jan 22 09:08:32 rpi4tor systemd[1]: Stopped LSB: Starts The Onion Router
> daemon
> lines 1-6/6 (END)...skipping...
> -- Logs begin at Thu 2019-02-14 11:11:59 CET, end at Fri 2021-01-22
> 11:54:47 CET. --
> Jan 22 09:06:23 rpi4tor systemd[1]: Starting LSB: Starts The Onion
> Router daemon processes...
> Jan 22 09:06:23 rpi4tor systemd[1]: Started LSB: Starts The Onion Router
> daemon processes.
> Jan 22 09:08:32 rpi4tor systemd[1]: Stopping LSB: Starts The Onion
> Router daemon processes...
> Jan 22 09:08:32 rpi4tor systemd[1]: tor.service: Succeeded.
> Jan 22 09:08:32 rpi4tor systemd[1]: Stopped LSB: Starts The Onion Router
> daemon processes.
>
> _My second attempt was:_
>
> I changed the user of all tor files to the current user "pi". After that
> I was able to start tor with "tor --quiet" as user "pi". All went fine
> until I rebooted the system and all my changes to "pi" where changed to
> "debian-tor".
>
> _My third attempt was:_
>
> I did "sudo tor --quiet". It works, but in "notices.log" is the
> information that I shouldn't do that.
>
>
> So, now I am standing here and don't know what to do. I would like to
> start tor via systemd but I don't know what's wrong (maybe the
> permissions). Does someone has a hint for me?
>
> regards,
> Karl
>
>
>
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Noob query, wish to run a bridge relay for tor community.

2021-01-27 Thread lists

On 23.01.2021 09:55, ramesh bhootra wrote:


I was thinking about running a relay for Tor, (maybe a bridge relay) at
night since both my laptop and internet are unused at night.
I have following queries:



As the others have already written, relay or bridge should run 24/7.

You should check out Tor snowflake.
This is exactly for your case.

https://gitlab.torproject.org/legacy/trac/-/wikis/doc/Snowflake
https://snowflake.torproject.org/

--
╰_╯ Ciao Marco!

Debian GNU/Linux

It's free software and it gives you freedom!
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays