feat(core): the packet capture's table after Java's Lauscher, measured against Java's own tables

captureRows.ts builds Java's rows per frame (Lauscher.datenVorbereiten):
Ethernet; ARP, ICMP or IP; TCP or UDP; the data with Java's protocol
recognition; with addresses and ports or ports only. The comment stays
structured; captureCommentText says it with given words and numbers.

ScenarioNetwork writes Java's finished tables per card (Lauscher.getDaten,
German locale); all runtime runs are recorded again, NatRun has ttlOut.
expectSameCaptures compares both views for every frame. Fixed where the
engine differed: an ARP request's target MAC is the broadcast address,
an ICMP error's identifier and sequence number are 0 (RFC 792), and host
unreachable from a router carries the packet as forwarded. Not taken:
Java's lower-case broadcast address in a reply to 0.0.0.0, and the typo
'Exeeded'. RIP keeps its recordings: Java's staggered router start now
gives a different startup on this machine.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-01 15:11:05 +00:00
co-authored by Claude Opus 5.5
parent 0a34f3a4c4
commit 21a404693c
55 changed files with 37423 additions and 1321 deletions
@@ -2,7 +2,7 @@
"frames": {
"00000000-0000-0000-0000-000000000501": [
{
"time": 717,
"time": 720,
"source": "02:00:00:00:05:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -10,7 +10,7 @@
"targetIp": "192.168.0.1"
},
{
"time": 837,
"time": 839,
"source": "02:00:00:00:05:22",
"destination": "02:00:00:00:05:11",
"arp": 2,
@@ -18,7 +18,7 @@
"targetIp": "192.168.0.10"
},
{
"time": 841,
"time": 842,
"source": "02:00:00:00:05:11",
"destination": "02:00:00:00:05:22",
"icmp": 8,
@@ -28,7 +28,7 @@
"sequence": 1
},
{
"time": 1409,
"time": 1410,
"source": "02:00:00:00:05:22",
"destination": "02:00:00:00:05:11",
"icmp": 0,
@@ -40,7 +40,7 @@
],
"00000000-0000-0000-0000-000000000502": [
{
"time": 903,
"time": 904,
"source": "02:00:00:00:05:21",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -48,7 +48,7 @@
"targetIp": "42.0.0.20"
},
{
"time": 1130,
"time": 1131,
"source": "02:00:00:00:05:41",
"destination": "02:00:00:00:05:21",
"arp": 2,
@@ -56,7 +56,7 @@
"targetIp": "42.0.0.10"
},
{
"time": 1130,
"time": 1131,
"source": "02:00:00:00:05:21",
"destination": "02:00:00:00:05:41",
"icmp": 8,
@@ -66,7 +66,7 @@
"sequence": 1
},
{
"time": 1352,
"time": 1354,
"source": "02:00:00:00:05:41",
"destination": "02:00:00:00:05:21",
"icmp": 0,
@@ -78,7 +78,7 @@
],
"00000000-0000-0000-0000-000000000502#1": [
{
"time": 780,
"time": 782,
"source": "02:00:00:00:05:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -86,7 +86,7 @@
"targetIp": "192.168.0.1"
},
{
"time": 782,
"time": 783,
"source": "02:00:00:00:05:22",
"destination": "02:00:00:00:05:11",
"arp": 2,
@@ -94,7 +94,7 @@
"targetIp": "192.168.0.10"
},
{
"time": 898,
"time": 900,
"source": "02:00:00:00:05:11",
"destination": "02:00:00:00:05:22",
"icmp": 8,
@@ -104,7 +104,7 @@
"sequence": 1
},
{
"time": 1353,
"time": 1354,
"source": "02:00:00:00:05:22",
"destination": "02:00:00:00:05:11",
"icmp": 0,
@@ -116,7 +116,7 @@
],
"00000000-0000-0000-0000-000000000504": [
{
"time": 1018,
"time": 1020,
"source": "02:00:00:00:05:21",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -124,7 +124,7 @@
"targetIp": "42.0.0.20"
},
{
"time": 1018,
"time": 1020,
"source": "02:00:00:00:05:41",
"destination": "02:00:00:00:05:21",
"arp": 2,
@@ -132,7 +132,7 @@
"targetIp": "42.0.0.10"
},
{
"time": 1241,
"time": 1243,
"source": "02:00:00:00:05:21",
"destination": "02:00:00:00:05:41",
"icmp": 8,
@@ -142,7 +142,7 @@
"sequence": 1
},
{
"time": 1241,
"time": 1243,
"source": "02:00:00:00:05:41",
"destination": "02:00:00:00:05:21",
"icmp": 0,
@@ -154,7 +154,7 @@
],
"00000000-0000-0000-0000-000000000505": [
{
"time": 1018,
"time": 1020,
"source": "02:00:00:00:05:21",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -163,13 +163,581 @@
}
]
},
"rows": {
"00000000-0000-0000-0000-000000000501": [
[
"1",
"02:00:00:00:05:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"192.168.0.10",
"192.168.0.1",
"ARP",
"Vermittlung",
"Suche nach MAC für 192.168.0.1 [op=REQUEST, sender=02:00:00:00:05:11|192.168.0.10, target=FF:FF:FF:FF:FF:FF|192.168.0.1]"
],
[
"2",
"02:00:00:00:05:22",
"02:00:00:00:05:11",
"",
"Netzzugang",
"0x806"
],
[
"2",
"192.168.0.1",
"192.168.0.10",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:05:22 [op=REPLY, sender=02:00:00:00:05:22|192.168.0.1, target=02:00:00:00:05:11|192.168.0.10]"
],
[
"3",
"02:00:00:00:05:11",
"02:00:00:00:05:22",
"",
"Netzzugang",
"0x800"
],
[
"3",
"192.168.0.10",
"42.0.0.20",
"ICMP",
"Vermittlung",
"ICMP Echo Request (ping), TTL: 64, Identifier: 1, Seq.-No.: 1"
],
[
"4",
"02:00:00:00:05:22",
"02:00:00:00:05:11",
"",
"Netzzugang",
"0x800"
],
[
"4",
"42.0.0.20",
"192.168.0.10",
"ICMP",
"Vermittlung",
"ICMP Echo Reply (pong), TTL: 63, Identifier: 1, Seq.-No.: 1"
]
],
"00000000-0000-0000-0000-000000000502": [
[
"1",
"02:00:00:00:05:21",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"42.0.0.10",
"42.0.0.20",
"ARP",
"Vermittlung",
"Suche nach MAC für 42.0.0.20 [op=REQUEST, sender=02:00:00:00:05:21|42.0.0.10, target=FF:FF:FF:FF:FF:FF|42.0.0.20]"
],
[
"2",
"02:00:00:00:05:41",
"02:00:00:00:05:21",
"",
"Netzzugang",
"0x806"
],
[
"2",
"42.0.0.20",
"42.0.0.10",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:05:41 [op=REPLY, sender=02:00:00:00:05:41|42.0.0.20, target=02:00:00:00:05:21|42.0.0.10]"
],
[
"3",
"02:00:00:00:05:21",
"02:00:00:00:05:41",
"",
"Netzzugang",
"0x800"
],
[
"3",
"42.0.0.10",
"42.0.0.20",
"ICMP",
"Vermittlung",
"ICMP Echo Request (ping), TTL: 63, Identifier: 1, Seq.-No.: 1"
],
[
"4",
"02:00:00:00:05:41",
"02:00:00:00:05:21",
"",
"Netzzugang",
"0x800"
],
[
"4",
"42.0.0.20",
"42.0.0.10",
"ICMP",
"Vermittlung",
"ICMP Echo Reply (pong), TTL: 64, Identifier: 1, Seq.-No.: 1"
]
],
"00000000-0000-0000-0000-000000000502#1": [
[
"1",
"02:00:00:00:05:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"192.168.0.10",
"192.168.0.1",
"ARP",
"Vermittlung",
"Suche nach MAC für 192.168.0.1 [op=REQUEST, sender=02:00:00:00:05:11|192.168.0.10, target=FF:FF:FF:FF:FF:FF|192.168.0.1]"
],
[
"2",
"02:00:00:00:05:22",
"02:00:00:00:05:11",
"",
"Netzzugang",
"0x806"
],
[
"2",
"192.168.0.1",
"192.168.0.10",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:05:22 [op=REPLY, sender=02:00:00:00:05:22|192.168.0.1, target=02:00:00:00:05:11|192.168.0.10]"
],
[
"3",
"02:00:00:00:05:11",
"02:00:00:00:05:22",
"",
"Netzzugang",
"0x800"
],
[
"3",
"192.168.0.10",
"42.0.0.20",
"ICMP",
"Vermittlung",
"ICMP Echo Request (ping), TTL: 64, Identifier: 1, Seq.-No.: 1"
],
[
"4",
"02:00:00:00:05:22",
"02:00:00:00:05:11",
"",
"Netzzugang",
"0x800"
],
[
"4",
"42.0.0.20",
"192.168.0.10",
"ICMP",
"Vermittlung",
"ICMP Echo Reply (pong), TTL: 63, Identifier: 1, Seq.-No.: 1"
]
],
"00000000-0000-0000-0000-000000000504": [
[
"1",
"02:00:00:00:05:21",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"42.0.0.10",
"42.0.0.20",
"ARP",
"Vermittlung",
"Suche nach MAC für 42.0.0.20 [op=REQUEST, sender=02:00:00:00:05:21|42.0.0.10, target=FF:FF:FF:FF:FF:FF|42.0.0.20]"
],
[
"2",
"02:00:00:00:05:41",
"02:00:00:00:05:21",
"",
"Netzzugang",
"0x806"
],
[
"2",
"42.0.0.20",
"42.0.0.10",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:05:41 [op=REPLY, sender=02:00:00:00:05:41|42.0.0.20, target=02:00:00:00:05:21|42.0.0.10]"
],
[
"3",
"02:00:00:00:05:21",
"02:00:00:00:05:41",
"",
"Netzzugang",
"0x800"
],
[
"3",
"42.0.0.10",
"42.0.0.20",
"ICMP",
"Vermittlung",
"ICMP Echo Request (ping), TTL: 63, Identifier: 1, Seq.-No.: 1"
],
[
"4",
"02:00:00:00:05:41",
"02:00:00:00:05:21",
"",
"Netzzugang",
"0x800"
],
[
"4",
"42.0.0.20",
"42.0.0.10",
"ICMP",
"Vermittlung",
"ICMP Echo Reply (pong), TTL: 64, Identifier: 1, Seq.-No.: 1"
]
],
"00000000-0000-0000-0000-000000000505": [
[
"1",
"02:00:00:00:05:21",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"42.0.0.10",
"42.0.0.20",
"ARP",
"Vermittlung",
"Suche nach MAC für 42.0.0.20 [op=REQUEST, sender=02:00:00:00:05:21|42.0.0.10, target=FF:FF:FF:FF:FF:FF|42.0.0.20]"
]
]
},
"layeredRows": {
"00000000-0000-0000-0000-000000000501": [
[
"1",
"02:00:00:00:05:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"192.168.0.10",
"192.168.0.1",
"ARP",
"Vermittlung",
"Suche nach MAC für 192.168.0.1 [op=REQUEST, sender=02:00:00:00:05:11|192.168.0.10, target=FF:FF:FF:FF:FF:FF|192.168.0.1]"
],
[
"2",
"02:00:00:00:05:22",
"02:00:00:00:05:11",
"",
"Netzzugang",
"0x806"
],
[
"2",
"192.168.0.1",
"192.168.0.10",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:05:22 [op=REPLY, sender=02:00:00:00:05:22|192.168.0.1, target=02:00:00:00:05:11|192.168.0.10]"
],
[
"3",
"02:00:00:00:05:11",
"02:00:00:00:05:22",
"",
"Netzzugang",
"0x800"
],
[
"3",
"192.168.0.10",
"42.0.0.20",
"ICMP",
"Vermittlung",
"ICMP Echo Request (ping), TTL: 64, Identifier: 1, Seq.-No.: 1"
],
[
"4",
"02:00:00:00:05:22",
"02:00:00:00:05:11",
"",
"Netzzugang",
"0x800"
],
[
"4",
"42.0.0.20",
"192.168.0.10",
"ICMP",
"Vermittlung",
"ICMP Echo Reply (pong), TTL: 63, Identifier: 1, Seq.-No.: 1"
]
],
"00000000-0000-0000-0000-000000000502": [
[
"1",
"02:00:00:00:05:21",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"42.0.0.10",
"42.0.0.20",
"ARP",
"Vermittlung",
"Suche nach MAC für 42.0.0.20 [op=REQUEST, sender=02:00:00:00:05:21|42.0.0.10, target=FF:FF:FF:FF:FF:FF|42.0.0.20]"
],
[
"2",
"02:00:00:00:05:41",
"02:00:00:00:05:21",
"",
"Netzzugang",
"0x806"
],
[
"2",
"42.0.0.20",
"42.0.0.10",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:05:41 [op=REPLY, sender=02:00:00:00:05:41|42.0.0.20, target=02:00:00:00:05:21|42.0.0.10]"
],
[
"3",
"02:00:00:00:05:21",
"02:00:00:00:05:41",
"",
"Netzzugang",
"0x800"
],
[
"3",
"42.0.0.10",
"42.0.0.20",
"ICMP",
"Vermittlung",
"ICMP Echo Request (ping), TTL: 63, Identifier: 1, Seq.-No.: 1"
],
[
"4",
"02:00:00:00:05:41",
"02:00:00:00:05:21",
"",
"Netzzugang",
"0x800"
],
[
"4",
"42.0.0.20",
"42.0.0.10",
"ICMP",
"Vermittlung",
"ICMP Echo Reply (pong), TTL: 64, Identifier: 1, Seq.-No.: 1"
]
],
"00000000-0000-0000-0000-000000000502#1": [
[
"1",
"02:00:00:00:05:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"192.168.0.10",
"192.168.0.1",
"ARP",
"Vermittlung",
"Suche nach MAC für 192.168.0.1 [op=REQUEST, sender=02:00:00:00:05:11|192.168.0.10, target=FF:FF:FF:FF:FF:FF|192.168.0.1]"
],
[
"2",
"02:00:00:00:05:22",
"02:00:00:00:05:11",
"",
"Netzzugang",
"0x806"
],
[
"2",
"192.168.0.1",
"192.168.0.10",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:05:22 [op=REPLY, sender=02:00:00:00:05:22|192.168.0.1, target=02:00:00:00:05:11|192.168.0.10]"
],
[
"3",
"02:00:00:00:05:11",
"02:00:00:00:05:22",
"",
"Netzzugang",
"0x800"
],
[
"3",
"192.168.0.10",
"42.0.0.20",
"ICMP",
"Vermittlung",
"ICMP Echo Request (ping), TTL: 64, Identifier: 1, Seq.-No.: 1"
],
[
"4",
"02:00:00:00:05:22",
"02:00:00:00:05:11",
"",
"Netzzugang",
"0x800"
],
[
"4",
"42.0.0.20",
"192.168.0.10",
"ICMP",
"Vermittlung",
"ICMP Echo Reply (pong), TTL: 63, Identifier: 1, Seq.-No.: 1"
]
],
"00000000-0000-0000-0000-000000000504": [
[
"1",
"02:00:00:00:05:21",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"42.0.0.10",
"42.0.0.20",
"ARP",
"Vermittlung",
"Suche nach MAC für 42.0.0.20 [op=REQUEST, sender=02:00:00:00:05:21|42.0.0.10, target=FF:FF:FF:FF:FF:FF|42.0.0.20]"
],
[
"2",
"02:00:00:00:05:41",
"02:00:00:00:05:21",
"",
"Netzzugang",
"0x806"
],
[
"2",
"42.0.0.20",
"42.0.0.10",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:05:41 [op=REPLY, sender=02:00:00:00:05:41|42.0.0.20, target=02:00:00:00:05:21|42.0.0.10]"
],
[
"3",
"02:00:00:00:05:21",
"02:00:00:00:05:41",
"",
"Netzzugang",
"0x800"
],
[
"3",
"42.0.0.10",
"42.0.0.20",
"ICMP",
"Vermittlung",
"ICMP Echo Request (ping), TTL: 63, Identifier: 1, Seq.-No.: 1"
],
[
"4",
"02:00:00:00:05:41",
"02:00:00:00:05:21",
"",
"Netzzugang",
"0x800"
],
[
"4",
"42.0.0.20",
"42.0.0.10",
"ICMP",
"Vermittlung",
"ICMP Echo Reply (pong), TTL: 64, Identifier: 1, Seq.-No.: 1"
]
],
"00000000-0000-0000-0000-000000000505": [
[
"1",
"02:00:00:00:05:21",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"42.0.0.10",
"42.0.0.20",
"ARP",
"Vermittlung",
"Suche nach MAC für 42.0.0.20 [op=REQUEST, sender=02:00:00:00:05:21|42.0.0.10, target=FF:FF:FF:FF:FF:FF|42.0.0.20]"
]
]
},
"events": [
[
713,
716,
"sendProbe 42.0.0.20 called"
],
[
1410,
1411,
"sendProbe 42.0.0.20 returned ICMP 0/0 from 42.0.0.20"
]
],