mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-14 23:50:58 +01:00
Measured between two sandboxes: 3 packets transmitted, 3 received, 0% packet loss, 0.23 ms average. The previous commit called this broken. It was not: the dgram transport worked all along, but the odd/even pairing computed the wrong peer port for even indexes, so a VM pointed `remote.port` at a port nothing had bound. Both ends came up, addresses were right, and zero frames crossed -- indistinguishable from a dead transport, and nothing in any log said otherwise. The tell was `ss -lunp`: the bound ports were 12349 and 12350 while the guest was sending to 12348. The test then compounded it by using indexes 4 and 5, which belong to DIFFERENT pairs (4 pairs with 3, 5 pairs with 6). Pairing is (1,2), (3,4), (5,6)... Two sandboxes created back to back are wired together, which is the common case. mcast= remains genuinely unusable here and is documented as such so nobody re-tries it: lo has no MULTICAST flag and there is no multicast route, so qemu accepts it and drops every frame. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VdyMBGCrGVGDWtJ9xe48f3 |
||
|---|---|---|
| .. | ||
| base.sh | ||
| common.sh | ||
| launch.sh | ||
| overlay.sh | ||
| qmp.py | ||
| recorder.py | ||
| repo.sh | ||
| run.sh | ||
| screenshot.sh | ||
| seed.sh | ||
| serial_exec.py | ||
| smoke.sh | ||
| ssh.sh | ||
| verdict.sh | ||