Skip to content

fix(demo): replay a captured Feodo Tracker poll - #420

Merged
catinspace-au merged 3 commits into
mainfrom
fix/demo-feodo-replay
Nov 17, 2026
Merged

catinspace-au merged 3 commits into
mainfrom
fix/demo-feodo-replay

Conversation

@catinspace-au

@catinspace-au catinspace-au commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

The demo pack's feodo-c2 fetcher had no captured poll. verify.json exempted it as waiting, so the fetchers check skipped it. The pack replays a captured poll as demo-theatre does, and the fetchers check runs.

  • events/feodo-c2/demo.log is one poll (5 servers) of https://feodotracker.abuse.ch/downloads/ipblocklist.json. events/capture.py wrote it with the source's URL and headers. PROVENANCE.md records the licence. Section 3.4 of the abuse.ch terms puts Feodo Tracker under CC0 terms for commercial use, so no licence text is copied in.
  • replay_fetch.with_replay_unit builds a replay unit from the live unit. The demo-replay service and the published demo's source seeding both use it. feodo-c2.yaml keeps only its live blocklist unit.
  • make demo keeps Kaz's compose layout and polls only the tracker. It has no demo-replay service, so there is no failed replay poll every 300 seconds.
  • replay_fetch.py reads an empty rows.at as the whole body for a json_array unit only, because the blocklist is a top-level JSON array. It rejects any other decoder with no rows.at. replay_fetch.py accepts the demo's empty pack name.
  • verify.json drops the waiting block and every demo-feodo-c2 zero_ok entry. Any tile that reads 0 with the replayed rows will fail the console check by name.

A dump unit has one step and no window (dfe-fetcher crates/rest/src/shape/window.rs), so the cold-start lookback filters nothing. The blocklist's dates are strings. Replay only moves integers within a day of the poll, so every value is served as captured.

The demo pack's feodo-c2 fetcher had no captured poll, so verify.json exempted it as waiting and the fetchers check skipped it. The pack replays a captured poll like demo-theatre's adsb-tracks and ais-tracks replays. The fetchers check runs.

- events/feodo-c2/demo.log is one poll (5 servers) of https://feodotracker.abuse.ch/downloads/ipblocklist.json. events/capture.py wrote it with the source's URL and headers. PROVENANCE.md records the licence. Section 3.4 of the abuse.ch terms puts Feodo Tracker under CC0 terms for commercial use, so no licence text is copied in.
- feodo-c2.yaml has a replay unit pointing at demo-replay. replay_fetch.py serves it. The live blocklist unit still polls the tracker. The replay returns no servers even when the tracker has some.
- replay_fetch.py reads an empty rows.at as the whole body, because the blocklist is a top-level JSON array. It accepts the demo's empty pack name.
- verify.json drops the waiting block. The demo-feodo-c2 zero_ok entries stay until the demo run shows which tiles read non-zero.

A dump unit has one step and no window (dfe-fetcher crates/rest/src/shape/window.rs), so the cold-start lookback filters nothing. The blocklist's dates are strings. The replay only moves integers within a day of the poll, so every value is served as captured.

The replay runs in the published demo. make demo has no demo-replay service, so its feodo-c2 replay unit has nothing to poll.
The committed feodo-c2 source has just its live blocklist unit. make demo runs no demo-replay service, so it avoids polling an unreachable replay unit.

replay_fetch.with_replay_unit builds the replay unit from the live unit. The demo-replay service and the published demo's source seeding use it. The verify.json zero_ok list drops its demo-feodo-c2 entries.
A replay unit without rows.at is rejected unless its decoder is json_array. That decoder reads the whole body as rows. Otherwise, a document unit would load and land twice. It would never be blanked when the feed has rows.

docs/evaluating.md says feodo-c2 rows land in dfe.feodo-c2. A seeding test checks that a replay unit is added to each fetcher with captured polls. It checks that the others are unchanged.
@catinspace-au
catinspace-au merged commit 3d1956c into main Nov 17, 2026
16 checks passed
@catinspace-au
catinspace-au deleted the fix/demo-feodo-replay branch November 17, 2026 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant