It has been quiet since the last post, so here is where things are.
The short version: every state machine figure in the AX.25 spec is now held as data, and the main one, the Data Link machine, is checked by two independent tools. The largest run of those checks is 9 cases away from finishing, with no disagreement between the tools and nothing new found. What comes next is less computing and more conversation: the working group deciding what to do about the open issues, then the fixes, then a release candidate. There is no date for 2.3.0 yet.
Everything is tracked in the v2.3 epic.
Where it stands
Transcription is done. All six machines in Annex C (Data Link, Management Data Link, Link Multiplexer, Segmenter and Reassembler, and the two physical machines) are transcribed from the figures, 30 figures in all. Each page was transcribed twice, independently, and every difference was settled against the drawing. That was merged on 11 November.
The Data Link machine is checked. That was the subject of the last post: two tools that must agree, now 237 of its 280 table rows reached by both with the rest listed with reasons, and a second reading of what every box means, written from the spec text alone.
The issue list has grown, which is the point. When the epic started on 20 October there were 59 open issues. Today there are 114 open and 21 closed. 61 of the open ones are figure defects, up from 13, and 19 are proposals. Several of the new defects are things the 2017 redraw of the figures lost or swapped, found by comparing against the July 1998 edition. The newest is #183: two stations whose connect requests cross can come up disagreeing about the modulus.
What is running now
The checks in the last post ran 188 hand-picked scenarios. Since then the same two tools have been run over grids: every combination of window size, number of frames, fault budget, kind of fault and so on, for each feature in turn. That is about 9,000 combinations for the first batch, run on rented cloud machines on 13 November for about $6.
The first pass showed 103 disagreements in one grid, which was briefly exciting. It was a bug in our own explorer, not in the protocol (ax25sdl#128), and with that fixed the tools agree.
Two grids were too big to finish that way, so they have been running on our own machines since:
- Injected SREJ frames: 384 of 384 combinations agree.
- A station whose own receiver goes busy: 375 of 384 done, all agree.
The 9 left are the largest, from about a third of a billion to over a billion states each. They are running on three machines: a server here, my desktop PC, and a box kindly lent by Tom Wardill. Thank you, Tom. They save their place every 30 minutes, and I expect them to finish in early December.
One caveat. On the very largest combinations the explorer stops at 4 million states while the model checker (TLC) explores everything, so those are compared on the kind of verdict rather than state for state.
No new figure defect has come out of the grids. That is a result worth having: a much wider sweep finds the same problems the hand-picked scenarios found, and no others. The current status is in ax25sdl#112.
What comes next
This is the plan, in rough order. It is a plan, not a set of promises, and several steps are the working group’s to decide, not mine.
- Decisions. Agree how a change to the normative text or figures gets approved for 2.3.0. Then give each of the 18 proposals a recorded decision: in 2.3.0, deferred, or rejected, with reasons. Four older pull requests are also still waiting for review.
- Fixes. Work through the figure defects in order of how much harm each does on a live link. Every fix has to flip its own test from failing to passing, or it is not proven.
- The other machines. The checks cover the Data Link machine only. The intention is to extend both tools to the rest before release, starting with the Management Data Link and the Link Multiplexer.
- Real implementations. None of the findings has yet been reproduced against software people actually run. Comparing LinBPQ, Dire Wolf and the Linux stack against the same scenarios is #104.
- Release. Editorial fixes, a PDF generated from the source, a complete “Changes from Version 2.2” table, then a release candidate with a public review window, including reviewers briefed to try to break it, before anything is tagged 2.3.0.
How to help
Read the figure defects and say if one is wrong, or if your implementation already handles it. Comment on the proposals you care about before they are decided. Thomas Habets has just done that kind of thing: he noticed that multi-frame SREJ is listed in XID but never specified (#184) and has proposed wording for it (#185), which is welcome.
I’ll post again when the grids finish.