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-000000000601": [
{
"time": 724,
"time": 718,
"source": "02:00:00:00:06:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -10,7 +10,7 @@
"targetIp": "192.168.1.13"
},
{
"time": 960,
"time": 956,
"source": "02:00:00:00:06:13",
"destination": "02:00:00:00:06:11",
"arp": 2,
@@ -18,7 +18,7 @@
"targetIp": "192.168.1.11"
},
{
"time": 964,
"time": 961,
"source": "02:00:00:00:06:11",
"destination": "02:00:00:00:06:13",
"icmp": 8,
@@ -28,7 +28,7 @@
"sequence": 1
},
{
"time": 1189,
"time": 1186,
"source": "02:00:00:00:06:13",
"destination": "02:00:00:00:06:11",
"icmp": 0,
@@ -40,7 +40,7 @@
],
"00000000-0000-0000-0000-000000000602": [
{
"time": 846,
"time": 843,
"source": "02:00:00:00:06:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -50,7 +50,7 @@
],
"00000000-0000-0000-0000-000000000603": [
{
"time": 846,
"time": 843,
"source": "02:00:00:00:06:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -58,7 +58,7 @@
"targetIp": "192.168.1.13"
},
{
"time": 848,
"time": 845,
"source": "02:00:00:00:06:13",
"destination": "02:00:00:00:06:11",
"arp": 2,
@@ -66,7 +66,7 @@
"targetIp": "192.168.1.11"
},
{
"time": 1077,
"time": 1074,
"source": "02:00:00:00:06:11",
"destination": "02:00:00:00:06:13",
"icmp": 8,
@@ -76,7 +76,7 @@
"sequence": 1
},
{
"time": 1077,
"time": 1074,
"source": "02:00:00:00:06:13",
"destination": "02:00:00:00:06:11",
"icmp": 0,
@@ -88,13 +88,319 @@
],
"00000000-0000-0000-0000-000000000605": []
},
"rows": {
"00000000-0000-0000-0000-000000000601": [
[
"1",
"02:00:00:00:06:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"192.168.1.11",
"192.168.1.13",
"ARP",
"Vermittlung",
"Suche nach MAC für 192.168.1.13 [op=REQUEST, sender=02:00:00:00:06:11|192.168.1.11, target=FF:FF:FF:FF:FF:FF|192.168.1.13]"
],
[
"2",
"02:00:00:00:06:13",
"02:00:00:00:06:11",
"",
"Netzzugang",
"0x806"
],
[
"2",
"192.168.1.13",
"192.168.1.11",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:06:13 [op=REPLY, sender=02:00:00:00:06:13|192.168.1.13, target=02:00:00:00:06:11|192.168.1.11]"
],
[
"3",
"02:00:00:00:06:11",
"02:00:00:00:06:13",
"",
"Netzzugang",
"0x800"
],
[
"3",
"192.168.1.11",
"192.168.1.13",
"ICMP",
"Vermittlung",
"ICMP Echo Request (ping), TTL: 64, Identifier: 1, Seq.-No.: 1"
],
[
"4",
"02:00:00:00:06:13",
"02:00:00:00:06:11",
"",
"Netzzugang",
"0x800"
],
[
"4",
"192.168.1.13",
"192.168.1.11",
"ICMP",
"Vermittlung",
"ICMP Echo Reply (pong), TTL: 64, Identifier: 1, Seq.-No.: 1"
]
],
"00000000-0000-0000-0000-000000000602": [
[
"1",
"02:00:00:00:06:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"192.168.1.11",
"192.168.1.13",
"ARP",
"Vermittlung",
"Suche nach MAC für 192.168.1.13 [op=REQUEST, sender=02:00:00:00:06:11|192.168.1.11, target=FF:FF:FF:FF:FF:FF|192.168.1.13]"
]
],
"00000000-0000-0000-0000-000000000603": [
[
"1",
"02:00:00:00:06:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"192.168.1.11",
"192.168.1.13",
"ARP",
"Vermittlung",
"Suche nach MAC für 192.168.1.13 [op=REQUEST, sender=02:00:00:00:06:11|192.168.1.11, target=FF:FF:FF:FF:FF:FF|192.168.1.13]"
],
[
"2",
"02:00:00:00:06:13",
"02:00:00:00:06:11",
"",
"Netzzugang",
"0x806"
],
[
"2",
"192.168.1.13",
"192.168.1.11",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:06:13 [op=REPLY, sender=02:00:00:00:06:13|192.168.1.13, target=02:00:00:00:06:11|192.168.1.11]"
],
[
"3",
"02:00:00:00:06:11",
"02:00:00:00:06:13",
"",
"Netzzugang",
"0x800"
],
[
"3",
"192.168.1.11",
"192.168.1.13",
"ICMP",
"Vermittlung",
"ICMP Echo Request (ping), TTL: 64, Identifier: 1, Seq.-No.: 1"
],
[
"4",
"02:00:00:00:06:13",
"02:00:00:00:06:11",
"",
"Netzzugang",
"0x800"
],
[
"4",
"192.168.1.13",
"192.168.1.11",
"ICMP",
"Vermittlung",
"ICMP Echo Reply (pong), TTL: 64, Identifier: 1, Seq.-No.: 1"
]
],
"00000000-0000-0000-0000-000000000605": []
},
"layeredRows": {
"00000000-0000-0000-0000-000000000601": [
[
"1",
"02:00:00:00:06:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"192.168.1.11",
"192.168.1.13",
"ARP",
"Vermittlung",
"Suche nach MAC für 192.168.1.13 [op=REQUEST, sender=02:00:00:00:06:11|192.168.1.11, target=FF:FF:FF:FF:FF:FF|192.168.1.13]"
],
[
"2",
"02:00:00:00:06:13",
"02:00:00:00:06:11",
"",
"Netzzugang",
"0x806"
],
[
"2",
"192.168.1.13",
"192.168.1.11",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:06:13 [op=REPLY, sender=02:00:00:00:06:13|192.168.1.13, target=02:00:00:00:06:11|192.168.1.11]"
],
[
"3",
"02:00:00:00:06:11",
"02:00:00:00:06:13",
"",
"Netzzugang",
"0x800"
],
[
"3",
"192.168.1.11",
"192.168.1.13",
"ICMP",
"Vermittlung",
"ICMP Echo Request (ping), TTL: 64, Identifier: 1, Seq.-No.: 1"
],
[
"4",
"02:00:00:00:06:13",
"02:00:00:00:06:11",
"",
"Netzzugang",
"0x800"
],
[
"4",
"192.168.1.13",
"192.168.1.11",
"ICMP",
"Vermittlung",
"ICMP Echo Reply (pong), TTL: 64, Identifier: 1, Seq.-No.: 1"
]
],
"00000000-0000-0000-0000-000000000602": [
[
"1",
"02:00:00:00:06:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"192.168.1.11",
"192.168.1.13",
"ARP",
"Vermittlung",
"Suche nach MAC für 192.168.1.13 [op=REQUEST, sender=02:00:00:00:06:11|192.168.1.11, target=FF:FF:FF:FF:FF:FF|192.168.1.13]"
]
],
"00000000-0000-0000-0000-000000000603": [
[
"1",
"02:00:00:00:06:11",
"FF:FF:FF:FF:FF:FF",
"",
"Netzzugang",
"0x806"
],
[
"1",
"192.168.1.11",
"192.168.1.13",
"ARP",
"Vermittlung",
"Suche nach MAC für 192.168.1.13 [op=REQUEST, sender=02:00:00:00:06:11|192.168.1.11, target=FF:FF:FF:FF:FF:FF|192.168.1.13]"
],
[
"2",
"02:00:00:00:06:13",
"02:00:00:00:06:11",
"",
"Netzzugang",
"0x806"
],
[
"2",
"192.168.1.13",
"192.168.1.11",
"ARP",
"Vermittlung",
"MAC ist 02:00:00:00:06:13 [op=REPLY, sender=02:00:00:00:06:13|192.168.1.13, target=02:00:00:00:06:11|192.168.1.11]"
],
[
"3",
"02:00:00:00:06:11",
"02:00:00:00:06:13",
"",
"Netzzugang",
"0x800"
],
[
"3",
"192.168.1.11",
"192.168.1.13",
"ICMP",
"Vermittlung",
"ICMP Echo Request (ping), TTL: 64, Identifier: 1, Seq.-No.: 1"
],
[
"4",
"02:00:00:00:06:13",
"02:00:00:00:06:11",
"",
"Netzzugang",
"0x800"
],
[
"4",
"192.168.1.13",
"192.168.1.11",
"ICMP",
"Vermittlung",
"ICMP Echo Reply (pong), TTL: 64, Identifier: 1, Seq.-No.: 1"
]
],
"00000000-0000-0000-0000-000000000605": []
},
"events": [
[
719,
713,
"sendProbe 192.168.1.13 called"
],
[
1190,
1187,
"sendProbe 192.168.1.13 returned ICMP 0/0 from 192.168.1.13"
]
]