The engine keeps Java's packet capture (capture.ts): per network card every frame it sent (when it leaves on the cable) or received (also one for another card), once, with time and number; switches log nothing; frames the packet loss dropped are kept apart; the capture outlives a stop and a new start, as in Java, until clearCapture. Per port instead of per MAC, at most 10,000 frames a card. expectSameCaptures compares each card's capture with Java's list of that card in the ARP, WLAN, DNS, TCP, NAT, RIP and single-client DHCP runs. It found that ScenarioNetwork ignored a switch's learning time (Java ran 300 s, the core the scenarios' 5 s); the oracle sets it now, and the TCP and DHCP runs are recorded again. A core test found that a new start numbers frames from 1 again and the capture took them as seen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
490 lines
15 KiB
JSON
490 lines
15 KiB
JSON
{
|
|
"frames": {
|
|
"00000000-0000-0000-0000-000000000101": [
|
|
{
|
|
"time": 453,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 458,
|
|
"source": "02:00:00:00:01:11",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "192.168.0.10",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 67,
|
|
"destinationPort": 68,
|
|
"payload": "DHCPOFFER\nyiaddr=192.168.0.100\nchaddr=02:00:00:00:01:12\nrouter=0.0.0.0\nsubnetmask=255.255.255.0\ndnsserver=0.0.0.0\nserverident=192.168.0.10"
|
|
},
|
|
{
|
|
"time": 682,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"arp": 1,
|
|
"senderIp": "0.0.0.0",
|
|
"targetIp": "192.168.0.100"
|
|
},
|
|
{
|
|
"time": 794,
|
|
"source": "02:00:00:00:01:13",
|
|
"destination": "ff:ff:ff:ff:ff:ff",
|
|
"arp": 2,
|
|
"senderIp": "192.168.0.100",
|
|
"targetIp": "255.255.255.255"
|
|
},
|
|
{
|
|
"time": 905,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDECLINE\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12\nrequested=192.168.0.100\nserverident=192.168.0.10"
|
|
},
|
|
{
|
|
"time": 961,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 3656,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 6406,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 9157,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 11907,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 11907,
|
|
"source": "02:00:00:00:01:11",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "192.168.0.10",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 67,
|
|
"destinationPort": 68,
|
|
"payload": "DHCPOFFER\nyiaddr=192.168.0.100\nchaddr=02:00:00:00:01:12\nrouter=0.0.0.0\nsubnetmask=255.255.255.0\ndnsserver=0.0.0.0\nserverident=192.168.0.10"
|
|
},
|
|
{
|
|
"time": 12132,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDECLINE\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12\nrequested=192.168.0.100\nserverident=192.168.0.10"
|
|
},
|
|
{
|
|
"time": 12188,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 14881,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"arp": 1,
|
|
"senderIp": "0.0.0.0",
|
|
"targetIp": "169.254.1.107"
|
|
},
|
|
{
|
|
"time": 17632,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "ff:ff:ff:ff:ff:ff",
|
|
"arp": 2,
|
|
"senderIp": "169.254.1.107",
|
|
"targetIp": "255.255.255.255"
|
|
}
|
|
],
|
|
"00000000-0000-0000-0000-000000000102": [
|
|
{
|
|
"time": 331,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 569,
|
|
"source": "02:00:00:00:01:11",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "192.168.0.10",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 67,
|
|
"destinationPort": 68,
|
|
"payload": "DHCPOFFER\nyiaddr=192.168.0.100\nchaddr=02:00:00:00:01:12\nrouter=0.0.0.0\nsubnetmask=255.255.255.0\ndnsserver=0.0.0.0\nserverident=192.168.0.10"
|
|
},
|
|
{
|
|
"time": 570,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"arp": 1,
|
|
"senderIp": "0.0.0.0",
|
|
"targetIp": "192.168.0.100"
|
|
},
|
|
{
|
|
"time": 794,
|
|
"source": "02:00:00:00:01:13",
|
|
"destination": "ff:ff:ff:ff:ff:ff",
|
|
"arp": 2,
|
|
"senderIp": "192.168.0.100",
|
|
"targetIp": "255.255.255.255"
|
|
},
|
|
{
|
|
"time": 794,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDECLINE\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12\nrequested=192.168.0.100\nserverident=192.168.0.10"
|
|
},
|
|
{
|
|
"time": 850,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 3545,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 6295,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 9045,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 11795,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 12019,
|
|
"source": "02:00:00:00:01:11",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "192.168.0.10",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 67,
|
|
"destinationPort": 68,
|
|
"payload": "DHCPOFFER\nyiaddr=192.168.0.100\nchaddr=02:00:00:00:01:12\nrouter=0.0.0.0\nsubnetmask=255.255.255.0\ndnsserver=0.0.0.0\nserverident=192.168.0.10"
|
|
},
|
|
{
|
|
"time": 12019,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDECLINE\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12\nrequested=192.168.0.100\nserverident=192.168.0.10"
|
|
},
|
|
{
|
|
"time": 12076,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 14770,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"arp": 1,
|
|
"senderIp": "0.0.0.0",
|
|
"targetIp": "169.254.1.107"
|
|
},
|
|
{
|
|
"time": 17521,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "ff:ff:ff:ff:ff:ff",
|
|
"arp": 2,
|
|
"senderIp": "169.254.1.107",
|
|
"targetIp": "255.255.255.255"
|
|
}
|
|
],
|
|
"00000000-0000-0000-0000-000000000103": [
|
|
{
|
|
"time": 453,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 569,
|
|
"source": "02:00:00:00:01:11",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "192.168.0.10",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 67,
|
|
"destinationPort": 68,
|
|
"payload": "DHCPOFFER\nyiaddr=192.168.0.100\nchaddr=02:00:00:00:01:12\nrouter=0.0.0.0\nsubnetmask=255.255.255.0\ndnsserver=0.0.0.0\nserverident=192.168.0.10"
|
|
},
|
|
{
|
|
"time": 682,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"arp": 1,
|
|
"senderIp": "0.0.0.0",
|
|
"targetIp": "192.168.0.100"
|
|
},
|
|
{
|
|
"time": 683,
|
|
"source": "02:00:00:00:01:13",
|
|
"destination": "ff:ff:ff:ff:ff:ff",
|
|
"arp": 2,
|
|
"senderIp": "192.168.0.100",
|
|
"targetIp": "255.255.255.255"
|
|
},
|
|
{
|
|
"time": 905,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDECLINE\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12\nrequested=192.168.0.100\nserverident=192.168.0.10"
|
|
},
|
|
{
|
|
"time": 961,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 3656,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 6406,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 9157,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 11907,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 12019,
|
|
"source": "02:00:00:00:01:11",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "192.168.0.10",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 67,
|
|
"destinationPort": 68,
|
|
"payload": "DHCPOFFER\nyiaddr=192.168.0.100\nchaddr=02:00:00:00:01:12\nrouter=0.0.0.0\nsubnetmask=255.255.255.0\ndnsserver=0.0.0.0\nserverident=192.168.0.10"
|
|
},
|
|
{
|
|
"time": 12132,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDECLINE\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12\nrequested=192.168.0.100\nserverident=192.168.0.10"
|
|
},
|
|
{
|
|
"time": 12188,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"sourceIp": "0.0.0.0",
|
|
"destinationIp": "255.255.255.255",
|
|
"protocol": 17,
|
|
"sourcePort": 68,
|
|
"destinationPort": 67,
|
|
"payload": "DHCPDISCOVER\nyiaddr=0.0.0.0\nchaddr=02:00:00:00:01:12"
|
|
},
|
|
{
|
|
"time": 14881,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"arp": 1,
|
|
"senderIp": "0.0.0.0",
|
|
"targetIp": "169.254.1.107"
|
|
},
|
|
{
|
|
"time": 17632,
|
|
"source": "02:00:00:00:01:12",
|
|
"destination": "ff:ff:ff:ff:ff:ff",
|
|
"arp": 2,
|
|
"senderIp": "169.254.1.107",
|
|
"targetIp": "255.255.255.255"
|
|
}
|
|
]
|
|
},
|
|
"devices": {
|
|
"00000000-0000-0000-0000-000000000101": [
|
|
"192.168.0.10",
|
|
"255.255.255.0",
|
|
"",
|
|
""
|
|
],
|
|
"00000000-0000-0000-0000-000000000102": [
|
|
"169.254.1.107",
|
|
"255.255.0.0",
|
|
"",
|
|
""
|
|
],
|
|
"00000000-0000-0000-0000-000000000103": [
|
|
"192.168.0.100",
|
|
"255.255.255.0",
|
|
"",
|
|
""
|
|
]
|
|
}
|
|
}
|