feat(libkernel): set and read IPV6_V6ONLY on a guest socket #6663

Merged
karimibrahim07 merged 1 commit from upstream-pr/6663 into main 2026-10-19 08:44:37 +00:00
karimibrahim07 commented 2026-10-16 02:58:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by karimibrahim07 on 2026-10-16T02:58:38Z.


What

setsockopt and getsockopt refused every IPPROTO_IPV6 option with ENOPROTOOPT. Java creates its TCP and UDP sockets as AF_INET6 and turns IPV6_V6ONLY off on each one, so it can reach IPv4 addresses through the mapped form. Java 25 Advanced Network (PPSA99871) stops there on main. Its HTTPS row fails with java.net.SocketException: Protocol not available, after setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, 0) on a fresh AF_INET6 stream socket.

IPV6_V6ONLY (27) now works on an AF_INET6 socket, following FreeBSD 11.4's ip6_ctloutput:

  • Setting it sets it on the host socket. A value whose length is not exactly an int fails with EINVAL (L1572), and so does setting it on a bound socket (L1722), which both hosts refuse too.
  • Reading it gives 0 or 1 (L2010).
  • The IPPROTO_IPV6 level on an AF_INET or AF_UNIX socket fails with EINVAL, as for IPPROTO_TCP there. Other IPPROTO_IPV6 options still fail with ENOPROTOOPT, as in FreeBSD's default cases (L1928-L1929, L2158-L2159).

socket already turns the option on for every AF_INET6 socket, as FreeBSD's default net.inet6.ip6.v6only does. The debt entry for getsockopt, setsockopt now lists the option. It also notes that PPSA99871 sets SO_REUSEPORT and carries on when that fails.

Tested

Windows 11 Pro (26300), WinLibs GCC 15.2.0 r7, Ninja Release, on main 31cbb55d7:

  • guest_socket_stream_options passes. The new part checks:
    • an AF_INET6 stream socket reads 1, is set to 0, reads 0 and then connects to an IPv4 listener through ::ffff:127.0.0.1
    • a datagram socket reads back 1 for a value of 9
    • a short value gives EINVAL, and so does setting the option after a bind to ::
    • IPV6_UNICAST_HOPS gives ENOPROTOOPT
    • the option on an AF_INET datagram socket and on a socketpair end gives EINVAL
  • With only the test changed, it aborts at the first read with errno 42.
  • The full suite passes, 1300 tests. Two conventions_function_bodies shards timed out while the machine was busy and passed when rerun alone. python tools/check_conventions.py --base origin/main passes.
  • tools/pr_overlap.py --branch finds no conflicting lines. The PRs it could not compare already conflict with main. A trial merge with each of the recent ones (#5973, #6228, #6343, #6510, #6542, #5835) gives only the conflicts it has with main, and #6142 and #5967 merge cleanly.

Java 25 Advanced Network (PPSA99871, 01.000.002, SHA-256 8c95655c87b1433c291170d606c22e740b2099b4e8a28ed2906905ba534c32cc, matching the release's SHA256SUMS), relinked with --windows --to-intel --trap-sdk-syscall-stubs --registry:

  • Without this change (main 44df21632 with #5918, which only touches thread stacks), the HTTPS row stops at HTTPS stage connect HTTPS with certificate and hostname verification: java.net.SocketException: Protocol not available.
  • With this PR, the IPv6 TCP/UDP loopback row, the network load row (four concurrent TCP clients, 256 UDP round trips) and DestroyJavaVM pass, each ending with fixture returned normally or DestroyJavaVM complete.
  • The HTTPS row now connects, through ::ffff: and the IPv4 address of example.com, and then fails with Software caused connection abort on the first read. That isn't this change. Here the interpreter-only VM, which also traces every memory call, takes longer between connect and the TLS ClientHello than the server keeps an idle connection open. A plain connection to the same address answers HTTP/1.1 200 when the request goes out at once, a reset after 15 s and an end of stream after 40 s. This PC has no IPv6 route to the internet, so only the IPv4 address was tried.

Linux not tested. The change goes through the same setsockopt and getsockopt calls there.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: PPSA99871 #6664 (IPv6 and network load rows)
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4882810601 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6663). Originally posted by [karimibrahim07](https://github.com/karimibrahim07) on 2026-10-16T02:58:38Z. --- ### What `setsockopt` and `getsockopt` refused every `IPPROTO_IPV6` option with `ENOPROTOOPT`. Java creates its TCP and UDP sockets as `AF_INET6` and turns `IPV6_V6ONLY` off on each one, so it can reach IPv4 addresses through the mapped form. Java 25 Advanced Network (PPSA99871) stops there on `main`. Its HTTPS row fails with `java.net.SocketException: Protocol not available`, after `setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, 0)` on a fresh `AF_INET6` stream socket. `IPV6_V6ONLY` (27) now works on an `AF_INET6` socket, following FreeBSD 11.4's [`ip6_ctloutput`](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/sys/netinet6/ip6_output.c#L1716-L1732): - Setting it sets it on the host socket. A value whose length is not exactly an `int` fails with `EINVAL` ([L1572](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/sys/netinet6/ip6_output.c#L1572)), and so does setting it on a bound socket ([L1722](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/sys/netinet6/ip6_output.c#L1722)), which both hosts refuse too. - Reading it gives 0 or 1 ([L2010](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/sys/netinet6/ip6_output.c#L2010)). - The `IPPROTO_IPV6` level on an `AF_INET` or `AF_UNIX` socket fails with `EINVAL`, as for `IPPROTO_TCP` there. Other `IPPROTO_IPV6` options still fail with `ENOPROTOOPT`, as in FreeBSD's default cases ([L1928-L1929](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/sys/netinet6/ip6_output.c#L1928-L1929), [L2158-L2159](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/sys/netinet6/ip6_output.c#L2158-L2159)). `socket` already turns the option on for every `AF_INET6` socket, as FreeBSD's default `net.inet6.ip6.v6only` does. The debt entry for `getsockopt, setsockopt` now lists the option. It also notes that PPSA99871 sets `SO_REUSEPORT` and carries on when that fails. ### Tested Windows 11 Pro (26300), WinLibs GCC 15.2.0 r7, Ninja Release, on `main` `31cbb55d7`: - `guest_socket_stream_options` passes. The new part checks: - an `AF_INET6` stream socket reads 1, is set to 0, reads 0 and then connects to an IPv4 listener through `::ffff:127.0.0.1` - a datagram socket reads back 1 for a value of 9 - a short value gives `EINVAL`, and so does setting the option after a bind to `::` - `IPV6_UNICAST_HOPS` gives `ENOPROTOOPT` - the option on an `AF_INET` datagram socket and on a `socketpair` end gives `EINVAL` - With only the test changed, it aborts at the first read with errno 42. - The full suite passes, 1300 tests. Two `conventions_function_bodies` shards timed out while the machine was busy and passed when rerun alone. `python tools/check_conventions.py --base origin/main` passes. - `tools/pr_overlap.py --branch` finds no conflicting lines. The PRs it could not compare already conflict with `main`. A trial merge with each of the recent ones (#5973, #6228, #6343, #6510, #6542, #5835) gives only the conflicts it has with `main`, and #6142 and #5967 merge cleanly. Java 25 Advanced Network (PPSA99871, 01.000.002, SHA-256 `8c95655c87b1433c291170d606c22e740b2099b4e8a28ed2906905ba534c32cc`, matching the release's `SHA256SUMS`), relinked with `--windows --to-intel --trap-sdk-syscall-stubs --registry`: - Without this change (`main` `44df21632` with #5918, which only touches thread stacks), the HTTPS row stops at `HTTPS stage connect HTTPS with certificate and hostname verification: java.net.SocketException: Protocol not available`. - With this PR, the IPv6 TCP/UDP loopback row, the network load row (four concurrent TCP clients, 256 UDP round trips) and `DestroyJavaVM` pass, each ending with `fixture returned normally` or `DestroyJavaVM complete`. - The HTTPS row now connects, through `::ffff:` and the IPv4 address of `example.com`, and then fails with `Software caused connection abort` on the first `read`. That isn't this change. Here the interpreter-only VM, which also traces every memory call, takes longer between `connect` and the TLS ClientHello than the server keeps an idle connection open. A plain connection to the same address answers `HTTP/1.1 200` when the request goes out at once, a reset after 15 s and an end of stream after 40 s. This PC has no IPv6 route to the internet, so only the IPv4 address was tried. Linux not tested. The change goes through the same `setsockopt` and `getsockopt` calls there. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: PPSA99871 #6664 (IPv6 and network load rows) - [x] GPUs tested: n/a - [x] AI-assisted: yes
MarcZX10 commented 2026-10-16 03:22:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T03:22:21Z.

Review: APPROVED


Reviewed the IPv6 option dispatch, AF_INET6 default setup, canonical boolean readback, invalid-domain/error handling, and focused socket tests. The Windows loopback and Java title evidence is clearly scoped, and conventions/intake/eligibility/report checks pass. Linux runtime coverage is still unreported, but I found no code issue in the change.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5542682200 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6663#pullrequestreview-5542682200). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-16T03:22:21Z. **Review:** APPROVED --- Reviewed the IPv6 option dispatch, AF_INET6 default setup, canonical boolean readback, invalid-domain/error handling, and focused socket tests. The Windows loopback and Java title evidence is clearly scoped, and conventions/intake/eligibility/report checks pass. Linux runtime coverage is still unreported, but I found no code issue in the change.
jotitadev commented 2026-10-16 03:31:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-16T03:31:01Z.

Review: COMMENTED


Linux run (Ubuntu 26.04, Intel i7-8700, GCC 15.2, Ninja Release, full build), head 411dc0748 merged onto main 5d9dcc42d. Host has net.ipv6.bindv6only = 0.

  • Builds; guest_socket_stream_options passes, including the IPV6_V6ONLY part: a fresh AF_INET6 socket reads 1 (so socket sets it, not the host default), clears to 0 and connects to the IPv4 listener through ::ffff:127.0.0.1; EINVAL after the bind to :: is the Linux kernel's answer.
  • With the core/libs/prx/libkernel/Socket files from main and the new test kept: it aborts with socket stream option check failed at line 78, errno 42 (ENOPROTOOPT, in the Get helper) on the first IPV6_V6ONLY read, as on Windows.
  • The other 8 guest_socket* tests pass.

Non-GPU suite (ctest -E "^agc|gpu|vulkan|video_out", 650 tests): same result as main; only file_writer_binary and file_writer_text fail, and they fail on main too on this machine (Ubuntu 26.04 coreutils).

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5542747577 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6663#pullrequestreview-5542747577). Originally posted by [jotitadev](https://github.com/jotitadev) on 2026-10-16T03:31:01Z. **Review:** COMMENTED --- Linux run (Ubuntu 26.04, Intel i7-8700, GCC 15.2, Ninja Release, full build), head `411dc0748` merged onto `main` `5d9dcc42d`. Host has `net.ipv6.bindv6only = 0`. - Builds; `guest_socket_stream_options` passes, including the `IPV6_V6ONLY` part: a fresh `AF_INET6` socket reads 1 (so `socket` sets it, not the host default), clears to 0 and connects to the IPv4 listener through `::ffff:127.0.0.1`; `EINVAL` after the bind to `::` is the Linux kernel's answer. - With the `core/libs/prx/libkernel/Socket` files from `main` and the new test kept: it aborts with `socket stream option check failed at line 78, errno 42` (`ENOPROTOOPT`, in the `Get` helper) on the first `IPV6_V6ONLY` read, as on Windows. - The other 8 `guest_socket*` tests pass. Non-GPU suite (`ctest -E "^agc|gpu|vulkan|video_out"`, 650 tests): same result as `main`; only `file_writer_binary` and `file_writer_text` fail, and they fail on `main` too on this machine (Ubuntu 26.04 coreutils). Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
github-actions[bot] commented 2026-10-16 03:37:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T03:37:57Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 7511 core/libs/prx/libkernel/Socket/src/Udp.cpp L989-990, L993-995
docs/dev/debt/libkernel.md L181

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 5021 core/libs/prx/libkernel/Socket/src/Udp.cpp
docs/dev/debt/libkernel.md
PR 6149 docs/dev/debt/libkernel.md
PR 6446 docs/dev/debt/libkernel.md
PR 6469 docs/dev/debt/libkernel.md
PR 6519 docs/dev/debt/libkernel.md
PR 6825 docs/dev/debt/libkernel.md
PR 6908 docs/dev/debt/libkernel.md
PR 6936 docs/dev/debt/libkernel.md
PR 6977 core/libs/prx/libkernel/Socket/src/Udp.cpp
docs/dev/debt/libkernel.md
PR 7039 docs/dev/debt/libkernel.md
PR 7049 docs/dev/debt/libkernel.md
PR 7075 core/libs/prx/libkernel/Socket/src/Udp.cpp
docs/dev/debt/libkernel.md
PR 7088 core/libs/prx/libkernel/Socket/src/Udp.cpp
docs/dev/debt/libkernel.md
PR 7105 docs/dev/debt/libkernel.md
PR 7121 docs/dev/debt/libkernel.md
PR 7129 core/libs/prx/libkernel/Socket/src/Udp.cpp
docs/dev/debt/libkernel.md
PR 7149 docs/dev/debt/libkernel.md
PR 7192 docs/dev/debt/libkernel.md
PR 7201 core/libs/prx/libkernel/Socket/src/SocketOptions.cpp
core/libs/prx/libkernel/Socket/src/Udp.cpp
PR 7299 docs/dev/debt/libkernel.md
PR 7332 core/libs/prx/libkernel/Socket/include/SocketOptions.hpp
core/libs/prx/libkernel/Socket/src/SocketOptions.cpp
core/libs/prx/libkernel/Socket/src/Udp.cpp
docs/dev/debt/libkernel.md
PR 7509 docs/dev/debt/libkernel.md
PR 7653 docs/dev/debt/libkernel.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6207525698 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6663#issuecomment-6207525698). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-16T03:37:57Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 7511](https://www.github.com/boykopovar/AnyPS5/pull/7511) | `core/libs/prx/libkernel/Socket/src/Udp.cpp` [L989-990](https://github.com/boykopovar/AnyPS5/blob/22e59888ce1a7a232537f68dadb02814811af3b8/core/libs/prx/libkernel/Socket/src/Udp.cpp#L989-L990), [L993-995](https://github.com/boykopovar/AnyPS5/blob/22e59888ce1a7a232537f68dadb02814811af3b8/core/libs/prx/libkernel/Socket/src/Udp.cpp#L993-L995)<br>`docs/dev/debt/libkernel.md` [L181](https://github.com/boykopovar/AnyPS5/blob/22e59888ce1a7a232537f68dadb02814811af3b8/docs/dev/debt/libkernel.md#L181) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `core/libs/prx/libkernel/Socket/src/Udp.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 6149](https://www.github.com/boykopovar/AnyPS5/pull/6149) | `docs/dev/debt/libkernel.md` | | [PR 6446](https://www.github.com/boykopovar/AnyPS5/pull/6446) | `docs/dev/debt/libkernel.md` | | [PR 6469](https://www.github.com/boykopovar/AnyPS5/pull/6469) | `docs/dev/debt/libkernel.md` | | [PR 6519](https://www.github.com/boykopovar/AnyPS5/pull/6519) | `docs/dev/debt/libkernel.md` | | [PR 6825](https://www.github.com/boykopovar/AnyPS5/pull/6825) | `docs/dev/debt/libkernel.md` | | [PR 6908](https://www.github.com/boykopovar/AnyPS5/pull/6908) | `docs/dev/debt/libkernel.md` | | [PR 6936](https://www.github.com/boykopovar/AnyPS5/pull/6936) | `docs/dev/debt/libkernel.md` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `core/libs/prx/libkernel/Socket/src/Udp.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 7039](https://www.github.com/boykopovar/AnyPS5/pull/7039) | `docs/dev/debt/libkernel.md` | | [PR 7049](https://www.github.com/boykopovar/AnyPS5/pull/7049) | `docs/dev/debt/libkernel.md` | | [PR 7075](https://www.github.com/boykopovar/AnyPS5/pull/7075) | `core/libs/prx/libkernel/Socket/src/Udp.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 7088](https://www.github.com/boykopovar/AnyPS5/pull/7088) | `core/libs/prx/libkernel/Socket/src/Udp.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 7105](https://www.github.com/boykopovar/AnyPS5/pull/7105) | `docs/dev/debt/libkernel.md` | | [PR 7121](https://www.github.com/boykopovar/AnyPS5/pull/7121) | `docs/dev/debt/libkernel.md` | | [PR 7129](https://www.github.com/boykopovar/AnyPS5/pull/7129) | `core/libs/prx/libkernel/Socket/src/Udp.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 7149](https://www.github.com/boykopovar/AnyPS5/pull/7149) | `docs/dev/debt/libkernel.md` | | [PR 7192](https://www.github.com/boykopovar/AnyPS5/pull/7192) | `docs/dev/debt/libkernel.md` | | [PR 7201](https://www.github.com/boykopovar/AnyPS5/pull/7201) | `core/libs/prx/libkernel/Socket/src/SocketOptions.cpp`<br>`core/libs/prx/libkernel/Socket/src/Udp.cpp` | | [PR 7299](https://www.github.com/boykopovar/AnyPS5/pull/7299) | `docs/dev/debt/libkernel.md` | | [PR 7332](https://www.github.com/boykopovar/AnyPS5/pull/7332) | `core/libs/prx/libkernel/Socket/include/SocketOptions.hpp`<br>`core/libs/prx/libkernel/Socket/src/SocketOptions.cpp`<br>`core/libs/prx/libkernel/Socket/src/Udp.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 7509](https://www.github.com/boykopovar/AnyPS5/pull/7509) | `docs/dev/debt/libkernel.md` | | [PR 7653](https://www.github.com/boykopovar/AnyPS5/pull/7653) | `docs/dev/debt/libkernel.md` |
karimibrahim07 commented 2026-10-16 06:52:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by karimibrahim07 on 2026-10-16T06:52:09Z.


Thanks @MarcZX100 for the review and @jotitadev for the Linux run, which covers what I couldn't test here.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6209866053 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6663#issuecomment-6209866053). Originally posted by [karimibrahim07](https://github.com/karimibrahim07) on 2026-10-16T06:52:09Z. --- Thanks @MarcZX100 for the review and @jotitadev for the Linux run, which covers what I couldn't test here.
wachi35676 commented 2026-10-17 22:36:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by wachi35676 on 2026-10-17T22:36:30Z.


Windows run of head 411dc0748 merged onto main 11acfdd84 (Windows 11, Ryzen 5 9600X, RTX 5070 Ti, WinLibs GCC 15.2.0, Release). Title: Java 25 Advanced Network (PPSA99871, 01.000.002, the author's release, SHA-256 matching its SHA256SUMS), converted with --windows --to-intel --trap-sdk-syscall-stubs --registry, rows driven with APS5_PAD_INPUT_FILE.

  • main: the HTTPS row stops at java.net.SocketException: Protocol not available (the IPV6_V6ONLY setsockopt) in 3 of 3 runs, 2 on 11acfdd84 and 1 on 922dc8999.
  • With this PR: the HTTPS row passes in 3 of 3 runs, printing STAGE: HTTPS: read bounded HTTPS response then STAGE: Advanced Network fixture returned normally. On this machine the idle-timeout failure mentioned earlier in this thread didn't occur.

The IPv6 loopback and load rows weren't run.

AI-assisted: yes (Claude Code); results above were run on this machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6242398413 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6663#issuecomment-6242398413). Originally posted by [wachi35676](https://github.com/wachi35676) on 2026-10-17T22:36:30Z. --- Windows run of head `411dc0748` merged onto `main` `11acfdd84` (Windows 11, Ryzen 5 9600X, RTX 5070 Ti, WinLibs GCC 15.2.0, Release). Title: Java 25 Advanced Network (PPSA99871, 01.000.002, the author's release, SHA-256 matching its `SHA256SUMS`), converted with `--windows --to-intel --trap-sdk-syscall-stubs --registry`, rows driven with `APS5_PAD_INPUT_FILE`. - **`main`:** the HTTPS row stops at `java.net.SocketException: Protocol not available` (the `IPV6_V6ONLY` `setsockopt`) in 3 of 3 runs, 2 on `11acfdd84` and 1 on `922dc8999`. - **With this PR:** the HTTPS row passes in 3 of 3 runs, printing `STAGE: HTTPS: read bounded HTTPS response` then `STAGE: Advanced Network fixture returned normally`. On this machine the idle-timeout failure mentioned earlier in this thread didn't occur. The IPv6 loopback and load rows weren't run. AI-assisted: yes (Claude Code); results above were run on this machine.
adriadam10 commented 2026-10-19 08:46:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T08:46:15Z.


Checked the IPV6_V6ONLY get/set against FreeBSD's ip6_ctloutput (length check, 0/1 readback, EINVAL on bound socket and on non-AF_INET6 sockets, other options ENOPROTOOPT), the test (pins values and the ::ffff: connect, fails without the change) and the debt entry. The Linux and Windows runs from @jotitadev and @wachi35676 cover the hosts. Merged.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6263315947 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6663#issuecomment-6263315947). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-19T08:46:15Z. --- Checked the `IPV6_V6ONLY` get/set against FreeBSD's `ip6_ctloutput` (length check, 0/1 readback, EINVAL on bound socket and on non-`AF_INET6` sockets, other options `ENOPROTOOPT`), the test (pins values and the `::ffff:` connect, fails without the change) and the debt entry. The Linux and Windows runs from @jotitadev and @wachi35676 cover the hosts. Merged.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6663
No description provided.