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>
131 lines
3.0 KiB
JSON
131 lines
3.0 KiB
JSON
{
|
|
"frames": {
|
|
"00000000-0000-0000-0000-000000000501": [],
|
|
"00000000-0000-0000-0000-000000000502": [
|
|
{
|
|
"time": 849,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"arp": 1,
|
|
"senderIp": "42.0.0.20",
|
|
"targetIp": "42.0.0.10"
|
|
},
|
|
{
|
|
"time": 851,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "02:00:00:00:05:41",
|
|
"arp": 2,
|
|
"senderIp": "42.0.0.10",
|
|
"targetIp": "42.0.0.20"
|
|
},
|
|
{
|
|
"time": 1089,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "02:00:00:00:05:21",
|
|
"icmp": 8,
|
|
"icmpCode": 0,
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "42.0.0.10",
|
|
"sequence": 1
|
|
},
|
|
{
|
|
"time": 1089,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "02:00:00:00:05:41",
|
|
"icmp": 0,
|
|
"icmpCode": 0,
|
|
"sourceIp": "42.0.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"sequence": 1
|
|
},
|
|
{
|
|
"time": 1315,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "02:00:00:00:05:21",
|
|
"icmp": 8,
|
|
"icmpCode": 0,
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "192.168.0.10",
|
|
"sequence": 2
|
|
}
|
|
],
|
|
"00000000-0000-0000-0000-000000000504": [
|
|
{
|
|
"time": 727,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"arp": 1,
|
|
"senderIp": "42.0.0.20",
|
|
"targetIp": "42.0.0.10"
|
|
},
|
|
{
|
|
"time": 965,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "02:00:00:00:05:41",
|
|
"arp": 2,
|
|
"senderIp": "42.0.0.10",
|
|
"targetIp": "42.0.0.20"
|
|
},
|
|
{
|
|
"time": 970,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "02:00:00:00:05:21",
|
|
"icmp": 8,
|
|
"icmpCode": 0,
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "42.0.0.10",
|
|
"sequence": 1
|
|
},
|
|
{
|
|
"time": 1201,
|
|
"source": "02:00:00:00:05:21",
|
|
"destination": "02:00:00:00:05:41",
|
|
"icmp": 0,
|
|
"icmpCode": 0,
|
|
"sourceIp": "42.0.0.10",
|
|
"destinationIp": "42.0.0.20",
|
|
"sequence": 1
|
|
},
|
|
{
|
|
"time": 1204,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "02:00:00:00:05:21",
|
|
"icmp": 8,
|
|
"icmpCode": 0,
|
|
"sourceIp": "42.0.0.20",
|
|
"destinationIp": "192.168.0.10",
|
|
"sequence": 2
|
|
}
|
|
],
|
|
"00000000-0000-0000-0000-000000000505": [
|
|
{
|
|
"time": 849,
|
|
"source": "02:00:00:00:05:41",
|
|
"destination": "FF:FF:FF:FF:FF:FF",
|
|
"arp": 1,
|
|
"senderIp": "42.0.0.20",
|
|
"targetIp": "42.0.0.10"
|
|
}
|
|
]
|
|
},
|
|
"events": [
|
|
[
|
|
720,
|
|
"sendProbe 42.0.0.10 called"
|
|
],
|
|
[
|
|
1203,
|
|
"sendProbe 42.0.0.10 returned ICMP 0/0 from 42.0.0.10"
|
|
],
|
|
[
|
|
1204,
|
|
"sendProbe 192.168.0.10 called"
|
|
],
|
|
[
|
|
3954,
|
|
"sendProbe 192.168.0.10 returned null"
|
|
]
|
|
],
|
|
"nat": []
|
|
}
|