Files
seismo-relay/docs
serversdownandClaude Opus 5 08d2d31a09 docs(series4): a complete ACH session captured -- and 0xA2 is a loaded gun
MITM between UM12947's modem and THOR 1.5.0.29: 101 request frames, 101
responses, 0 bad checksums, 34,872 B of event data in 65 seconds.

EVERY COMMAND IN A REAL ACH SESSION IS ONE WE ALREADY IMPLEMENT -- POLL, SERIAL,
STORAGE_RANGE, MONITOR_STATUS, STATE, ARM_EVENT, EVENT_FIRST/NEXT, EVENT_RECORD,
BULK_DOWNLOAD -- except one.

SUB 0xA2 ENDS A CALL-HOME, AND COLLIDES WITH SERIES III'S ERASE.  The session's
final command is 0xA2 at offset 0xFFFF, answered 0x5D, and THOR's log at that
instant reads "StartMonitoringAfterCallhome / Switching unit back to monitoring".
So on series IV it means exit call-home and resume monitoring.

On SERIES III, 0xA2 -> 0x5D is CONFIRM ERASE -- the last step of
0xA3/0x1C/0x06/0xA2, after which the unit's memory is cleared.  Same opcode, same
response SUB, opposite consequence.  This is the most dangerous collision found
in this protocol: minimateplus and micromate already share a transport, and
sending 0xA2 to a MiniMate Plus to "end a session" erases it.  Any shared path
must dispatch on series before that byte goes near a wire.

It also corroborates the firmware string found by static analysis in September,
CMD_EXIT_CALL_HOME_DELETE_EVENTS_START_MONITORING.

TWO CORRECTIONS TO EARLIER ENTRIES OF MINE:

- 0x06 content[4:8] was recorded on 2026-10-01 as "9 on both units regardless of
  count -- a constant, not a count".  It reads 47 here, where THOR's log twelve
  minutes earlier reported "Monitor Log count: 45" on the same unit.  It is
  almost certainly the monitor-log count; both units reading 9 just meant both
  held 9 records.

- SUB 0x49 was recorded as 0x00 idle / 0x02 monitoring.  It reads 0x03 throughout
  this session, ten for ten -- a distinct in-call-home state.  Precisely why the
  rule is "test for non-zero": a client checking == 0x02 would call a unit
  mid-call-home idle.

Also softened the claim that mm_ach_server is "built on the wrong model".
ListenerAchTcp HAS now accepted a connection -- when nothing else holds the
modem's single session, the unit dials out and the listener takes it; when THOR
already holds a connection, the ring rides that instead.  Both paths are real.
The listener model is valid, it just loses the race against anything already
connected -- which explains every failed probe and relay attempt today as
contention rather than bugs.

And noted: THOR rewrites a unit's stored IP from the call-home source address, so
a relay silently poisons THOR's record of where that unit lives.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ru8Lg9HkkYvX9VWWo65SmL
2026-10-14 18:35:38 -04:00
..
2026-02-24 21:19:40 +00:00