Repository navigation
PASS
Inputs. Re-review of #3592 at ae5112d6, on arch 8b824707, the same arch as every earlier ruling on this PR. The latest ruling that is not a FAIL or a CONFIRM is the PASS at 9abdfdb6. since-conditions.json is empty after that PASS, so no condition is open and the compare is enough. I checked that since.diff equals git diff 9abdfdb6..ae5112d6. It holds one commit, ae5112d6, and edits only crates/minvmd/src/net/dns_pins.rs and crates/minvmd/src/net/egress_gate.rs. No findings.json was staged.
Governs: networking design §5.3 line 146 (a name the box did not declare is refused) and §7.1 line 245 (the LocalVM host-side helpers implement the EGW contract's semantics).
Ruling. The compare makes two edits. (1) dns_pins::tcp_first_fragment_refusal drops a TCP frame with IPv4 MF set to a decided row's resolver, keyed on the summary's source, destination, protocol and destination port through the existing decided_row_at. relay_frames_to_switch calls it after unreadable_datagram_refusal and before DnsTcpStreams::decide. Before this commit, a first fragment that ended before the TCP flags byte made parse_ipv4_l4 return None, so it skipped decide and went on to the switch. That was an undecided path to the resolver. Now it is refused, which is the §5.3 fail-closed reading. The summary reads the port on any first fragment with at least 4 bytes of L4 header (boxes::core::egress::summarize, line 672). A first fragment with MF set carries its L4 payload in 8-byte units, so every fragment that can reassemble is decided. (2) dns_tcp.commit(advance) moved into the Ok(()) arm. This changes no behaviour: the old Full arm already ended with continue before the commit, as git show 9abdfdb6 shows. The new comment states the invariant, and tcp_dns_segment_dropped_at_a_full_queue_leaves_the_connection_as_it_was pins it. The new test allow_list_row_tcp_short_first_fragment_never_reaches_the_switch asserts that the fragment is dropped, the whole segment passes, the warn line names <fragment>, and the guest gets nothing back. The test proves the gate and does not relax it (rule 3). The warn line uses the same DnsQueryRefusal record and limiter as the other refusals, so the audit shape does not change. Placement stays in minvmd's net module beside the other host-side refusals (rule 8). Nothing crosses a guest or host boundary (rule 10).
Not checked. I did not build or run the two new tests (the instructions do not allow a compile). Whether gvproxy refuses overlapping IP fragments, which matters only for a first fragment shorter than 4 bytes of L4 header, is outside this compare and is unchanged from the earlier PASS.
Ruled at ae5112d against gominimal/arch@8b824707cde6 by claude-opus-5-5; arch_rulings 1510, job ad5d2aaf-059b-488a-90a9-494b07e019da.