[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-relays] Re: Shutting down my ~40 guards
- To: "support and questions about running Tor relays (exit, non-exit, bridge)" <tor-relays@xxxxxxxxxxxxxxxxxxxx>, forest via tor-relays <tor-relays@xxxxxxxxxxxxxxxxxxxx>, tor-relays@xxxxxxxxxxxxxxxxxxxx
- Subject: [tor-relays] Re: Shutting down my ~40 guards
- From: tor--- via tor-relays <tor-relays@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 15 Oct 2026 22:07:02 +0000
- Cc: forest <theforest@xxxxxxxxxx>, tor@xxxxxxxxxxx
- In-reply-to: <025ab695bb8d9f9a64b4497f01066b4a@riseup.net>
- List-id: "support and questions about running Tor relays (exit, non-exit, bridge)" <tor-relays.lists.torproject.org>
- References: <7da59cae4ec05f2a4135fc6d447c89cb@riseup.net> <569c7030fce648c8a9eb0afd1c20761b@riseup.net> <2333170.72vocr9iq0@w530> <3103249.VdNmn5OnKV@w530> <LLRzCvT72bjmSxggVs2YJBjgYPKaCNRpHfqdxQojSf4FXhkXpD6vLbRe41QO_D_XiozfoGIOqyPvHqX0BaOyrnqk7RwarcAs-EwwnwKjQ-I=@1aeo.com> <025ab695bb8d9f9a64b4497f01066b4a@riseup.net>
- Reply-to: "support and questions about running Tor relays (exit, non-exit, bridge)" <tor-relays@xxxxxxxxxxxxxxxxxxxx>
Would setting a bandwidth limit and hibernating your nodes instead of shutting them down be also a stopgap measure?
https://support.torproject.org/relays/performance/bandwidth-limits/
On October 15, 2026 9:52:27 PM UTC, forest via tor-relays <tor-relays@xxxxxxxxxxxxxxxxxxxx> wrote:
>On 2026-10-15 16:45, Tor at 1AEO via tor-relays wrote:
>> Two main defenses we've found successful across ~800 guard relays the
>> last 5 months of the various attacks:
>>
>> 1) Over provision CPU and RAM
>> Few cores available per relay and enough RAM to let a few relays spike
>> from 16-30GB (max we've seen is 90GB for one relay).
>>
>> 2) Use mimallc to return the freed RAM faster than glibc, avoiding OOM
>> more often
>> Swap can help temporarily until mimallc frees the RAM
>
>I'm sure that works for large dedicated servers, but there's not much
>that can be done when you have 62 VPSes and a Raspberry Pi with 1-2 GB
>each spread across the globe. All my servers are resource constrained,
>although I do use jemalloc2 (but not mimalloc) to reduce memory use.
>
>In my situation, memory use isn't even the limiting factor. My relays
>rarely OOM before the provider suspends them for bandwidth overuse.
>
>The full solution is to expand on these:
>
>https://gitlab.torproject.org/tpo/core/tor/-/work_items/40589
>https://gitlab.torproject.org/tpo/core/tor/-/merge_requests/756
>
>It's a security issue related to TROVE-2022-003, which had a fix that
>was incomplete and did not mitigate a related vulnerability. A proper
>fix _should_ stop the attacker dead in their tracks or at last vastly
>increase their resource requirements.
>
>> Few blogs with more details from the beginning of the June and July
>> attacks, which are still ongoing: https://1aeo.com/blog
>
>The circuit-building attack is under control on my relays, since I'm
>protecting from it on the firewall-level using a ruleset inspired by
>toralf's iptables generator. Unfortunately, the BEGIN_DIR flood cannot
>be mitigated using that method since each connection contains multiple
>multiplexed circuits, each of which can multiplex multiple streams.
>
>Thank you very much for your work on documenting present and past DoS
>attacks against the Tor network, btw! Your insight is invaluable.
>
>Regards,
>forest
_______________________________________________
tor-relays mailing list -- tor-relays@xxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to tor-relays-leave@xxxxxxxxxxxxxxxxxxxx