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-000000000301": [
{
"time": 731,
"time": 720,
"source": "02:00:00:00:03:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -10,7 +10,7 @@
"targetIp": "10.0.0.9"
},
{
"time": 3481,
"time": 3470,
"source": "02:00:00:00:03:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -18,7 +18,7 @@
"targetIp": "10.0.0.9"
},
{
"time": 6237,
"time": 6226,
"source": "02:00:00:00:03:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -26,7 +26,7 @@
"targetIp": "10.0.0.1"
},
{
"time": 6460,
"time": 6449,
"source": "02:00:00:00:03:21",
"destination": "02:00:00:00:03:11",
"arp": 2,
@@ -34,20 +34,20 @@
"targetIp": "10.0.0.2"
},
{
"time": 6460,
"time": 6450,
"source": "02:00:00:00:03:11",
"destination": "02:00:00:00:03:21",
"sourceIp": "10.0.0.2",
"destinationIp": "20.0.0.2",
"protocol": 17,
"sourcePort": 55273,
"sourcePort": 59870,
"destinationPort": 9,
"payload": "dahinter"
}
],
"00000000-0000-0000-0000-000000000302": [
{
"time": 852,
"time": 843,
"source": "02:00:00:00:03:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -55,7 +55,7 @@
"targetIp": "10.0.0.9"
},
{
"time": 3593,
"time": 3582,
"source": "02:00:00:00:03:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -63,7 +63,7 @@
"targetIp": "10.0.0.9"
},
{
"time": 6348,
"time": 6338,
"source": "02:00:00:00:03:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -71,7 +71,7 @@
"targetIp": "10.0.0.1"
},
{
"time": 6349,
"time": 6338,
"source": "02:00:00:00:03:21",
"destination": "02:00:00:00:03:11",
"arp": 2,
@@ -79,20 +79,20 @@
"targetIp": "10.0.0.2"
},
{
"time": 6574,
"time": 6563,
"source": "02:00:00:00:03:11",
"destination": "02:00:00:00:03:21",
"sourceIp": "10.0.0.2",
"destinationIp": "20.0.0.2",
"protocol": 17,
"sourcePort": 55273,
"sourcePort": 59870,
"destinationPort": 9,
"payload": "dahinter"
}
],
"00000000-0000-0000-0000-000000000302#1": [
{
"time": 6574,
"time": 6563,
"source": "02:00:00:00:03:22",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -100,7 +100,7 @@
"targetIp": "20.0.0.2"
},
{
"time": 6685,
"time": 6674,
"source": "02:00:00:00:03:13",
"destination": "02:00:00:00:03:22",
"arp": 2,
@@ -108,20 +108,20 @@
"targetIp": "20.0.0.1"
},
{
"time": 6685,
"time": 6675,
"source": "02:00:00:00:03:22",
"destination": "02:00:00:00:03:13",
"sourceIp": "10.0.0.2",
"destinationIp": "20.0.0.2",
"protocol": 17,
"sourcePort": 55273,
"sourcePort": 59870,
"destinationPort": 9,
"payload": "dahinter"
}
],
"00000000-0000-0000-0000-000000000303": [
{
"time": 6629,
"time": 6619,
"source": "02:00:00:00:03:22",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -129,7 +129,7 @@
"targetIp": "20.0.0.2"
},
{
"time": 6629,
"time": 6619,
"source": "02:00:00:00:03:13",
"destination": "02:00:00:00:03:22",
"arp": 2,
@@ -137,33 +137,693 @@
"targetIp": "20.0.0.1"
},
{
"time": 6741,
"time": 6730,
"source": "02:00:00:00:03:22",
"destination": "02:00:00:00:03:13",
"sourceIp": "10.0.0.2",
"destinationIp": "20.0.0.2",
"protocol": 17,
"sourcePort": 55273,
"sourcePort": 59870,
"destinationPort": 9,
"payload": "dahinter"
}
]
},
"rows": {
"00000000-0000-0000-0000-000000000301": [
[
"1",
"02:00:00:00:03:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"10.0.0.2",
"10.0.0.9",
"ARP",
"Vermittlung",
"Suche nach MAC für 10.0.0.9 [op=REQUEST, sender=02:00:00:00:03:11|10.0.0.2, target=FF:FF:FF:FF:FF:FF|10.0.0.9]"
],
[
"2",
"02:00:00:00:03:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"2",
"10.0.0.2",
"10.0.0.9",
"ARP",
"Vermittlung",
"Suche nach MAC für 10.0.0.9 [op=REQUEST, sender=02:00:00:00:03:11|10.0.0.2, target=FF:FF:FF:FF:FF:FF|10.0.0.9]"
],
[
"3",
"02:00:00:00:03:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"3",
"10.0.0.2",
"10.0.0.1",
"ARP",
"Vermittlung",
"Suche nach MAC für 10.0.0.1 [op=REQUEST, sender=02:00:00:00:03:11|10.0.0.2, target=FF:FF:FF:FF:FF:FF|10.0.0.1]"
],
[
"4",
"02:00:00:00:03:21",
"02:00:00:00:03:11",
"",
"Netzzugang",
"0x806"
],
[
"4",
"10.0.0.1",
"10.0.0.2",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:03:21 [op=REPLY, sender=02:00:00:00:03:21|10.0.0.1, target=02:00:00:00:03:11|10.0.0.2]"
],
[
"5",
"02:00:00:00:03:11",
"02:00:00:00:03:21",
"",
"Netzzugang",
"0x800"
],
[
"5",
"10.0.0.2",
"20.0.0.2",
"IP",
"Vermittlung",
"Protokoll: 17, TTL: 64"
],
[
"5",
"10.0.0.2:59870",
"20.0.0.2:9",
"UDP",
"Transport",
""
],
[
"5",
"10.0.0.2:59870",
"20.0.0.2:9",
"",
"Anwendung",
"dahinter"
]
],
"00000000-0000-0000-0000-000000000302": [
[
"1",
"02:00:00:00:03:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"10.0.0.2",
"10.0.0.9",
"ARP",
"Vermittlung",
"Suche nach MAC für 10.0.0.9 [op=REQUEST, sender=02:00:00:00:03:11|10.0.0.2, target=FF:FF:FF:FF:FF:FF|10.0.0.9]"
],
[
"2",
"02:00:00:00:03:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"2",
"10.0.0.2",
"10.0.0.9",
"ARP",
"Vermittlung",
"Suche nach MAC für 10.0.0.9 [op=REQUEST, sender=02:00:00:00:03:11|10.0.0.2, target=FF:FF:FF:FF:FF:FF|10.0.0.9]"
],
[
"3",
"02:00:00:00:03:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"3",
"10.0.0.2",
"10.0.0.1",
"ARP",
"Vermittlung",
"Suche nach MAC für 10.0.0.1 [op=REQUEST, sender=02:00:00:00:03:11|10.0.0.2, target=FF:FF:FF:FF:FF:FF|10.0.0.1]"
],
[
"4",
"02:00:00:00:03:21",
"02:00:00:00:03:11",
"",
"Netzzugang",
"0x806"
],
[
"4",
"10.0.0.1",
"10.0.0.2",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:03:21 [op=REPLY, sender=02:00:00:00:03:21|10.0.0.1, target=02:00:00:00:03:11|10.0.0.2]"
],
[
"5",
"02:00:00:00:03:11",
"02:00:00:00:03:21",
"",
"Netzzugang",
"0x800"
],
[
"5",
"10.0.0.2",
"20.0.0.2",
"IP",
"Vermittlung",
"Protokoll: 17, TTL: 64"
],
[
"5",
"10.0.0.2:59870",
"20.0.0.2:9",
"UDP",
"Transport",
""
],
[
"5",
"10.0.0.2:59870",
"20.0.0.2:9",
"",
"Anwendung",
"dahinter"
]
],
"00000000-0000-0000-0000-000000000302#1": [
[
"1",
"02:00:00:00:03:22",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"20.0.0.1",
"20.0.0.2",
"ARP",
"Vermittlung",
"Suche nach MAC für 20.0.0.2 [op=REQUEST, sender=02:00:00:00:03:22|20.0.0.1, target=FF:FF:FF:FF:FF:FF|20.0.0.2]"
],
[
"2",
"02:00:00:00:03:13",
"02:00:00:00:03:22",
"",
"Netzzugang",
"0x806"
],
[
"2",
"20.0.0.2",
"20.0.0.1",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:03:13 [op=REPLY, sender=02:00:00:00:03:13|20.0.0.2, target=02:00:00:00:03:22|20.0.0.1]"
],
[
"3",
"02:00:00:00:03:22",
"02:00:00:00:03:13",
"",
"Netzzugang",
"0x800"
],
[
"3",
"10.0.0.2",
"20.0.0.2",
"IP",
"Vermittlung",
"Protokoll: 17, TTL: 63"
],
[
"3",
"10.0.0.2:59870",
"20.0.0.2:9",
"UDP",
"Transport",
""
],
[
"3",
"10.0.0.2:59870",
"20.0.0.2:9",
"",
"Anwendung",
"dahinter"
]
],
"00000000-0000-0000-0000-000000000303": [
[
"1",
"02:00:00:00:03:22",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"20.0.0.1",
"20.0.0.2",
"ARP",
"Vermittlung",
"Suche nach MAC für 20.0.0.2 [op=REQUEST, sender=02:00:00:00:03:22|20.0.0.1, target=FF:FF:FF:FF:FF:FF|20.0.0.2]"
],
[
"2",
"02:00:00:00:03:13",
"02:00:00:00:03:22",
"",
"Netzzugang",
"0x806"
],
[
"2",
"20.0.0.2",
"20.0.0.1",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:03:13 [op=REPLY, sender=02:00:00:00:03:13|20.0.0.2, target=02:00:00:00:03:22|20.0.0.1]"
],
[
"3",
"02:00:00:00:03:22",
"02:00:00:00:03:13",
"",
"Netzzugang",
"0x800"
],
[
"3",
"10.0.0.2",
"20.0.0.2",
"IP",
"Vermittlung",
"Protokoll: 17, TTL: 63"
],
[
"3",
"10.0.0.2:59870",
"20.0.0.2:9",
"UDP",
"Transport",
""
],
[
"3",
"10.0.0.2:59870",
"20.0.0.2:9",
"",
"Anwendung",
"dahinter"
]
]
},
"layeredRows": {
"00000000-0000-0000-0000-000000000301": [
[
"1",
"02:00:00:00:03:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"10.0.0.2",
"10.0.0.9",
"ARP",
"Vermittlung",
"Suche nach MAC für 10.0.0.9 [op=REQUEST, sender=02:00:00:00:03:11|10.0.0.2, target=FF:FF:FF:FF:FF:FF|10.0.0.9]"
],
[
"2",
"02:00:00:00:03:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"2",
"10.0.0.2",
"10.0.0.9",
"ARP",
"Vermittlung",
"Suche nach MAC für 10.0.0.9 [op=REQUEST, sender=02:00:00:00:03:11|10.0.0.2, target=FF:FF:FF:FF:FF:FF|10.0.0.9]"
],
[
"3",
"02:00:00:00:03:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"3",
"10.0.0.2",
"10.0.0.1",
"ARP",
"Vermittlung",
"Suche nach MAC für 10.0.0.1 [op=REQUEST, sender=02:00:00:00:03:11|10.0.0.2, target=FF:FF:FF:FF:FF:FF|10.0.0.1]"
],
[
"4",
"02:00:00:00:03:21",
"02:00:00:00:03:11",
"",
"Netzzugang",
"0x806"
],
[
"4",
"10.0.0.1",
"10.0.0.2",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:03:21 [op=REPLY, sender=02:00:00:00:03:21|10.0.0.1, target=02:00:00:00:03:11|10.0.0.2]"
],
[
"5",
"02:00:00:00:03:11",
"02:00:00:00:03:21",
"",
"Netzzugang",
"0x800"
],
[
"5",
"10.0.0.2",
"20.0.0.2",
"IP",
"Vermittlung",
"Protokoll: 17, TTL: 64"
],
[
"5",
"59870",
"9",
"UDP",
"Transport",
""
],
[
"5",
null,
null,
"",
"Anwendung",
"dahinter"
]
],
"00000000-0000-0000-0000-000000000302": [
[
"1",
"02:00:00:00:03:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"10.0.0.2",
"10.0.0.9",
"ARP",
"Vermittlung",
"Suche nach MAC für 10.0.0.9 [op=REQUEST, sender=02:00:00:00:03:11|10.0.0.2, target=FF:FF:FF:FF:FF:FF|10.0.0.9]"
],
[
"2",
"02:00:00:00:03:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"2",
"10.0.0.2",
"10.0.0.9",
"ARP",
"Vermittlung",
"Suche nach MAC für 10.0.0.9 [op=REQUEST, sender=02:00:00:00:03:11|10.0.0.2, target=FF:FF:FF:FF:FF:FF|10.0.0.9]"
],
[
"3",
"02:00:00:00:03:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"3",
"10.0.0.2",
"10.0.0.1",
"ARP",
"Vermittlung",
"Suche nach MAC für 10.0.0.1 [op=REQUEST, sender=02:00:00:00:03:11|10.0.0.2, target=FF:FF:FF:FF:FF:FF|10.0.0.1]"
],
[
"4",
"02:00:00:00:03:21",
"02:00:00:00:03:11",
"",
"Netzzugang",
"0x806"
],
[
"4",
"10.0.0.1",
"10.0.0.2",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:03:21 [op=REPLY, sender=02:00:00:00:03:21|10.0.0.1, target=02:00:00:00:03:11|10.0.0.2]"
],
[
"5",
"02:00:00:00:03:11",
"02:00:00:00:03:21",
"",
"Netzzugang",
"0x800"
],
[
"5",
"10.0.0.2",
"20.0.0.2",
"IP",
"Vermittlung",
"Protokoll: 17, TTL: 64"
],
[
"5",
"59870",
"9",
"UDP",
"Transport",
""
],
[
"5",
null,
null,
"",
"Anwendung",
"dahinter"
]
],
"00000000-0000-0000-0000-000000000302#1": [
[
"1",
"02:00:00:00:03:22",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"20.0.0.1",
"20.0.0.2",
"ARP",
"Vermittlung",
"Suche nach MAC für 20.0.0.2 [op=REQUEST, sender=02:00:00:00:03:22|20.0.0.1, target=FF:FF:FF:FF:FF:FF|20.0.0.2]"
],
[
"2",
"02:00:00:00:03:13",
"02:00:00:00:03:22",
"",
"Netzzugang",
"0x806"
],
[
"2",
"20.0.0.2",
"20.0.0.1",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:03:13 [op=REPLY, sender=02:00:00:00:03:13|20.0.0.2, target=02:00:00:00:03:22|20.0.0.1]"
],
[
"3",
"02:00:00:00:03:22",
"02:00:00:00:03:13",
"",
"Netzzugang",
"0x800"
],
[
"3",
"10.0.0.2",
"20.0.0.2",
"IP",
"Vermittlung",
"Protokoll: 17, TTL: 63"
],
[
"3",
"59870",
"9",
"UDP",
"Transport",
""
],
[
"3",
null,
null,
"",
"Anwendung",
"dahinter"
]
],
"00000000-0000-0000-0000-000000000303": [
[
"1",
"02:00:00:00:03:22",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"20.0.0.1",
"20.0.0.2",
"ARP",
"Vermittlung",
"Suche nach MAC für 20.0.0.2 [op=REQUEST, sender=02:00:00:00:03:22|20.0.0.1, target=FF:FF:FF:FF:FF:FF|20.0.0.2]"
],
[
"2",
"02:00:00:00:03:13",
"02:00:00:00:03:22",
"",
"Netzzugang",
"0x806"
],
[
"2",
"20.0.0.2",
"20.0.0.1",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:03:13 [op=REPLY, sender=02:00:00:00:03:13|20.0.0.2, target=02:00:00:00:03:22|20.0.0.1]"
],
[
"3",
"02:00:00:00:03:22",
"02:00:00:00:03:13",
"",
"Netzzugang",
"0x800"
],
[
"3",
"10.0.0.2",
"20.0.0.2",
"IP",
"Vermittlung",
"Protokoll: 17, TTL: 63"
],
[
"3",
"59870",
"9",
"UDP",
"Transport",
""
],
[
"3",
null,
null,
"",
"Anwendung",
"dahinter"
]
]
},
"events": [
[
723,
711,
"senden verloren called"
],
[
727,
716,
"senden verloren returned "
],
[
727,
716,
"senden dahinter called"
],
[
6237,
6226,
"senden dahinter returned "
]
]