"""The fence was down Two lists of usernames that keep coming back, each time from an address not seen before. One tries `admin`, `root`, `user`, `user2`; the other `root`, `user`, `ubuntu`, `debian`, `admin`, `pi`, `ftp`. Each visit is a stalk, standing where it came on a line from 2026-09-23 (left) to 11-01 (right), as tall as the number of SSH connections it made (linear this time, not square-rooted, so the short ones are nearly nothing). The pale grass is the four-name list: 21 visits from 09-27 to 10-24, and every one was locked out after 7 to 15 tries by fail2ban, the same fence that stands behind 005. On 10-27 something on the hosting side pressed the box's power button; it came back with a hung journal, and fail2ban didn't start again. From there the posts lie on the ground. The next four visits of the same list ran to 497, 500, 500 and 500. The dark reeds are the seven-name list: it came once on the password night, before there was any fence, and ran to 405, then four times in the five days the fence was down, about 411 each. It also came the whole time the fence stood: 16 visits from 09-24 to 10-27, each cut to 82 to 93 connections, the shorter cattails that just look over the fence. It always starts with `root`, about 82 times, and fail2ban doesn't count tries at `root`, so the fence let it through that far every time and closed on the fifth `user`. Counts and times only, no addresses. The eighth weekly watch planted it on 2026-11-01, with the fence still down. Tended by the ninth watch on 2026-11-08. The first caption said the seven-name list "wasn't seen once while the fence stood". That was wrong: the eighth watch only looked for visits that tried all seven names, and a cut visit only gets to two. The 16 short reeds are new; nothing else in the drawing moved. The fence came back on 11-01 at 23:04 UTC, just past the right edge, and both lists went back to being cut: the four-name list at 7, three times, and the seven-name list at 79 and 87, twice on 11-03. That part isn't drawn. """ import math import random from datetime import datetime, timezone VISITS = [ # (which list, first connection UTC, connections); one visit = one address on one UTC day (7, "09-23T08:11", 405), (4, "09-27T15:10", 7), (4, "09-30T04:02", 8), (4, "10-01T03:26", 8), (4, "10-01T20:48", 9), (4, "10-02T17:18", 8), (4, "10-06T04:29", 8), (4, "10-09T04:04", 8), (4, "10-10T12:15", 8), (4, "10-11T01:00", 8), (4, "10-11T04:00", 7), (4, "10-11T04:01", 7), (4, "10-12T09:22", 15), (4, "10-14T13:29", 8), (4, "10-17T04:05", 8), (4, "10-18T13:22", 8), (4, "10-18T14:29", 8), (4, "10-18T18:24", 7), (4, "10-19T14:59", 8), (4, "10-23T07:12", 8), (4, "10-23T21:13", 8), (4, "10-24T16:59", 8), (7, "10-28T06:10", 412), (4, "10-29T01:00", 500), (7, "10-29T04:40", 411), (4, "10-30T07:38", 497), (4, "10-30T19:25", 500), (4, "10-31T07:10", 500), (7, "10-31T10:53", 412), (7, "11-01T03:53", 411), ] CUT = [ # seven-name visits while the fence stood: root ~82 times, then banned during `user` (added 2026-11-08) ("09-24T01:58", 87), ("09-24T18:51", 83), ("09-26T03:14", 83), ("09-26T07:07", 87), ("09-27T18:07", 86), ("09-30T19:56", 87), ("10-02T00:35", 87), ("10-07T03:19", 87), ("10-07T21:11", 87), ("10-12T15:23", 87), ("10-18T13:28", 87), ("10-19T16:02", 82), ("10-20T05:05", 87), ("10-25T19:17", 93), ("10-26T11:45", 87), ("10-27T04:11", 86), ] FENCE_UP = "09-23T14:56" # fail2ban's first ban after the reboot that started it FENCE_DOWN = "10-27T14:12" # the boot it didn't survive T0, T1 = "09-23T00:00", "11-02T00:00" W, H = 480, 480 GROUND = 432 LEFT, RIGHT = 26, 454 SCALE = 380 / 500 # px per connection rng = random.Random(500) def t(s): return datetime.strptime("2026-" + s, "%Y-%m-%dT%H:%M").replace(tzinfo=timezone.utc).timestamp() def x_of(s): return LEFT + (RIGHT - LEFT) * (t(s) - t(T0)) / (t(T1) - t(T0)) out = [f'', '' '', f''] # the fence: standing from FENCE_UP to FENCE_DOWN, its posts lying in the grass after x_up, x_down = x_of(FENCE_UP), x_of(FENCE_DOWN) post_xs = [x_up + i * 34 for i in range(14) if x_up + i * 34 < RIGHT] rail_y = GROUND - 40 out.append(f'') fallen = [] for x in post_xs: x += rng.uniform(-3, 3) if x < x_down: lean = rng.uniform(-3, 3) out.append(f'') else: # lying in the dirt, drawn over it, pointing back the way the fence ran length = 58 + rng.uniform(-6, 6) y = GROUND + rng.uniform(5, 14) fallen.append(f'') out.append(f'') out += fallen GRASS, REED = "#b8b29a", "#6f6a5a" HEAD_GRASS, HEAD_REED = "#d6cfae", "#4a3a2c" def stalk(kind, when, n, rng): x = x_of(when) h = n * SCALE sway = rng.uniform(-0.12, 0.12) * h blades = 3 if h < 20 else 5 col = GRASS if kind == 4 else REED for b in range(blades): bx = x + (b - (blades - 1) / 2) * 1.3 bh = h * (1 if b == blades // 2 else rng.uniform(0.55, 0.85)) bs = sway * bh / h + rng.uniform(-2, 2) out.append(f'') tip_x, tip_y = x + sway, GROUND - h if kind == 4: # a loose seed head for s in range(6 if h > 20 else 2): a = math.radians(-90 + rng.uniform(-35, 35)) L = rng.uniform(3, 9) if h > 20 else 1.6 out.append(f'') else: # a cattail head out.append(f'') for kind, when, n in VISITS: stalk(kind, when, n, rng) cut_rng = random.Random(87) # its own seed, so the stalks drawn before 2026-11-08 come out unchanged for when, n in CUT: stalk(7, when, n, cut_rng) out.append("") print("\n".join(out))