test(java-oracle): TcpRun records TCP as Java FILIUS runs it

Three stories of socket calls on tcp-lan's network (exchange, closedPort,
lostData): every frame with TCP flags and numbers, when each call started,
returned or failed, and each socket's states. Network building and the
packet log move from DhcpRun to ScenarioNetwork.

Measured: 3 RTT per attempt (8250 ms at 90 %), an orderly close after a
failed send, TIME_WAIT of 3 RTT, the passive side closing by itself on FIN,
one SYN only (Java's retry loop ends after the first timeout).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-30 11:08:43 +00:00
co-authored by Claude Opus 5.5
parent ed437f9b5c
commit cd3c6a432c
8 changed files with 1740 additions and 385 deletions
@@ -0,0 +1,104 @@
{
"frames": {
"00000000-0000-0000-0000-000000000101": [
{
"time": 852,
"source": "02:00:00:00:01:13",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
"senderIp": "192.168.0.30",
"targetIp": "192.168.0.10"
},
{
"time": 854,
"source": "02:00:00:00:01:11",
"destination": "02:00:00:00:01:13",
"arp": 2,
"senderIp": "192.168.0.10",
"targetIp": "192.168.0.30"
},
{
"time": 1081,
"source": "02:00:00:00:01:13",
"destination": "02:00:00:00:01:11",
"sourceIp": "192.168.0.30",
"destinationIp": "192.168.0.10",
"protocol": 6,
"sourcePort": 62251,
"destinationPort": 81,
"payload": null,
"tcpFlags": "S",
"sequence": 1000000,
"acknowledgement": 0
}
],
"00000000-0000-0000-0000-000000000102": [
{
"time": 852,
"source": "02:00:00:00:01:13",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
"senderIp": "192.168.0.30",
"targetIp": "192.168.0.10"
}
],
"00000000-0000-0000-0000-000000000103": [
{
"time": 731,
"source": "02:00:00:00:01:13",
"destination": "FF:FF:FF:FF:FF:FF",
"arp": 1,
"senderIp": "192.168.0.30",
"targetIp": "192.168.0.10"
},
{
"time": 965,
"source": "02:00:00:00:01:11",
"destination": "02:00:00:00:01:13",
"arp": 2,
"senderIp": "192.168.0.10",
"targetIp": "192.168.0.30"
},
{
"time": 968,
"source": "02:00:00:00:01:13",
"destination": "02:00:00:00:01:11",
"sourceIp": "192.168.0.30",
"destinationIp": "192.168.0.10",
"protocol": 6,
"sourcePort": 62251,
"destinationPort": 81,
"payload": null,
"tcpFlags": "S",
"sequence": 1000000,
"acknowledgement": 0
}
]
},
"events": [
[
715,
"client verbinden called"
],
[
9020,
"client verbinden failed TimeOutException"
]
],
"states": {
"client": [
[
714,
"CLOSED"
],
[
728,
"SYN_SENT"
],
[
8979,
"CLOSED"
]
]
}
}