Repository navigation
Commit 32bce63
committed
Run the differential over all five carrier combinations
Both implementations behaved identically on every case, over tcp/tcp, tcp/tcp
with Mux, udp/udp, udp/tcp and tcp/udp. That is what row 25 asked for, and it is
where this project has twice found a protocol fact that had grown a second shape
the moment a second carrier landed.
The differential is a JVM test and QUIC lived only in an Android library, so
build-host-quic.sh compiles the same JNI sources the app ships against the build
machine. lwIP stays out of it: it is built NO_SYS against an Android port and has
no business running on a host, while the bridge depends on nothing Android at
all. The QUIC rows are skipped, loudly, when no bridge was built — two pairs
reported as four would be worse than two reported as two.
Split flows needed something the duplex ones did not, and it is the most
interesting thing here: **the framing of a UDP flow belongs to a direction, not
to a flow.** With up=udp&down=tcp the uplink sends DATAGRAMs while the downlink
is a TLS stream carrying length-prefixed packets, and with up=tcp&down=udp it is
the other way round. Framing both halves the same way is a flow that opens and
then carries nothing, which is exactly how the two split uot_round_trip cases
diverged before this.
So section 9's carriage moved out of QuicCarrier into DatagramLane, which both
carriers use. Writing it twice is how a protocol fact grows a second shape, and
the case that would have caught it is the one that found it.
One more defect the differential found on its own terms: its UDP case always
framed for a stream, so quic_uot_round_trip diverged with an
IllegalStateException while the oracle echoed 512 bytes. The case now asks the
flow which framing it wants — the same question UdpRelay asks, asked the same
way, because a case that framed for one carrier and ran on the other reports a
divergence that is only its own assumption.
The script's carrier-pairs line stopped saying "tcp/tcp only. up=udp and down=udp
select QUIC, which L1 does not implement." It names what was actually run, and
still says so when a host has no bridge.
L3: twenty-four covered, one partly, two blocked. The two left are rows 26 and
27, and they wait on the same thing — a physical device. Nothing else in L3 is
blocked on code.
Gates green; device suite 49 cases; differential 27 cases across five carriers.1 parent 93bc59e commit 32bce63
15 files changed
Lines changed: 809 additions & 197 deletions
File tree
- app
- src
- main/kotlin/eu/nodepass/somewhere
- protocol/session
- quic
- vpn
- test/kotlin/eu/nodepass/somewhere
- conformance
- protocol/session
- conformance
- cases
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
593 | 605 | | |
594 | 606 | | |
595 | 607 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments