You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ringkasan praktis untuk pemilik aplikasi — diperbarui 20 November 2026.
Tanda [x] berarti tahap tersebut sudah ada buktinya; [ ] hanya bagian yang belum terverifikasi. Ini bukan daftar pekerjaan yang harus Anda lakukan sendiri.
Yang sudah selesai dan yang belum — bahasa sederhana
Status sederhana: software monitor sudah ada; uji sambungan fisik masih belum terbukti selesai.
Penerimaan fisik: sambungkan perangkat uji yang diizinkan, periksa 2/4 jalur, pastikan monitor tidak mengirim data, bandingkan jumlah frame dengan alat referensi, lalu periksa stabilitas saat lama berjalan. Tidak ada laporan lengkap yang membuktikan seluruh rangkaian ini lulus.
Siapa mengerjakan: pengembang menyiapkan skrip dan langkah uji; pengujian perangkat hanya dilakukan saat perangkat tersedia, tidak perlu sekarang. Jika Anda pernah mengujinya, rekam hasil per skenario; satu skenario lulus tidak perlu diulang hanya demi menutup checklist lain.
Yang perlu Anda lakukan sekarang: tidak ada. Issue tetap terbuka untuk bukti perangkat yang memang belum ada.
Catatan teknis dan sejarah implementasi (dipertahankan)
Design baseline — completed 2026-10-27
Design PR #20 on branch design/iec101-passive-monitor-independent IEC-101 reference-ard-20261027 contains the implementation documents:
State: design committed; implementation and field FAT still pending. PR #20 is draft until review. Two COM monitor one physical duplex link; four COM monitor both redundant links. Distinguish RX-only software controls from physical TX/RTS/DTR isolation. Don't use the IEC-103 ASDU decoder for IEC-101. The roadmap now prioritizes field-critical serial IEC-101 before previously-planned IEC-104 passive PCAP.
P0 integrated GUI delivered and merged into master (2026-10-27)
User-facing entry point is ARIEC60870.Desktop → left rail → Sniff RX. No CLI required. Implemented in PR #21 (merged as commit c28a24ac995b7824bcdbeabc224b68e7e4fb4630). Design PR #20 also merged (7f14847).
Verified final implementation head 387379582e7ba08730ff2923c2c562c3acce6925:
GUI includes two COM setup, Start/Stop, activity bytes for each direction, sampled HEX chunks, safety gate, manifest, CRC/offset/SHA verification and Open Capture Folder. The raw disk archive remains independent of the bounded UI feed.
Closing the monitor or main app triggers journal finalization before shutdown.
P0 delivered at software level. Hardware electrical non-interference and long serial capture FAT not completed, so remain an explicit field gate.
Next work P1: continuous IEC-101 frame parsing / decoded traffic timeline / 101 ASDU decoder migration / .ariec V2 export and offline replay. Avoid describing sample chunks as complete IEC-101 telegrams.
2026-10-27 — P0 GUI routing fixed per field UX requirement (merged)
PR #22MERGED to master as c54e058057eb838a538031e6e6b1388508b74b69.
User entry is existing Setup → Protocol Profile dropdown → IEC 60870-5-101 — Passive Monitor (RX only); no new main-rail button or new window. The old PassiveMonitorWindow.xaml(.cs) is deleted.
Same Setup form: SCADA-TX RX COM1, separate RTU-TX RX COM2, existing baud/framing, safe RX-only wiring acknowledgment, capture folder. Active Master RTS/DTR/handshake / polling / command configuration hidden.
Existing main Connect button becomes Record RX / Stop RX in passive mode; existing Trace button opens the embedded raw preview; active Master mode, command dock and regular Trace restored on mode change.
GUI verification: real MainWindow WPF smoke switched passive→active→passive and checked Setup/Trace controls. Windows CI run #40509905109 PASS: 0 warnings/0 errors, 19/19 protocol smoke, 92/92 xUnit, executable smoke, Windows x64 GUI package generated.
P0 remains raw-byte archiving. P1 framed IEC-101 decode, transaction correlation, .ariec V2 and physical tap noninterference/soak FAT remain work to do. Never claim an untested field tap is electrically safe.
The user requested a simple, premium, calm GUI. PR #23 is merged to master as ef0a3224b686334858a67acce4752520fc177a0c.
Removed "Approved RX-only" mandatory checkbox and removed the blocking checks in Setup click, capture options and WPF session state. A checkbox never verified tap wiring.
Compact existing Setup: two COM selectors side by side in task order (SCADA TX and RTU TX), baud/serial, folder; removed duplicate long explanations, passive protocol description card and forensic/cable warning prose; retained existing app visual tokens.
Stream raw RX preview labels also simplified. No change to real serial receive-only engine or Active Master transport behavior.
Final Windows CI #40515620918 PASS: 0 warnings/errors, 19/19 protocol smoke, 92/92 xUnit and WPF GUI smoke. CodeQL, dependency and hygiene checks all PASS.
Correct electrical RX-only tap remains a hardware constraint to confirm during commissioning; it is no longer a blocking user consent form. Real-device FAT and P1 decoder remain uncompleted.
PR #24 merged to master e7bd0faf2781935b41697a39a37e47c09d6023d6.
Correction: Passive is a receive-only transport mode, NOT a “raw-only view”. Based on ASE2000 V2's Line Monitor / Messages / Event Log / Point Values benchmark, Passive Monitor now retains existing Frame Trace, Event Log, Values, Messages, Findings, Report and separately Capture for raw recording and integrity.
Implemented: per-direction incremental FT1.2 boundary scanner (10/68/E5/A2) with chunk-split handling, checksum, noise, malformed/partial handling at idle/EOF. Decoder uses actual Master.Protocol.Iec10xAsduDecoder (NOT IEC-103 AsduDecoder). Byte-accurate raw journals preserved; derived per-direction frame indexes; existing UI event pipeline receives observed SCADA/RTU frames; multi-object ASDUs populate Values; spontaneous data populates Event Log; active Master unchanged. Extra IEC-101 field widths adjustable in Setup.
Verified: Windows CI run #40577210617 green: Release build 0 warnings/0 errors; 19/19 protocol smoke; 96/96 xUnit including Monitor 11/11; Windows GUI smoke includes synthetic IEC101 ASDU flowing to Trace+Events+Values. CodeQL/dependency/hygiene green. GUI Windows x64 bench artifact SHA256 verified.
Not claimed: full ASE2000 feature parity, physical serial tap FAT/2hr soak, cross-path failover proof, robust master/RTU request-response correlator and precise latency, or full .ariec V2 offline playback. These remain on #19; real SICAM–ETERA evidence test is pending.
PR #25 merged to master at 51a50a7fcda060a5ac39dcf82f7785f80ba626da. This addresses the field screenshot where selecting Passive mode hid 7 important left-side tools.
Left rail restored: Setup, Record/Stop RX, Report, Open Cap, Save View (selected decoded .ariec), Trace TXT, Auto, Clear, Signals and Help. Sidebar is scrollable at minimum supported window height. Opening a different .ariec archive is disabled while live passive recording to avoid overwriting the live decoded view.
Full forensic raw capture remains independent in Capture → Open Folder; Save View is just selected decoded rows, not a replacement for full raw journal.
UART: 8E1 / 8N1 / 8O1 / 8E2 / 8N2 / 8O2, editable 300–921600 baud (actual adapter support varies); both COMs share framing on a single duplex link. 8-bit-only is an explicit limitation of this byte-oriented implementation.
IEC-101 decode profile: Link Address 0/1/2, COT 1/2, CA 1/2, IOA 1/2/3, Link Mode Auto/Balanced/Unbalanced (observation metadata only), configurable partial frame gap 100–10000ms (default 900). Settings persisted in operator setup and capture manifest.
Verified:Windows CI #40580980705 PASS: Release 0 error/0 warning, protocol smoke 19/19, xUnit 97/97, real WPF MainWindow smoke verifies all 7 tools restored plus 1200 baud/8E2/Balanced/gap=1500 profile. CodeQL, dependency and hygiene PASS. Portable GUI build inner ZIP SHA256/integrity verified.
Field reference: docs/IEC101_PASSIVE_FIELD_SETUP_MATRIX.md. Full offline binary journal replay, 4-COM dual redundant monitor and real SICAM/ETERA tap FAT still pending.
2026-10-28 — P2A complete: verified full offline raw journal replay in GUI
PR #26 MERGED into master (18926411fc35cf8695dc8095a7dd38b0f1cd5756).
Existing Open Cap now accepts a full IEC-101 two-COM raw capture manifest.json (alongside original .ariec excerpts). Rebuilds the original Frame Trace / Events / Values with saved decoder field widths and direction labels. No COM device needed, no TX.
New PassiveJournalReplay in Monitor streams byte-exact binary journals from two bounded source cursors and validates per-record CRC/sequence plus manifest SHA256/chunk/byte totals BEFORE producing any decoded frame. Secondary frames-XX.jsonl files are not trusted or required.
xUnit capture→journal→replay roundtrip (arbitrary UART splits), re-decode without frame indexes, corruption denial and cancellation. Windows CI #40585433886 PASS; Windows x64 GUI artifact, checksum verified. CodeQL, dependency and hygiene PASS.
Field operator docs: docs/IEC101_PASSIVE_OFFLINE_REPLAY_P2A.md.
Next P2B: pure Master↔RTU request/response correlator, FCB/FCV/ACD/DFC, retry/timeout, tentative switch patterns, linked evidence in existing Trace/Findings. Detailed ARD/acceptance issue #27. Two COM observe only one duplex link; 4 COM and real SICAM–ETERA FAT still separate pending gates.
2026-10-28 — P2B first full engine+GUI milestone merged (#28)
PR #28 MERGED to master at d690505f4996ff72dd95af449f49f10c82cfd80e.
Implemented:
Pure PassiveIec101TransactionCorrelator inside Monitor, no WPF/active Master dependence, bounded by link count with explicit eviction; observes two physical RX transmitter directions and correlates FC0/1/3/7/9/10/11 request/reply using valid link address, PRM, FC, FCB/FCV and host receive timestamp window. Explicit retry/timeout/supersession/unknown reply/negative/ACD/DFC/FCB handling; addressless ACK ambiguous when multiple candidates. Correct E5 ACK vs FC9 No Requested Data; A2 valid negative single character.
Full writer-side output: transactions.jsonl derived evidence journal independent of bounded UI preview; existing Frame Trace annotation and Findings, no separate window/button.
Verified P2A offline replay re-derives transaction interpretations from full raw journals using same pure correlator. Events link back to original stream ID+raw byte offset; not fabricated physical latency.
Performance hardening: GUI-only repeated findings coalesced for 3s per kind/address and capped at 20/s; all transaction journal evidence saved without UI filtering.
CI #40589861170 SUCCESS: warnings-as-errors Release, 19/19 protocol smoke, 114/114 xUnit (Monitor 29/29), actual MainWindow smoke, CodeQL/dependency/hygiene. Portable Win x64 build, SHA256 of inner app package verified 4abf97650a75ac227d4852f5bd04d63915de438c75fbb8570b8c6464a3cbdd57.
Still open: 2-hour field soak/physical non-interference test on approved RS232 tap; four RX channels for both redundant A/B circuits, dedicated multi-link timeline/watermark for cross-USB host timestamp reordering, multi-outstanding balanced mode policy, indexed offline large captures and root-cause report. No proof of actual ETERA ~30s switchover cause yet.
2026-10-28 — P2C milestone completed and merged (#31)
PR #31 MERGED at master 943bd87d88cf83f41243e07bd24c2aabe950b062.
Delivered: verified, non-destructive re-decode of full two-COM IEC-101 raw journal with operator-selected decoder profile. Existing Open Cap chooses session manifest.json; when saved/Setup profiles differ, existing themed dialog offers saved default / current Setup override / cancel. Profile covers Link Address 0/1/2 octets, COT 1/2, CA 1/2, IOA 1/2/3, link mode and partial gap; reuses same FT1.2 scanner, ASDU decoder and transaction correlator. Both binary stream files, manifest and SHA256 remain unmodified.
Reliability: explicit diagnostic when raw verification passes but profile yields zero valid IEC-101 frames; separates raw integrity from protocol interpretation. Windows GUI records original/effective profiles with provenance in session log and Diagnostics; no serial devices or active master TX opened during replay. Independent tests capture 2-octet fixed messages via fragmented read chunks and verify original -> wrong 1-octet -> original replays, exact unchanged binary manifest/journal and valid checksum.
CI #40605887543 PASS: Release build, 19/19 protocol smoke, 118/118 xUnit (Monitor 33/33), real MainWindow GUI smoke, CodeQL, dependency review, hygiene. Portable Windows x64 build verified nested ZIP and included ARIEC60870.Desktop.exe, SHA256 15db8099fb05a0693f5a025c163a9f6cacea1e258653bbcae489a8a71494614a.
Remaining high-impact #30 scope: ASDU Type100 GI lifecycle/ACTCON/ACTTERM and unknown-link-function policy; evidence-rich failure timeline from full raw transaction journal with USB cross-port timing uncertainty; four-COM simultaneous A/B monitoring, physical non-interference, and multi-hour hardware soak/FAT. Do NOT claim real ETERA/SICAM root cause or ASE2000 electrical line-timing parity from simulated tests.
PR #32 merged into master d79a9c488c001dcbb1904e166adf8fbf1121b444.
Implemented
Pure bounded PassiveIec101GiTracker in Monitor (no GUI/Active Master/TX). Recognizes IEC-101 General Interrogation Type100 / COT6 activation, COT7 positive/negative ACTCON, RTU interrogation data COT20..36 and Type100/COT10 ACTTERM; correlates CA/OA/QOI, physical stream and source byte offsets. Handles repeat/supersession, timeout vs truncated capture, orphan confirmation, negative confirmation, malformed and checksum invalid.
Integrated into full, lossless raw journal writer, before preview backpressure. All GI phases are durable in gi-events.jsonl, GUI uses bounded nonblocking channel. Derived index is independently reproducible from a SHA-verified raw journal.
Existing Frame Trace / Findings, same premium GUI, no new window/button/sidebar. Normal GI phase annotates Trace; unusual GI becomes an evidence-linked Finding, not a fake RTU SOE. Replay and live share GI rules; P2C saved-vs-Setup decoder overrides respected.
Acceptance test coverage: full successful GI, data aggregation, negative ACTCON, orphan ACTTERM, repeated GI, CA/QOI mismatch, bad checksum, no ACTTERM timeout vs pending at end, 2-octet link width + custom COT/CA/IOA, per-CA session capacity, exact raw journal → delete all derived indexes → replay recomputation, GUI MainWindow smoke displaying GI lifecycle.
CI #40614910600 SUCCESS: 127/127 xUnit, 19/19 protocol smoke, warnings-as-errors Windows Release, actual WPF MainWindow GUI smoke, CodeQL, dependency review and hygiene. Portable self-contained x64 GUI artifact validated: two ZIP CRC layers and SHA256SUMS; inner SHA e24e7c4b5bc75d76b92bc6e46c3a7bc196f2997efb9a80ebf8770df573c11d86.
Open (P2E/P3 and field tests)
Source-indexed 30-second failure/switchover timeline with search and explicit host-time uncertainty; identify unknown primary function FC15 vs unsupported application Type/COT refusal (44–47), and verified no-response semantics.
4 RX COM streams (both A/B redundant serial lines) plus NUC switch-event timestamp correlation; the current 2 COM observer sees only ONE duplex circuit and cannot prove unseen A/B state.
Field FAT against SICAM A8000–ETERA, 2h+ lossless-capture soak and RS232 electrical safety checks. The new GI lifecycle is protocol-observation software, not proof of actual failover root cause; 33-bit physical idle requires separate bit-level instruments.
PR #33 MERGED to master d58892ef1fe9763c02ec063724164f4b9d8c9eb2. Reconciles previous milestones P0 RX-only capture → P1 decoded Trace/Values/Events → P2A verified full binary replay → P2B request/response correlator → P2C non-destructive decoder override → P2D GI lifecycle → P2E 5-second forensic communication windows. Active Master unchanged; no GUI navigation regression.
What was delivered:
Pure bounded PassiveIec101FailureTimeline in Monitor. Counts both RX sources, Class1/2 polls, Link Status FC9→FC11, short E5, unknown primary FC/secondary FC15, retries/timeout/unmatched/DFC, GI activations/completions/exceptions, invalid frames and first original stream/byte offset. No assertion about unobserved redundant link or NUC state.
Lossless journal-writer pipeline persists full timeline-windows.jsonl; bounded 64-window UI notification channel only. Writer reuses output scratch buffers across read chunks. 5-second windows expose actual no-observation intervals; >12 consecutive empty windows compressed into one interval with exact count, avoiding unbounded processing on large timestamp gaps. USB host timestamp inversion explicitly flagged.
The existing Capture status displays current 5-second summary; abnormal windows generate source-offset-linked entries in existing Diagnostics, not a new tab/window. Verified offline replay reproduces timeline from original binary journals with preserved provenance after derived indexes deleted.
Added 7 pure timeline tests plus raw-writer/verified-replay parity and WPF MainWindow smoke. Performance/retention docs and new docs/IEC101_PASSIVE_FAILURE_TIMELINE_P2E.md updated.
Windows CI #40618244056 ALL PASS: 19/19 protocol smoke, 134/134 xUnit (Monitor 49), warnings-as-errors Release, real WPF smoke, CodeQL, dependency, hygiene. Windows x64 GUI artifact checked outer/inner ZIP CRC and executable; inner SHA256 21b8120d0f5365da6c69bc66bcecb7f6d5022b1b12eaed89d0262b6b62b7de79 matches SHA256SUMS.
Remaining significant work: (a) indexed multi-day timeline seek/search & click-through to raw byte frame/transaction, (b) 4 simultaneous RX sources to observe BOTH A/B redundant full-duplex circuits, (c) NUC role and IEC104 correlation using grounded external logs, (d) 2-hour hardware soak and electrical noninterference FAT. A two-COM single-link recording cannot establish actual dual-path hot-standby switching or 33-bit electrical idle.
PR #34 merged to master d3c2e5bd6b9d913a78d5d03a9ecdcc7b8be662e1 (tested head 8fe94aaa369fb33125a4de9f2f64a2092c7104fc). Integrates with preceding P0 through P2E without new window/buttons or touching Active Master IEC101/103/104 TX.
Delivered: existing Setup Passive Monitor opt-in two redundant circuits using four independent RX-only COMs: A SCADA/RTU TX = 0/1, B SCADA/RTU TX = 2/3; A-only 2-RX remains default and original 2-RX archives stay compatible. Duplicate COM / missing half-link / per-link UART mismatch rejected; setup persistence and COM Refresh updated. Four dedicated readers feed one disk-backed bounded archival channel, independent FT1.2 scanners and original 40-byte CRC32/sequence/offset APM1 journals per receiver. Final manifest declares two/four physical RX directions and verifies SHA256 for each; offline replay merged from all 2/4 original raw streams with per-input order and host-receipt-time caveat.
Pure P2B/P2D engine state distinguishes stream pair: E5/fixed replies/GI ACTCON and ACTTERM from B cannot resolve an A request even when CA/link address matches; P2E time-window analysis is independent per circuit with CircuitId. Frame Trace and Raw preview explicitly label Link A/B, Value Viewer signal keys include physical circuit to avoid cross-link overwrite, and existing Capture counters keep Link B visible as 0 bytes during standby.
CI:Windows #40621704595 all green: 138/138 xUnit (Monitor 53/53), 19/19 protocol smoke, Release/format, real WPF GUI smoke, CodeQL, dependency review, hygiene. Verified portable Windows x64 GUI artifact: outer/inner ZIP CRC and SHA256 d9f16db7489a460da5732f4007488a142f3106ec57dbea4257ce02b15fc73a88 matches bundled checksum and includes ARIEC60870.Desktop.exe.
Still open: real approved high-impedance/isolation tap FAT, 2h+ lossless 4-RX field soak, independent timestamp calibration, NUC hot-standby state-event/IEC104 status import, indexed multi-day timeline click-to-exact raw frame/byte. Four USB receivers show both observed serial activities but do NOT reveal NUC's private failover decision or certify electrical 33-bit idle timing without external source.
PR #35 merged at master 2ad9a127cc12aa79d55f30062a3f93d07b6299f2. Latest base included PR #34 4-COM A/B monitor already merged; this deliberately preserves P0–P3 and Active Master, no new WPF window/buttons.
Confirmed code defects corrected:
Passive Monitor's own 160ms RefreshPassiveUi did not call FlushUiQueues; frame evidence was queued but not reliably visible in existing Frame Trace/Values/Event Logs. It now flushes the adaptive batched WPF pipeline every passive timer tick, even with the raw-preview Freeze option.
FT1.2 scanner's ShiftOne discarded unrecognized bytes from interpreted trace (though preserved raw). It now emits bounded ≤128-byte Noise candidate records with original stream offset and hexadecimal bytes, rather than appearing idle. Exact original journal remains authority.
With a configured Link Address=1, valid 2-octet fixed Link Status/ACK could vanish. Valid alternative 0/1/2-octet fixed frames now emit LinkWidthMismatch with actual detected address width, checksum, original bytes, and actionable Setup/replay guidance; this does not silently change decoder profile, and variable frame width still requires interoperable configuration.
Writer and verified replay pass through the additional diagnostic metadata; transaction and GI engines don't treat mismatched/noise candidates as valid transactions. Existing Frame Trace shows Noise/LinkWidthMismatch under RX Warning. Normal FC9/FC11/E5 frames show automatically when their configured framing is correct.
CI #40624137423 PASS: warnings-as-errors Release, 19/19 protocol smoke, 141/141 xUnit incl Monitor56, actual Windows WPF MainWindow smoke checking Noise and width-mismatch in Trace, CodeQL, dependency and hygiene. Self-contained Windows x64 GUI artifact, ZIP and nested SHA256 validated (inner 0d9bf5ee7ac526fa4323c8fdd1fd1db97a4a0fafea232fd1db3f83b0836a41b6).
Root cause of user-observed GUI stalling is fixed in code; real SICAM A8000 / ETERA serial field FAT is still pending. Receiving no COM bytes requires checking isolated RS232 tap wiring and port source, not guessing data. If byte counts advance but only Noise/WidthMismatch appears, verify 8E1/baud, Link Address 2 octet vs 1, COT/CA/IOA, and check the raw journal. Document docs/IEC101_PASSIVE_LIVE_TRACE_P0_HOTFIX.md.
2026-10-28 P3A integration reconciliation and P3B replay optimization merged
Latest master: 748e235d363c42e3fa987e5d4c96ad7ba0cece4c after PR #36. Cross-thread audit found P3 true four-COM redundant A/B capture had already been merged in PR #34 and stream/Frame Trace diagnostic repair in PR #35. The earlier duplicate four-COM implementation idea was abandoned to avoid overwriting other threads. Only verified performance improvements against their newer merged master were submitted.
The completed PR #36 makes verified offline replay allocate one bounded 16,384-byte payload array per RX direction, not one payload array per raw chunk, and one reusable frame-candidate list per replay. Raw frame objects still retain independent byte copies and correct offsets. No format change, serial TX, WPF layout change, or merge of redundant circuits' link states. Amplified existing four-COM regression to 37 frames per stream, 148 frames total, all checksum/bytes/offsets compared and original journal integrity verified. Older 2-COM captures continue replaying.
CI #40627263101 ALL GREEN: warning-gated Windows Release, protocol smoke 19/19, xUnit 141/141 (Monitor 56/56), actual WPF smoke, CodeQL, dependency review and hygiene. Windows x64 desktop artifact inner ZIP and outer ZIP CRC pass, SHA256 9d7ce08fd288e311f0156a26a5ea931c434e489ceb30de8f1836b9ceba8b017d and executable verified.
Next priority: actual dual-circuit A/B transaction-level forensic view with human-readable switch-candidate markers and explicit uncertainty, searchable on-disk timeline (not just 5s status roll), and real 4-COM SICAM A8000–ETERA hardware soak. Never call timing or NUC switching proved without appropriate physical evidence.
The documented software baseline has P3 FOUR RX A/B ALREADY MERGED (#34), P0–P2E, frame-trace fix #35 and replay perf #36; latest tested prior code commit 748e235 has 141/141 xUnit, 19/19 smoke, CodeQL, hygiene, portable x64 GUI artifact. Do not continue stale P3 feature branches or resurrect uncommitted blob drafts.
Next value: multi-day indexed/paged evidence timeline and exact jump to original stream/frame offset with A/B comparative observation, no invented proof of NUC failover. Physical passive-tap safety/FAT and endurance capture remain pending. See doc for complete architecture, constraints, acceptance and copy/paste prompt.
FAT-01 executable field readiness merged — 2026-10-31
Master:73c2306a6a410ec383f34bd8d23d839bdc3f205c (PR #74, squash of exact head ac973ea13c80b70522b8eb00a67e70c2854df20d). Software Windows CIrun 41153925645 SUCCESS: release, format, xUnit, 19 protocol smoke, GUI WPF acceptance, packaging and dedicated field-CLI smoke. CodeQL 41153925612 SUCCESS; dependencies/hygiene SUCCESS; all PR review threads resolved. Old Path.Combine code-scanning findings corrected to Path.Join.
Deliverables: existing GUI engine unchanged; added pure typed PassiveFieldCapturePlan, 2/4 independent RX COM CLI commands list-ports/preflight/capture/verify, 1200-bps/8E2 plus supported parameter validation, explicit Link A/B direction identity, bounded duration, strict duplicate/partial port rejection and Windows COM inventory check (NO COM open during preflight), full raw journal in CLI capture, per-source SHA256/CRC verification, field-summary.json advisory outcomes, xUnit negative tests, docs/IEC101_FIELD_RX_FAT_QUICKSTART.md bench instructions.
Remaining physical FAT—NOT DONE: approved isolated RX-only tapping, 1200baud full-duplex 2-COM and A/B 4-COM multi-hour capture, real USB driver error/loss characterization, Stop/reopen, exact raw frame counts against independent reference, GUI legibility at true monitor DPI, and separately-authorized active IEC101/103/104 interoperability. Never assume observing bytes means a real RTU link passed GI or controls; monitor outputs TXD/RTS/DTR must be physically isolated. Continue Issue #19 as physical FAT umbrella; do not recode 2/4 engine.
Not planned / archived; physical RX-only isolation FAT NOT completed. The IEC-101 passive 2/4-COM monitor, original raw journaling, replay and project-specific tooling already shipped through historic PRs #34/#74 and subsequent stable versions. The outstanding field-gate remains genuine two-/four-channel RX-only electrical isolation, verified 1200-bps hardware source separation, independent frame-count parity, long soak, and A/B real wiring acceptance. Software configuration claiming zero TX is not equivalent to instrument-verified no electrical transmission/RTS/DTR activity. No full FAT was performed by this housekeeping action. The issue's design/acceptance history remains accessible; reopen if hardware test evidence is ready.
Activity
masarray commentedon Oct 27, 2026
P0 software milestone committed and CI proven (27 Oct 2026)
099ba5b), isolated Monitor/Cli code + tests. Design docs stay in PR docs: independent IEC-101 reference-benchmarked IEC-101 passive forensic monitor PRD, ARD and compact UX #20.masarray commentedon Oct 27, 2026
P0 integrated GUI delivered and merged into
master(2026-10-27)User-facing entry point is ARIEC60870.Desktop → left rail → Sniff RX. No CLI required. Implemented in PR #21 (merged as commit
c28a24ac995b7824bcdbeabc224b68e7e4fb4630). Design PR #20 also merged (7f14847).Verified final implementation head
387379582e7ba08730ff2923c2c562c3acce6925:ARIEC60870.Desktop.exe --passive-gui-smokeruns in Windows CI without opening COM..ariecV2 export and offline replay. Avoid describing sample chunks as complete IEC-101 telegrams.Keep issue open as P1–P4 tracking.
masarray commentedon Oct 27, 2026
2026-10-27 — P0 GUI routing fixed per field UX requirement (merged)
masterasc54e058057eb838a538031e6e6b1388508b74b69.PassiveMonitorWindow.xaml(.cs)is deleted.masarray commentedon Oct 27, 2026
2026-10-27 — Passive Monitor Setup simplified (PR #23 merged)
The user requested a simple, premium, calm GUI. PR #23 is merged to
masterasef0a3224b686334858a67acce4752520fc177a0c.masarray commentedon Oct 27, 2026
2026-10-28 — P1 interpretive Passive IEC-101 GUI: software integration milestone MERGED
PR #24 merged to master
e7bd0faf2781935b41697a39a37e47c09d6023d6.Correction: Passive is a receive-only transport mode, NOT a “raw-only view”. Based on ASE2000 V2's Line Monitor / Messages / Event Log / Point Values benchmark, Passive Monitor now retains existing Frame Trace, Event Log, Values, Messages, Findings, Report and separately Capture for raw recording and integrity.
Implemented: per-direction incremental FT1.2 boundary scanner (10/68/E5/A2) with chunk-split handling, checksum, noise, malformed/partial handling at idle/EOF. Decoder uses actual Master.Protocol.Iec10xAsduDecoder (NOT IEC-103 AsduDecoder). Byte-accurate raw journals preserved; derived per-direction frame indexes; existing UI event pipeline receives observed SCADA/RTU frames; multi-object ASDUs populate Values; spontaneous data populates Event Log; active Master unchanged. Extra IEC-101 field widths adjustable in Setup.
Verified: Windows CI run #40577210617 green: Release build 0 warnings/0 errors; 19/19 protocol smoke; 96/96 xUnit including Monitor 11/11; Windows GUI smoke includes synthetic IEC101 ASDU flowing to Trace+Events+Values. CodeQL/dependency/hygiene green. GUI Windows x64 bench artifact SHA256 verified.
Not claimed: full ASE2000 feature parity, physical serial tap FAT/2hr soak, cross-path failover proof, robust master/RTU request-response correlator and precise latency, or full .ariec V2 offline playback. These remain on #19; real SICAM–ETERA evidence test is pending.
masarray commentedon Oct 27, 2026
2026-10-28 — P1 field UI restored and merged
PR #25 merged to
masterat51a50a7fcda060a5ac39dcf82f7785f80ba626da. This addresses the field screenshot where selecting Passive mode hid 7 important left-side tools.docs/IEC101_PASSIVE_FIELD_SETUP_MATRIX.md. Full offline binary journal replay, 4-COM dual redundant monitor and real SICAM/ETERA tap FAT still pending.masarray commentedon Oct 27, 2026
2026-10-28 — P2A complete: verified full offline raw journal replay in GUI
PR #26 MERGED into
master(18926411fc35cf8695dc8095a7dd38b0f1cd5756).manifest.json(alongside original.ariecexcerpts). Rebuilds the original Frame Trace / Events / Values with saved decoder field widths and direction labels. No COM device needed, no TX.PassiveJournalReplayin Monitor streams byte-exact binary journals from two bounded source cursors and validates per-record CRC/sequence plus manifest SHA256/chunk/byte totals BEFORE producing any decoded frame. Secondaryframes-XX.jsonlfiles are not trusted or required.docs/IEC101_PASSIVE_OFFLINE_REPLAY_P2A.md.Next P2B: pure Master↔RTU request/response correlator, FCB/FCV/ACD/DFC, retry/timeout, tentative switch patterns, linked evidence in existing Trace/Findings. Detailed ARD/acceptance issue #27. Two COM observe only one duplex link; 4 COM and real SICAM–ETERA FAT still separate pending gates.
masarray commentedon Oct 27, 2026
2026-10-28 — P2B first full engine+GUI milestone merged (#28)
PR #28 MERGED to
masteratd690505f4996ff72dd95af449f49f10c82cfd80e.Implemented:
PassiveIec101TransactionCorrelatorinside Monitor, no WPF/active Master dependence, bounded by link count with explicit eviction; observes two physical RX transmitter directions and correlates FC0/1/3/7/9/10/11 request/reply using valid link address, PRM, FC, FCB/FCV and host receive timestamp window. Explicit retry/timeout/supersession/unknown reply/negative/ACD/DFC/FCB handling; addressless ACK ambiguous when multiple candidates. Correct E5 ACK vs FC9 No Requested Data; A2 valid negative single character.transactions.jsonlderived evidence journal independent of bounded UI preview; existing Frame Trace annotation and Findings, no separate window/button.4abf97650a75ac227d4852f5bd04d63915de438c75fbb8570b8c6464a3cbdd57.docs/IEC101_PASSIVE_TRANSACTION_CORRELATOR_P2B.md.Still open: 2-hour field soak/physical non-interference test on approved RS232 tap; four RX channels for both redundant A/B circuits, dedicated multi-link timeline/watermark for cross-USB host timestamp reordering, multi-outstanding balanced mode policy, indexed offline large captures and root-cause report. No proof of actual ETERA ~30s switchover cause yet.
masarray commentedon Oct 28, 2026
2026-10-28 — P2C milestone completed and merged (#31)
PR #31 MERGED at master
943bd87d88cf83f41243e07bd24c2aabe950b062.Delivered: verified, non-destructive re-decode of full two-COM IEC-101 raw journal with operator-selected decoder profile. Existing Open Cap chooses session
manifest.json; when saved/Setup profiles differ, existing themed dialog offers saved default / current Setup override / cancel. Profile covers Link Address 0/1/2 octets, COT 1/2, CA 1/2, IOA 1/2/3, link mode and partial gap; reuses same FT1.2 scanner, ASDU decoder and transaction correlator. Both binary stream files, manifest and SHA256 remain unmodified.Reliability: explicit diagnostic when raw verification passes but profile yields zero valid IEC-101 frames; separates raw integrity from protocol interpretation. Windows GUI records original/effective profiles with provenance in session log and Diagnostics; no serial devices or active master TX opened during replay. Independent tests capture 2-octet fixed messages via fragmented read chunks and verify original -> wrong 1-octet -> original replays, exact unchanged binary manifest/journal and valid checksum.
CI #40605887543 PASS: Release build, 19/19 protocol smoke, 118/118 xUnit (Monitor 33/33), real MainWindow GUI smoke, CodeQL, dependency review, hygiene. Portable Windows x64 build verified nested ZIP and included ARIEC60870.Desktop.exe, SHA256
15db8099fb05a0693f5a025c163a9f6cacea1e258653bbcae489a8a71494614a.Engineering handoff:
docs/IEC101_PASSIVE_REDECODE_PROFILE_P2C.md.Remaining high-impact #30 scope: ASDU Type100 GI lifecycle/ACTCON/ACTTERM and unknown-link-function policy; evidence-rich failure timeline from full raw transaction journal with USB cross-port timing uncertainty; four-COM simultaneous A/B monitoring, physical non-interference, and multi-hour hardware soak/FAT. Do NOT claim real ETERA/SICAM root cause or ASE2000 electrical line-timing parity from simulated tests.
masarray commentedon Oct 28, 2026
2026-10-28 — P2D GI lifecycle milestone MERGED / 127 regression tests PASS
PR #32 merged into master
d79a9c488c001dcbb1904e166adf8fbf1121b444.Implemented
PassiveIec101GiTrackerin Monitor (no GUI/Active Master/TX). Recognizes IEC-101 General Interrogation Type100 / COT6 activation, COT7 positive/negative ACTCON, RTU interrogation data COT20..36 and Type100/COT10 ACTTERM; correlates CA/OA/QOI, physical stream and source byte offsets. Handles repeat/supersession, timeout vs truncated capture, orphan confirmation, negative confirmation, malformed and checksum invalid.gi-events.jsonl, GUI uses bounded nonblocking channel. Derived index is independently reproducible from a SHA-verified raw journal.Verification
CI #40614910600 SUCCESS: 127/127 xUnit, 19/19 protocol smoke, warnings-as-errors Windows Release, actual WPF MainWindow GUI smoke, CodeQL, dependency review and hygiene. Portable self-contained x64 GUI artifact validated: two ZIP CRC layers and SHA256SUMS; inner SHA
e24e7c4b5bc75d76b92bc6e46c3a7bc196f2997efb9a80ebf8770df573c11d86.Open (P2E/P3 and field tests)
masarray commentedon Oct 28, 2026
2026-10-28 — P2E failure timeline merged (software milestone)
PR #33 MERGED to master
d58892ef1fe9763c02ec063724164f4b9d8c9eb2. Reconciles previous milestones P0 RX-only capture → P1 decoded Trace/Values/Events → P2A verified full binary replay → P2B request/response correlator → P2C non-destructive decoder override → P2D GI lifecycle → P2E 5-second forensic communication windows. Active Master unchanged; no GUI navigation regression.What was delivered:
PassiveIec101FailureTimelinein Monitor. Counts both RX sources, Class1/2 polls, Link Status FC9→FC11, short E5, unknown primary FC/secondary FC15, retries/timeout/unmatched/DFC, GI activations/completions/exceptions, invalid frames and first original stream/byte offset. No assertion about unobserved redundant link or NUC state.timeline-windows.jsonl; bounded 64-window UI notification channel only. Writer reuses output scratch buffers across read chunks. 5-second windows expose actual no-observation intervals; >12 consecutive empty windows compressed into one interval with exact count, avoiding unbounded processing on large timestamp gaps. USB host timestamp inversion explicitly flagged.docs/IEC101_PASSIVE_FAILURE_TIMELINE_P2E.mdupdated.Windows CI #40618244056 ALL PASS: 19/19 protocol smoke, 134/134 xUnit (Monitor 49), warnings-as-errors Release, real WPF smoke, CodeQL, dependency, hygiene. Windows x64 GUI artifact checked outer/inner ZIP CRC and executable; inner SHA256
21b8120d0f5365da6c69bc66bcecb7f6d5022b1b12eaed89d0262b6b62b7de79matches SHA256SUMS.Remaining significant work: (a) indexed multi-day timeline seek/search & click-through to raw byte frame/transaction, (b) 4 simultaneous RX sources to observe BOTH A/B redundant full-duplex circuits, (c) NUC role and IEC104 correlation using grounded external logs, (d) 2-hour hardware soak and electrical noninterference FAT. A two-COM single-link recording cannot establish actual dual-path hot-standby switching or 33-bit electrical idle.
masarray commentedon Oct 28, 2026
2026-10-28 — P3 redundant A/B four-COM passive monitor MERGED
PR #34 merged to master
d3c2e5bd6b9d913a78d5d03a9ecdcc7b8be662e1(tested head8fe94aaa369fb33125a4de9f2f64a2092c7104fc). Integrates with preceding P0 through P2E without new window/buttons or touching Active Master IEC101/103/104 TX.Delivered: existing Setup Passive Monitor opt-in two redundant circuits using four independent RX-only COMs: A SCADA/RTU TX = 0/1, B SCADA/RTU TX = 2/3; A-only 2-RX remains default and original 2-RX archives stay compatible. Duplicate COM / missing half-link / per-link UART mismatch rejected; setup persistence and COM Refresh updated. Four dedicated readers feed one disk-backed bounded archival channel, independent FT1.2 scanners and original 40-byte CRC32/sequence/offset APM1 journals per receiver. Final manifest declares two/four physical RX directions and verifies SHA256 for each; offline replay merged from all 2/4 original raw streams with per-input order and host-receipt-time caveat.
Pure P2B/P2D engine state distinguishes stream pair: E5/fixed replies/GI ACTCON and ACTTERM from B cannot resolve an A request even when CA/link address matches; P2E time-window analysis is independent per circuit with CircuitId. Frame Trace and Raw preview explicitly label Link A/B, Value Viewer signal keys include physical circuit to avoid cross-link overwrite, and existing Capture counters keep Link B visible as 0 bytes during standby.
CI: Windows #40621704595 all green: 138/138 xUnit (Monitor 53/53), 19/19 protocol smoke, Release/format, real WPF GUI smoke, CodeQL, dependency review, hygiene. Verified portable Windows x64 GUI artifact: outer/inner ZIP CRC and SHA256
d9f16db7489a460da5732f4007488a142f3106ec57dbea4257ce02b15fc73a88matches bundled checksum and includes ARIEC60870.Desktop.exe.ARD:
docs/IEC101_PASSIVE_DUAL_CIRCUIT_P3.md, policy updateddocs/OUTPUT_AND_PERFORMANCE_POLICY.md.Still open: real approved high-impedance/isolation tap FAT, 2h+ lossless 4-RX field soak, independent timestamp calibration, NUC hot-standby state-event/IEC104 status import, indexed multi-day timeline click-to-exact raw frame/byte. Four USB receivers show both observed serial activities but do NOT reveal NUC's private failover decision or certify electrical 33-bit idle timing without external source.
masarray commentedon Oct 28, 2026
2026-10-28 — P0 Field Hotfix: passive Frame Trace stuck / link-check bytes unseen — MERGED
PR #35 merged at master
2ad9a127cc12aa79d55f30062a3f93d07b6299f2. Latest base included PR #34 4-COM A/B monitor already merged; this deliberately preserves P0–P3 and Active Master, no new WPF window/buttons.Confirmed code defects corrected:
RefreshPassiveUidid not callFlushUiQueues; frame evidence was queued but not reliably visible in existing Frame Trace/Values/Event Logs. It now flushes the adaptive batched WPF pipeline every passive timer tick, even with the raw-preview Freeze option.ShiftOnediscarded unrecognized bytes from interpreted trace (though preserved raw). It now emits bounded ≤128-byteNoisecandidate records with original stream offset and hexadecimal bytes, rather than appearing idle. Exact original journal remains authority.LinkWidthMismatchwith actual detected address width, checksum, original bytes, and actionable Setup/replay guidance; this does not silently change decoder profile, and variable frame width still requires interoperable configuration.Writer and verified replay pass through the additional diagnostic metadata; transaction and GI engines don't treat mismatched/noise candidates as valid transactions. Existing Frame Trace shows Noise/LinkWidthMismatch under RX Warning. Normal FC9/FC11/E5 frames show automatically when their configured framing is correct.
CI #40624137423 PASS: warnings-as-errors Release, 19/19 protocol smoke, 141/141 xUnit incl Monitor56, actual Windows WPF MainWindow smoke checking Noise and width-mismatch in Trace, CodeQL, dependency and hygiene. Self-contained Windows x64 GUI artifact, ZIP and nested SHA256 validated (inner
0d9bf5ee7ac526fa4323c8fdd1fd1db97a4a0fafea232fd1db3f83b0836a41b6).Root cause of user-observed GUI stalling is fixed in code; real SICAM A8000 / ETERA serial field FAT is still pending. Receiving no COM bytes requires checking isolated RS232 tap wiring and port source, not guessing data. If byte counts advance but only Noise/WidthMismatch appears, verify 8E1/baud, Link Address 2 octet vs 1, COT/CA/IOA, and check the raw journal. Document
docs/IEC101_PASSIVE_LIVE_TRACE_P0_HOTFIX.md.masarray commentedon Oct 28, 2026
2026-10-28 P3A integration reconciliation and P3B replay optimization merged
Latest master:
748e235d363c42e3fa987e5d4c96ad7ba0cece4cafter PR #36. Cross-thread audit found P3 true four-COM redundant A/B capture had already been merged in PR #34 and stream/Frame Trace diagnostic repair in PR #35. The earlier duplicate four-COM implementation idea was abandoned to avoid overwriting other threads. Only verified performance improvements against their newer merged master were submitted.The completed PR #36 makes verified offline replay allocate one bounded 16,384-byte payload array per RX direction, not one payload array per raw chunk, and one reusable frame-candidate list per replay. Raw frame objects still retain independent byte copies and correct offsets. No format change, serial TX, WPF layout change, or merge of redundant circuits' link states. Amplified existing four-COM regression to 37 frames per stream, 148 frames total, all checksum/bytes/offsets compared and original journal integrity verified. Older 2-COM captures continue replaying.
CI #40627263101 ALL GREEN: warning-gated Windows Release, protocol smoke 19/19, xUnit 141/141 (Monitor 56/56), actual WPF smoke, CodeQL, dependency review and hygiene. Windows x64 desktop artifact inner ZIP and outer ZIP CRC pass, SHA256
9d7ce08fd288e311f0156a26a5ea931c434e489ceb30de8f1836b9ceba8b017dand executable verified.Next priority: actual dual-circuit A/B transaction-level forensic view with human-readable switch-candidate markers and explicit uncertainty, searchable on-disk timeline (not just 5s status roll), and real 4-COM SICAM A8000–ETERA hardware soak. Never call timing or NUC switching proved without appropriate physical evidence.
masarray commentedon Oct 28, 2026
2026-10-28 — NEW THREAD HANDOFF PUBLISHED (documentation-only)
Complete engineering handoff on merged master via PR #37, commit
83f472454d7b2086b44784e4b8f701e520ea7b2f.The documented software baseline has P3 FOUR RX A/B ALREADY MERGED (#34), P0–P2E, frame-trace fix #35 and replay perf #36; latest tested prior code commit
748e235has 141/141 xUnit, 19/19 smoke, CodeQL, hygiene, portable x64 GUI artifact. Do not continue stale P3 feature branches or resurrect uncommitted blob drafts.Next value: multi-day indexed/paged evidence timeline and exact jump to original stream/frame offset with A/B comparative observation, no invented proof of NUC failover. Physical passive-tap safety/FAT and endurance capture remain pending. See doc for complete architecture, constraints, acceptance and copy/paste prompt.
[-]ARD / P0–P4: IEC-101 passive dual-direction RS-232 forensic monitor (ASE2000-style, zero TX)[/-][+]ARD / P0–P4: IEC-101 passive dual-direction RS-232 forensic monitor (independent IEC-101 reference-style, zero TX)[/+]masarray commentedon Oct 31, 2026
FAT-01 executable field readiness merged — 2026-10-31
Master:
73c2306a6a410ec383f34bd8d23d839bdc3f205c(PR #74, squash of exact headac973ea13c80b70522b8eb00a67e70c2854df20d). Software Windows CI run 41153925645 SUCCESS: release, format, xUnit, 19 protocol smoke, GUI WPF acceptance, packaging and dedicated field-CLI smoke. CodeQL 41153925612 SUCCESS; dependencies/hygiene SUCCESS; all PR review threads resolved. Old Path.Combine code-scanning findings corrected to Path.Join.Deliverables: existing GUI engine unchanged; added pure typed
PassiveFieldCapturePlan, 2/4 independent RX COM CLI commandslist-ports/preflight/capture/verify, 1200-bps/8E2 plus supported parameter validation, explicit Link A/B direction identity, bounded duration, strict duplicate/partial port rejection and Windows COM inventory check (NO COM open during preflight), full raw journal in CLI capture, per-source SHA256/CRC verification,field-summary.jsonadvisory outcomes, xUnit negative tests,docs/IEC101_FIELD_RX_FAT_QUICKSTART.mdbench instructions.Windows test artifacts from verified exact-head PR: RX Field Tools ZIP (13024086864), GUI ZIP (13025035100), WPF screenshots (13025025180). Both package SHA256SUMS validated and nested ZIP archive CRCs checked. These CI artifacts expire after ~14 days, so keep appropriate local copies for FAT.
Remaining physical FAT—NOT DONE: approved isolated RX-only tapping, 1200baud full-duplex 2-COM and A/B 4-COM multi-hour capture, real USB driver error/loss characterization, Stop/reopen, exact raw frame counts against independent reference, GUI legibility at true monitor DPI, and separately-authorized active IEC101/103/104 interoperability. Never assume observing bytes means a real RTU link passed GI or controls; monitor outputs TXD/RTS/DTR must be physically isolated. Continue Issue #19 as physical FAT umbrella; do not recode 2/4 engine.
masarray commentedon Nov 21, 2026
Archive closure — 21 November 2026
Not planned / archived; physical RX-only isolation FAT NOT completed. The IEC-101 passive 2/4-COM monitor, original raw journaling, replay and project-specific tooling already shipped through historic PRs #34/#74 and subsequent stable versions. The outstanding field-gate remains genuine two-/four-channel RX-only electrical isolation, verified 1200-bps hardware source separation, independent frame-count parity, long soak, and A/B real wiring acceptance. Software configuration claiming zero TX is not equivalent to instrument-verified no electrical transmission/RTS/DTR activity. No full FAT was performed by this housekeeping action. The issue's design/acceptance history remains accessible; reopen if hardware test evidence is ready.