[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-relays] Re: How is this attack causing 900 Mbps download and 100 Mbps upload?
- To: tor-relays@xxxxxxxxxxxxxxxxxxxx
- Subject: [tor-relays] Re: How is this attack causing 900 Mbps download and 100 Mbps upload?
- From: Khan Krum via tor-relays <tor-relays@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 21 Nov 2026 23:21:50 -0800
- Cc: Khan Krum <khankrum359@xxxxxxxxx>
- In-reply-to: <CAFSuc15W_saj4wZyARv1n-LT0UBN2xgWVguUpEL_cVi5VZ8wUg@mail.gmail.com>
- List-id: "support and questions about running Tor relays (exit, non-exit, bridge)" <tor-relays.lists.torproject.org>
- References: <CAFSuc15W_saj4wZyARv1n-LT0UBN2xgWVguUpEL_cVi5VZ8wUg@mail.gmail.com>
- Reply-to: "support and questions about running Tor relays (exit, non-exit, bridge)" <tor-relays@xxxxxxxxxxxxxxxxxxxx>
Hi forest, and everyone,
A brief follow-up to my earlier reports, with new observations from
two non-exit ARM64 relays running Tor 0.4.9.17 at separate providers
(Oracle Cloud and Hetzner). Times below are UTC on November 22, 2026.
1. Oracle ARM relay (KhanKrumCloud3): Our Tor Sentinel recorded seven
WATCH onsets at approximately 00:38, 01:38, 02:39, 03:39, 04:39,
05:40, and 06:40 — a striking roughly hourly pattern. Only the first
two reached our STORM classification (starting at 00:38:56 and
01:39:16). Across the eight-hour monitoring window ending around 07:10
UTC, measured BEGIN_DIR averaged 23.01/s and peaked at 141.5/s. All
1,701 Tor samples were valid; neither ntor nor ntor_v3 drops were
recorded, and the maximum sampled Tor main-thread CPU was about 60%.
This is not the severe sustained overload we observed in earlier
incidents.
2. At roughly the same time, that relay's notices.log repeatedly
reported "HSDir cache exceeded limit" at the 1 GiB threshold,
typically pruning about 50 MB during an HS descriptor upload. There
were 20 visible pruning notices in the November 22 log excerpt, with
454 additional similar messages suppressed by Tor's log rate limiter
(the first suppression window extends into the preceding day). Some
events coincide closely with WATCH/STORM onsets. This is a time
correlation, not evidence of causation or of an attack.
3. Hetzner ARM relay (KhanKrumCloud2): In the corresponding eight-hour
Tor Sentinel window it remained NORMAL, with BEGIN_DIR averaging
0.61/s and peaking at 1.6/s; all 960 samples were valid and no ntor
drops were recorded. Its November 21–22 notices.log excerpts showed no
HSDir cache-limit messages. Both relays currently have the HSDir flag,
so the flag alone does not explain the contrasting workloads.
4. An additional flag observation: Cloud2 was first sampled with
HSDir=0 at 15:16:20 UTC on November 20 and first sampled with HSDir=1
at 00:27:41 UTC on November 22, about 33 h 11 min between these
observations. Tor was not restarted in that interval; its uptime
exceeded eight days. These are Sentinel sampling times, not exact
directory-authority consensus transition times. This does not imply
the initial 96-hour uptime requirement was bypassed.
Could the nearly hourly pattern and HSDir cache pruning reflect normal
periodic descriptor-publication activity, or has anyone seen a similar
pattern in association with abnormal BEGIN_DIR traffic? I would
welcome an interpretation from operators or developers.
As before, I am reporting observations rather than attributing the
traffic to a particular cause, and I am not publishing raw
high-resolution traffic or host data.
Regards,
KhanKrum
On Sun, 18 Oct 2026 22:54:06 +0000, Khan Krum <khankrum359@xxxxxxxxx> wrote:
> Hi forest, and everyone,
>
> I would like to share a further update following my earlier reports about abnormal BEGIN_DIR activity on three non-exit Tor relays.
>
> We have now completed a reproducible retrospective analysis of another prolonged incident on October 17–18, following the earlier episodes on October 4–5, October 8, and October 12–13.
>
> This time we had two independent monitoring systems:
>
> - Tor Sentinel, collecting standard Tor MetricsPort measurements, including BEGIN_DIR activity, circuit counts and Tor process metrics.
>
> - Linux OS Sentinel, independently collecting host and process resource indicators, including CPU, memory, swap and Linux pressure statistics.
>
> The second system was added after the earlier incidents revealed that MetricsPort can become temporarily unresponsive during severe overload.
>
> Our main observations are:
>
> - Two ARM relays, hosted by different providers (Hetzner and Oracle Cloud), again experienced substantial, prolonged BEGIN_DIR-related workload. A third, smaller Oracle AMD relay did not show comparable BEGIN_DIR activity.
>
> - The two affected relays showed different resource profiles. The Hetzner relay experienced very low available memory and substantial swap occupancy. The Oracle ARM relay showed considerable CPU pressure and more monitoring failures despite retaining a much larger memory reserve.
>
> - The Tor processes remained running. A bandwidth configuration change and reload reported on the Hetzner relay did not immediately end its prolonged abnormal state.
>
> - Locally observed HSDir flag transitions did not provide a simple explanation for the onset of the workload. We are distinguishing these observations from independently verified directory consensus changes.
>
> - The recorded BEGIN_DIR peaks are lower bounds on the maximum successfully observed rates, not necessarily the true maxima, because measurements can be lost during overload.
>
> We have preserved and validated the underlying measurements and analysis scripts. However, in accordance with Tor’s relay-operator privacy expectations, I am not publishing high-resolution traffic or host statistics. I would be happy to discuss an appropriate private channel for technical review.
>
> A few questions for operators and developers:
>
> - Have others observed MetricsPort timeouts or degraded responsiveness during comparable BEGIN_DIR workloads?
>
> - Have Tor’s MaxMemInQueues protection or circuit-killing notices appeared during these incidents?
>
> - Is there any progress on understanding why the experimental BEGIN_DIR rate-limiting approach discussed earlier did not appear effective?
>
> - Can Network Health or the directory-authority community help clarify whether overload-related descriptor or consensus effects might explain some of the observed flag changes?
>
> - Would a coordinated comparison of daily incident summaries from independent operators be useful?
>
> I do not have evidence identifying the origin or intent of this traffic, and I do not want to imply that all reports necessarily have the same cause.
>
> My goal is to contribute reliable observations and help identify what further evidence would be useful.
>
> Regards,
>
> KhanKrum
_______________________________________________
tor-relays mailing list -- tor-relays@xxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to tor-relays-leave@xxxxxxxxxxxxxxxxxxxx