feat(core): home router NAT after Java, measured with Java FILIUS
The core translates before the IP thread, as Java's NAT threads sit between card and Ethernet: out, the WAN address and the entry's port (ICMP keeps its identifier); in, by remote end, port and protocol, else by the port forwarding, which then makes a dynamic entry; a ping at the WAN address is answered by the router, packets from outside for the LAN are dropped, both sides pass the router's firewall, TTL 1 going out gets time exceeded. Dynamic entries expire at Java's check each second, 300 s times the delay factor old (55 minutes at 90 %), refreshed only by what comes in. The home router forwards as a router does. Measured and not taken: when a LAN endpoint sends to a second remote end, Java gives it the entry's WAN port but no entry, and the answer stays at the router; the core adds an entry for each new remote end on that port. The oracle now records every card of a node (the second card of routers was missing); the ARP and RIP runs are recorded anew and still match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"frames": {
|
||||
"00000000-0000-0000-0000-000000000501": [
|
||||
{
|
||||
"time": 923,
|
||||
"time": 927,
|
||||
"source": "02:00:00:00:05:11",
|
||||
"destination": "FF:FF:FF:FF:FF:FF",
|
||||
"arp": 1,
|
||||
@@ -10,7 +10,7 @@
|
||||
"targetIp": "192.168.0.1"
|
||||
},
|
||||
{
|
||||
"time": 1042,
|
||||
"time": 1048,
|
||||
"source": "02:00:00:00:05:22",
|
||||
"destination": "02:00:00:00:05:11",
|
||||
"arp": 2,
|
||||
@@ -18,31 +18,31 @@
|
||||
"targetIp": "192.168.0.10"
|
||||
},
|
||||
{
|
||||
"time": 1045,
|
||||
"time": 1051,
|
||||
"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": 17,
|
||||
"sourcePort": 62293,
|
||||
"sourcePort": 50152,
|
||||
"destinationPort": 7,
|
||||
"payload": "one"
|
||||
},
|
||||
{
|
||||
"time": 1614,
|
||||
"time": 1620,
|
||||
"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": 17,
|
||||
"sourcePort": 7,
|
||||
"destinationPort": 62293,
|
||||
"destinationPort": 50152,
|
||||
"payload": "pong one"
|
||||
}
|
||||
],
|
||||
"00000000-0000-0000-0000-000000000502": [
|
||||
{
|
||||
"time": 1107,
|
||||
"time": 1112,
|
||||
"source": "02:00:00:00:05:21",
|
||||
"destination": "FF:FF:FF:FF:FF:FF",
|
||||
"arp": 1,
|
||||
@@ -50,7 +50,7 @@
|
||||
"targetIp": "42.0.0.20"
|
||||
},
|
||||
{
|
||||
"time": 1333,
|
||||
"time": 1339,
|
||||
"source": "02:00:00:00:05:41",
|
||||
"destination": "02:00:00:00:05:21",
|
||||
"arp": 2,
|
||||
@@ -58,31 +58,71 @@
|
||||
"targetIp": "42.0.0.10"
|
||||
},
|
||||
{
|
||||
"time": 1333,
|
||||
"time": 1339,
|
||||
"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": 17,
|
||||
"sourcePort": 50801,
|
||||
"sourcePort": 63618,
|
||||
"destinationPort": 7,
|
||||
"payload": "one"
|
||||
},
|
||||
{
|
||||
"time": 1558,
|
||||
"time": 1564,
|
||||
"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": 17,
|
||||
"sourcePort": 7,
|
||||
"destinationPort": 50801,
|
||||
"destinationPort": 63618,
|
||||
"payload": "pong one"
|
||||
}
|
||||
],
|
||||
"00000000-0000-0000-0000-000000000502#1": [
|
||||
{
|
||||
"time": 991,
|
||||
"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": 992,
|
||||
"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": 1108,
|
||||
"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": 17,
|
||||
"sourcePort": 50152,
|
||||
"destinationPort": 7,
|
||||
"payload": "one"
|
||||
},
|
||||
{
|
||||
"time": 1564,
|
||||
"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": 17,
|
||||
"sourcePort": 7,
|
||||
"destinationPort": 50152,
|
||||
"payload": "pong one"
|
||||
}
|
||||
],
|
||||
"00000000-0000-0000-0000-000000000504": [
|
||||
{
|
||||
"time": 1221,
|
||||
"time": 1227,
|
||||
"source": "02:00:00:00:05:21",
|
||||
"destination": "FF:FF:FF:FF:FF:FF",
|
||||
"arp": 1,
|
||||
@@ -90,7 +130,7 @@
|
||||
"targetIp": "42.0.0.20"
|
||||
},
|
||||
{
|
||||
"time": 1221,
|
||||
"time": 1227,
|
||||
"source": "02:00:00:00:05:41",
|
||||
"destination": "02:00:00:00:05:21",
|
||||
"arp": 2,
|
||||
@@ -98,31 +138,31 @@
|
||||
"targetIp": "42.0.0.10"
|
||||
},
|
||||
{
|
||||
"time": 1445,
|
||||
"time": 1450,
|
||||
"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": 17,
|
||||
"sourcePort": 50801,
|
||||
"sourcePort": 63618,
|
||||
"destinationPort": 7,
|
||||
"payload": "one"
|
||||
},
|
||||
{
|
||||
"time": 1447,
|
||||
"time": 1452,
|
||||
"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": 17,
|
||||
"sourcePort": 7,
|
||||
"destinationPort": 50801,
|
||||
"destinationPort": 63618,
|
||||
"payload": "pong one"
|
||||
}
|
||||
],
|
||||
"00000000-0000-0000-0000-000000000505": [
|
||||
{
|
||||
"time": 1221,
|
||||
"time": 1227,
|
||||
"source": "02:00:00:00:05:21",
|
||||
"destination": "FF:FF:FF:FF:FF:FF",
|
||||
"arp": 1,
|
||||
@@ -133,27 +173,27 @@
|
||||
},
|
||||
"events": [
|
||||
[
|
||||
917,
|
||||
920,
|
||||
"senden 42.0.0.20 called"
|
||||
],
|
||||
[
|
||||
919,
|
||||
922,
|
||||
"senden 42.0.0.20 returned "
|
||||
],
|
||||
[
|
||||
919,
|
||||
922,
|
||||
"empfangen called"
|
||||
],
|
||||
[
|
||||
1447,
|
||||
1452,
|
||||
"server received one"
|
||||
],
|
||||
[
|
||||
1615,
|
||||
1620,
|
||||
"empfangen returned pong one"
|
||||
]
|
||||
],
|
||||
"nat": [
|
||||
"17 42.0.0.20:50801 -> 192.168.0.10:62293 DynamicEntry"
|
||||
"17 42.0.0.20:63618 -> 192.168.0.10:50152 DynamicEntry"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user