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:
2026-09-30 20:06:04 +00:00
co-authored by Claude Opus 5.5
parent 5505e8e8af
commit 7a77bc1b43
23 changed files with 2915 additions and 748 deletions
@@ -2,7 +2,7 @@
"frames": {
"00000000-0000-0000-0000-000000000301": [
{
"time": 724,
"time": 731,
"source": "02:00:00:00:03:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -10,7 +10,7 @@
"targetIp": "10.0.0.9"
},
{
"time": 3475,
"time": 3481,
"source": "02:00:00:00:03:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -18,7 +18,7 @@
"targetIp": "10.0.0.9"
},
{
"time": 6230,
"time": 6237,
"source": "02:00:00:00:03:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -26,7 +26,7 @@
"targetIp": "10.0.0.1"
},
{
"time": 6453,
"time": 6460,
"source": "02:00:00:00:03:21",
"destination": "02:00:00:00:03:11",
"arp": 2,
@@ -34,20 +34,20 @@
"targetIp": "10.0.0.2"
},
{
"time": 6453,
"time": 6460,
"source": "02:00:00:00:03:11",
"destination": "02:00:00:00:03:21",
"sourceIp": "10.0.0.2",
"destinationIp": "20.0.0.2",
"protocol": 17,
"sourcePort": 64055,
"sourcePort": 55273,
"destinationPort": 9,
"payload": "dahinter"
}
],
"00000000-0000-0000-0000-000000000302": [
{
"time": 846,
"time": 852,
"source": "02:00:00:00:03:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -55,7 +55,7 @@
"targetIp": "10.0.0.9"
},
{
"time": 3586,
"time": 3593,
"source": "02:00:00:00:03:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -63,7 +63,7 @@
"targetIp": "10.0.0.9"
},
{
"time": 6341,
"time": 6348,
"source": "02:00:00:00:03:11",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -71,7 +71,7 @@
"targetIp": "10.0.0.1"
},
{
"time": 6342,
"time": 6349,
"source": "02:00:00:00:03:21",
"destination": "02:00:00:00:03:11",
"arp": 2,
@@ -79,20 +79,20 @@
"targetIp": "10.0.0.2"
},
{
"time": 6566,
"time": 6574,
"source": "02:00:00:00:03:11",
"destination": "02:00:00:00:03:21",
"sourceIp": "10.0.0.2",
"destinationIp": "20.0.0.2",
"protocol": 17,
"sourcePort": 64055,
"sourcePort": 55273,
"destinationPort": 9,
"payload": "dahinter"
}
],
"00000000-0000-0000-0000-000000000303": [
"00000000-0000-0000-0000-000000000302#1": [
{
"time": 6622,
"time": 6574,
"source": "02:00:00:00:03:22",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
@@ -100,7 +100,7 @@
"targetIp": "20.0.0.2"
},
{
"time": 6622,
"time": 6685,
"source": "02:00:00:00:03:13",
"destination": "02:00:00:00:03:22",
"arp": 2,
@@ -108,13 +108,42 @@
"targetIp": "20.0.0.1"
},
{
"time": 6733,
"time": 6685,
"source": "02:00:00:00:03:22",
"destination": "02:00:00:00:03:13",
"sourceIp": "10.0.0.2",
"destinationIp": "20.0.0.2",
"protocol": 17,
"sourcePort": 64055,
"sourcePort": 55273,
"destinationPort": 9,
"payload": "dahinter"
}
],
"00000000-0000-0000-0000-000000000303": [
{
"time": 6629,
"source": "02:00:00:00:03:22",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
"senderIp": "20.0.0.1",
"targetIp": "20.0.0.2"
},
{
"time": 6629,
"source": "02:00:00:00:03:13",
"destination": "02:00:00:00:03:22",
"arp": 2,
"senderIp": "20.0.0.2",
"targetIp": "20.0.0.1"
},
{
"time": 6741,
"source": "02:00:00:00:03:22",
"destination": "02:00:00:00:03:13",
"sourceIp": "10.0.0.2",
"destinationIp": "20.0.0.2",
"protocol": 17,
"sourcePort": 55273,
"destinationPort": 9,
"payload": "dahinter"
}
@@ -122,19 +151,19 @@
},
"events": [
[
716,
723,
"senden verloren called"
],
[
720,
727,
"senden verloren returned "
],
[
720,
727,
"senden dahinter called"
],
[
6230,
6237,
"senden dahinter returned "
]
]