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:
@@ -5,7 +5,7 @@
|
||||
"00000000-0000-0000-0000-000000000603": [],
|
||||
"00000000-0000-0000-0000-000000000605": [
|
||||
{
|
||||
"time": 717,
|
||||
"time": 718,
|
||||
"source": "02:00:00:00:06:15",
|
||||
"destination": "FF:FF:FF:FF:FF:FF",
|
||||
"arp": 1,
|
||||
@@ -22,6 +22,84 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"rows": {
|
||||
"00000000-0000-0000-0000-000000000601": [],
|
||||
"00000000-0000-0000-0000-000000000602": [],
|
||||
"00000000-0000-0000-0000-000000000603": [],
|
||||
"00000000-0000-0000-0000-000000000605": [
|
||||
[
|
||||
"1",
|
||||
"02:00:00:00:06:15",
|
||||
"FF:FF:FF:FF:FF:FF",
|
||||
"",
|
||||
"Netzzugang",
|
||||
"0x806"
|
||||
],
|
||||
[
|
||||
"1",
|
||||
"192.168.1.14",
|
||||
"192.168.1.11",
|
||||
"ARP",
|
||||
"Vermittlung",
|
||||
"Suche nach MAC für 192.168.1.11 [op=REQUEST, sender=02:00:00:00:06:15|192.168.1.14, target=FF:FF:FF:FF:FF:FF|192.168.1.11]"
|
||||
],
|
||||
[
|
||||
"2",
|
||||
"02:00:00:00:06:15",
|
||||
"FF:FF:FF:FF:FF:FF",
|
||||
"",
|
||||
"Netzzugang",
|
||||
"0x806"
|
||||
],
|
||||
[
|
||||
"2",
|
||||
"192.168.1.14",
|
||||
"192.168.1.11",
|
||||
"ARP",
|
||||
"Vermittlung",
|
||||
"Suche nach MAC für 192.168.1.11 [op=REQUEST, sender=02:00:00:00:06:15|192.168.1.14, target=FF:FF:FF:FF:FF:FF|192.168.1.11]"
|
||||
]
|
||||
]
|
||||
},
|
||||
"layeredRows": {
|
||||
"00000000-0000-0000-0000-000000000601": [],
|
||||
"00000000-0000-0000-0000-000000000602": [],
|
||||
"00000000-0000-0000-0000-000000000603": [],
|
||||
"00000000-0000-0000-0000-000000000605": [
|
||||
[
|
||||
"1",
|
||||
"02:00:00:00:06:15",
|
||||
"FF:FF:FF:FF:FF:FF",
|
||||
"",
|
||||
"Netzzugang",
|
||||
"0x806"
|
||||
],
|
||||
[
|
||||
"1",
|
||||
"192.168.1.14",
|
||||
"192.168.1.11",
|
||||
"ARP",
|
||||
"Vermittlung",
|
||||
"Suche nach MAC für 192.168.1.11 [op=REQUEST, sender=02:00:00:00:06:15|192.168.1.14, target=FF:FF:FF:FF:FF:FF|192.168.1.11]"
|
||||
],
|
||||
[
|
||||
"2",
|
||||
"02:00:00:00:06:15",
|
||||
"FF:FF:FF:FF:FF:FF",
|
||||
"",
|
||||
"Netzzugang",
|
||||
"0x806"
|
||||
],
|
||||
[
|
||||
"2",
|
||||
"192.168.1.14",
|
||||
"192.168.1.11",
|
||||
"ARP",
|
||||
"Vermittlung",
|
||||
"Suche nach MAC für 192.168.1.11 [op=REQUEST, sender=02:00:00:00:06:15|192.168.1.14, target=FF:FF:FF:FF:FF:FF|192.168.1.11]"
|
||||
]
|
||||
]
|
||||
},
|
||||
"events": [
|
||||
[
|
||||
713,
|
||||
|
||||
Reference in New Issue
Block a user