ScenarioNetwork builds home routers (their first card the WAN port) and their port forwarding (portForwarding, through GatewayFirmware.setStaticNAT). NatRun plays six stories on nat-home's network and writes the frames, the calls and the router's NAT table: a ping, a UDP exchange, the same socket to a second server (whose answer never reaches the LAN: Java keeps one entry per LAN endpoint, for the first remote only), a TCP connection out, a forwarded one in, and pings at the WAN address and past it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
592 lines
15 KiB
JSON
592 lines
15 KiB
JSON
{
|
|
"frames": {
|
|
"00000000-0000-0000-0000-000000000501": [
|
|
{
|
|
"time": 935,
|
|
"source": "02:00:00:00:05:11",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"arp": 1,
|
|
"senderIp": "192.168.0.10",
|
|
"targetIp": "192.168.0.1"
|
|
},
|
|
{
|
|
"time": 1054,
|
|
"source": "02:00:00:00:05:22",
|
|
"destination": "02:00:00:00:05:11",
|
|
"arp": 2,
|
|
"senderIp": "192.168.0.1",
|
|
"targetIp": "192.168.0.10"
|
|
},
|
|
{
|
|
"time": 1056,
|
|
"source": "02:00:00:00:05:11",
|
|
"destination": "02:00:00:00:05:22",
|
|
"sourceIp": "192.168.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 64470,
|
|
"destinationPort": 80,
|
|
"payload": null,
|
|
"tcpFlags": "S",
|
|
"sequence": 3000000,
|
|
"acknowledgement": 0
|
|
},
|
|
{
|
|
"time": 1622,
|
|
"source": "02:00:00:00:05:22",
|
|
"destination": "02:00:00:00:05:11",
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "192.168.0.10",
|
|
"protocol": 6,
|
|
"sourcePort": 80,
|
|
"destinationPort": 64470,
|
|
"payload": null,
|
|
"tcpFlags": "SA",
|
|
"sequence": 2000000,
|
|
"acknowledgement": 3000001
|
|
},
|
|
{
|
|
"time": 1622,
|
|
"source": "02:00:00:00:05:11",
|
|
"destination": "02:00:00:00:05:22",
|
|
"sourceIp": "192.168.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 64470,
|
|
"destinationPort": 80,
|
|
"payload": null,
|
|
"tcpFlags": "A",
|
|
"sequence": 3000001,
|
|
"acknowledgement": 2000001
|
|
},
|
|
{
|
|
"time": 1678,
|
|
"source": "02:00:00:00:05:11",
|
|
"destination": "02:00:00:00:05:22",
|
|
"sourceIp": "192.168.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 64470,
|
|
"destinationPort": 80,
|
|
"payload": "hello",
|
|
"tcpFlags": "P",
|
|
"sequence": 3000001,
|
|
"acknowledgement": 0
|
|
},
|
|
{
|
|
"time": 2012,
|
|
"source": "02:00:00:00:05:22",
|
|
"destination": "02:00:00:00:05:11",
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "192.168.0.10",
|
|
"protocol": 6,
|
|
"sourcePort": 80,
|
|
"destinationPort": 64470,
|
|
"payload": null,
|
|
"tcpFlags": "A",
|
|
"sequence": 2000001,
|
|
"acknowledgement": 3000006
|
|
},
|
|
{
|
|
"time": 2067,
|
|
"source": "02:00:00:00:05:22",
|
|
"destination": "02:00:00:00:05:11",
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "192.168.0.10",
|
|
"protocol": 6,
|
|
"sourcePort": 80,
|
|
"destinationPort": 64470,
|
|
"payload": "reply hello",
|
|
"tcpFlags": "P",
|
|
"sequence": 2000001,
|
|
"acknowledgement": 0
|
|
},
|
|
{
|
|
"time": 2068,
|
|
"source": "02:00:00:00:05:11",
|
|
"destination": "02:00:00:00:05:22",
|
|
"sourceIp": "192.168.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 64470,
|
|
"destinationPort": 80,
|
|
"payload": null,
|
|
"tcpFlags": "A",
|
|
"sequence": 3000006,
|
|
"acknowledgement": 2000012
|
|
},
|
|
{
|
|
"time": 2123,
|
|
"source": "02:00:00:00:05:11",
|
|
"destination": "02:00:00:00:05:22",
|
|
"sourceIp": "192.168.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 64470,
|
|
"destinationPort": 80,
|
|
"payload": null,
|
|
"tcpFlags": "F",
|
|
"sequence": 3000006,
|
|
"acknowledgement": 0
|
|
},
|
|
{
|
|
"time": 2457,
|
|
"source": "02:00:00:00:05:22",
|
|
"destination": "02:00:00:00:05:11",
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "192.168.0.10",
|
|
"protocol": 6,
|
|
"sourcePort": 80,
|
|
"destinationPort": 64470,
|
|
"payload": null,
|
|
"tcpFlags": "A",
|
|
"sequence": 2000012,
|
|
"acknowledgement": 3000007
|
|
},
|
|
{
|
|
"time": 2513,
|
|
"source": "02:00:00:00:05:22",
|
|
"destination": "02:00:00:00:05:11",
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "192.168.0.10",
|
|
"protocol": 6,
|
|
"sourcePort": 80,
|
|
"destinationPort": 64470,
|
|
"payload": null,
|
|
"tcpFlags": "F",
|
|
"sequence": 2000012,
|
|
"acknowledgement": 0
|
|
},
|
|
{
|
|
"time": 2513,
|
|
"source": "02:00:00:00:05:11",
|
|
"destination": "02:00:00:00:05:22",
|
|
"sourceIp": "192.168.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 64470,
|
|
"destinationPort": 80,
|
|
"payload": null,
|
|
"tcpFlags": "A",
|
|
"sequence": 3000007,
|
|
"acknowledgement": 2000013
|
|
}
|
|
],
|
|
"00000000-0000-0000-0000-000000000502": [
|
|
{
|
|
"time": 1115,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"arp": 1,
|
|
"senderIp": "42.0.0.10",
|
|
"targetIp": "42.0.0.20"
|
|
},
|
|
{
|
|
"time": 1341,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "02:00:00:00:05:21",
|
|
"arp": 2,
|
|
"senderIp": "42.0.0.20",
|
|
"targetIp": "42.0.0.10"
|
|
},
|
|
{
|
|
"time": 1341,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "02:00:00:00:05:41",
|
|
"sourceIp": "42.0.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 58632,
|
|
"destinationPort": 80,
|
|
"payload": null,
|
|
"tcpFlags": "S",
|
|
"sequence": 3000000,
|
|
"acknowledgement": 0
|
|
},
|
|
{
|
|
"time": 1566,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "02:00:00:00:05:21",
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "42.0.0.10",
|
|
"protocol": 6,
|
|
"sourcePort": 80,
|
|
"destinationPort": 58632,
|
|
"payload": null,
|
|
"tcpFlags": "SA",
|
|
"sequence": 2000000,
|
|
"acknowledgement": 3000001
|
|
},
|
|
{
|
|
"time": 1678,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "02:00:00:00:05:41",
|
|
"sourceIp": "42.0.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 58632,
|
|
"destinationPort": 80,
|
|
"payload": null,
|
|
"tcpFlags": "A",
|
|
"sequence": 3000001,
|
|
"acknowledgement": 2000001
|
|
},
|
|
{
|
|
"time": 1734,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "02:00:00:00:05:41",
|
|
"sourceIp": "42.0.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 58632,
|
|
"destinationPort": 80,
|
|
"payload": "hello",
|
|
"tcpFlags": "P",
|
|
"sequence": 3000001,
|
|
"acknowledgement": 0
|
|
},
|
|
{
|
|
"time": 1956,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "02:00:00:00:05:21",
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "42.0.0.10",
|
|
"protocol": 6,
|
|
"sourcePort": 80,
|
|
"destinationPort": 58632,
|
|
"payload": null,
|
|
"tcpFlags": "A",
|
|
"sequence": 2000001,
|
|
"acknowledgement": 3000006
|
|
},
|
|
{
|
|
"time": 2012,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "02:00:00:00:05:21",
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "42.0.0.10",
|
|
"protocol": 6,
|
|
"sourcePort": 80,
|
|
"destinationPort": 58632,
|
|
"payload": "reply hello",
|
|
"tcpFlags": "P",
|
|
"sequence": 2000001,
|
|
"acknowledgement": 0
|
|
},
|
|
{
|
|
"time": 2124,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "02:00:00:00:05:41",
|
|
"sourceIp": "42.0.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 58632,
|
|
"destinationPort": 80,
|
|
"payload": null,
|
|
"tcpFlags": "A",
|
|
"sequence": 3000006,
|
|
"acknowledgement": 2000012
|
|
},
|
|
{
|
|
"time": 2179,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "02:00:00:00:05:41",
|
|
"sourceIp": "42.0.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 58632,
|
|
"destinationPort": 80,
|
|
"payload": null,
|
|
"tcpFlags": "F",
|
|
"sequence": 3000006,
|
|
"acknowledgement": 0
|
|
},
|
|
{
|
|
"time": 2402,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "02:00:00:00:05:21",
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "42.0.0.10",
|
|
"protocol": 6,
|
|
"sourcePort": 80,
|
|
"destinationPort": 58632,
|
|
"payload": null,
|
|
"tcpFlags": "A",
|
|
"sequence": 2000012,
|
|
"acknowledgement": 3000007
|
|
},
|
|
{
|
|
"time": 2457,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "02:00:00:00:05:21",
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "42.0.0.10",
|
|
"protocol": 6,
|
|
"sourcePort": 80,
|
|
"destinationPort": 58632,
|
|
"payload": null,
|
|
"tcpFlags": "F",
|
|
"sequence": 2000012,
|
|
"acknowledgement": 0
|
|
},
|
|
{
|
|
"time": 2569,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "02:00:00:00:05:41",
|
|
"sourceIp": "42.0.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 58632,
|
|
"destinationPort": 80,
|
|
"payload": null,
|
|
"tcpFlags": "A",
|
|
"sequence": 3000007,
|
|
"acknowledgement": 2000013
|
|
}
|
|
],
|
|
"00000000-0000-0000-0000-000000000504": [
|
|
{
|
|
"time": 1230,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"arp": 1,
|
|
"senderIp": "42.0.0.10",
|
|
"targetIp": "42.0.0.20"
|
|
},
|
|
{
|
|
"time": 1230,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "02:00:00:00:05:21",
|
|
"arp": 2,
|
|
"senderIp": "42.0.0.20",
|
|
"targetIp": "42.0.0.10"
|
|
},
|
|
{
|
|
"time": 1453,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "02:00:00:00:05:41",
|
|
"sourceIp": "42.0.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 58632,
|
|
"destinationPort": 80,
|
|
"payload": null,
|
|
"tcpFlags": "S",
|
|
"sequence": 3000000,
|
|
"acknowledgement": 0
|
|
},
|
|
{
|
|
"time": 1455,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "02:00:00:00:05:21",
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "42.0.0.10",
|
|
"protocol": 6,
|
|
"sourcePort": 80,
|
|
"destinationPort": 58632,
|
|
"payload": null,
|
|
"tcpFlags": "SA",
|
|
"sequence": 2000000,
|
|
"acknowledgement": 3000001
|
|
},
|
|
{
|
|
"time": 1789,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "02:00:00:00:05:41",
|
|
"sourceIp": "42.0.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 58632,
|
|
"destinationPort": 80,
|
|
"payload": null,
|
|
"tcpFlags": "A",
|
|
"sequence": 3000001,
|
|
"acknowledgement": 2000001
|
|
},
|
|
{
|
|
"time": 1845,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "02:00:00:00:05:41",
|
|
"sourceIp": "42.0.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 58632,
|
|
"destinationPort": 80,
|
|
"payload": "hello",
|
|
"tcpFlags": "P",
|
|
"sequence": 3000001,
|
|
"acknowledgement": 0
|
|
},
|
|
{
|
|
"time": 1845,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "02:00:00:00:05:21",
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "42.0.0.10",
|
|
"protocol": 6,
|
|
"sourcePort": 80,
|
|
"destinationPort": 58632,
|
|
"payload": null,
|
|
"tcpFlags": "A",
|
|
"sequence": 2000001,
|
|
"acknowledgement": 3000006
|
|
},
|
|
{
|
|
"time": 1901,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "02:00:00:00:05:21",
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "42.0.0.10",
|
|
"protocol": 6,
|
|
"sourcePort": 80,
|
|
"destinationPort": 58632,
|
|
"payload": "reply hello",
|
|
"tcpFlags": "P",
|
|
"sequence": 2000001,
|
|
"acknowledgement": 0
|
|
},
|
|
{
|
|
"time": 2235,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "02:00:00:00:05:41",
|
|
"sourceIp": "42.0.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 58632,
|
|
"destinationPort": 80,
|
|
"payload": null,
|
|
"tcpFlags": "A",
|
|
"sequence": 3000006,
|
|
"acknowledgement": 2000012
|
|
},
|
|
{
|
|
"time": 2290,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "02:00:00:00:05:41",
|
|
"sourceIp": "42.0.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 58632,
|
|
"destinationPort": 80,
|
|
"payload": null,
|
|
"tcpFlags": "F",
|
|
"sequence": 3000006,
|
|
"acknowledgement": 0
|
|
},
|
|
{
|
|
"time": 2291,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "02:00:00:00:05:21",
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "42.0.0.10",
|
|
"protocol": 6,
|
|
"sourcePort": 80,
|
|
"destinationPort": 58632,
|
|
"payload": null,
|
|
"tcpFlags": "A",
|
|
"sequence": 2000012,
|
|
"acknowledgement": 3000007
|
|
},
|
|
{
|
|
"time": 2346,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "02:00:00:00:05:21",
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "42.0.0.10",
|
|
"protocol": 6,
|
|
"sourcePort": 80,
|
|
"destinationPort": 58632,
|
|
"payload": null,
|
|
"tcpFlags": "F",
|
|
"sequence": 2000012,
|
|
"acknowledgement": 0
|
|
},
|
|
{
|
|
"time": 2680,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "02:00:00:00:05:41",
|
|
"sourceIp": "42.0.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"protocol": 6,
|
|
"sourcePort": 58632,
|
|
"destinationPort": 80,
|
|
"payload": null,
|
|
"tcpFlags": "A",
|
|
"sequence": 3000007,
|
|
"acknowledgement": 2000013
|
|
}
|
|
],
|
|
"00000000-0000-0000-0000-000000000505": [
|
|
{
|
|
"time": 1230,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"arp": 1,
|
|
"senderIp": "42.0.0.10",
|
|
"targetIp": "42.0.0.20"
|
|
}
|
|
]
|
|
},
|
|
"events": [
|
|
[
|
|
719,
|
|
"server oeffnen called"
|
|
],
|
|
[
|
|
921,
|
|
"client verbinden called"
|
|
],
|
|
[
|
|
1623,
|
|
"client verbinden returned "
|
|
],
|
|
[
|
|
1623,
|
|
"client senden called"
|
|
],
|
|
[
|
|
1820,
|
|
"server oeffnen returned filius.software.transportschicht.TCPSocket@452d1e97"
|
|
],
|
|
[
|
|
1820,
|
|
"server empfangen called"
|
|
],
|
|
[
|
|
1845,
|
|
"server empfangen returned hello"
|
|
],
|
|
[
|
|
1845,
|
|
"server senden called"
|
|
],
|
|
[
|
|
2012,
|
|
"client senden returned "
|
|
],
|
|
[
|
|
2012,
|
|
"client empfangen called"
|
|
],
|
|
[
|
|
2068,
|
|
"client empfangen returned reply hello"
|
|
],
|
|
[
|
|
2068,
|
|
"client schliessen called"
|
|
],
|
|
[
|
|
2068,
|
|
"client schliessen returned "
|
|
],
|
|
[
|
|
2235,
|
|
"server senden returned "
|
|
]
|
|
],
|
|
"nat": [
|
|
"6 42.0.0.20:58632 -> 192.168.0.10:64470 DynamicEntry"
|
|
]
|
|
}
|