qa: Use IP_PORTRANGE_HIGH on OpenBSD for dynamic port allocation #36145

pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:260902-openbsd-portrange changing 1 files +6 −5
  1. hebasto commented at 8:50 AM on September 2, 2026: member

    The default ephemeral port range on OpenBSD (1024-49151) overlaps with the test framework's static port range starting at TEST_RUNNER_PORT_MIN, the same way FreeBSD's does (see #34346).

    Extend set_ephemeral_port_range() to OpenBSD. The socket option and its values are identical to FreeBSD's, so only the platform check changes.

  2. qa: Use IP_PORTRANGE_HIGH on OpenBSD for dynamic port allocation
    The default ephemeral port range on OpenBSD (1024-49151) overlaps with
    the test framework's static port range starting at TEST_RUNNER_PORT_MIN,
    the same way FreeBSD's does (see #34346).
    
    Extend `set_ephemeral_port_range()` to OpenBSD. The socket option and
    its values are identical to FreeBSD's, so only the platform check
    changes.
    59ebf558f3
  3. DrahtBot added the label Tests on Sep 2, 2026
  4. DrahtBot commented at 8:50 AM on September 2, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/36145.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process.

    Type Reviewers
    ACK maflcko, theStack

    If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  5. hebasto commented at 8:56 AM on September 2, 2026: member
  6. maflcko commented at 10:56 AM on September 2, 2026: member

    lgtm ACK 59ebf558f3458bbc9038c7bf2958f2f224485ee1

  7. theStack approved
  8. theStack commented at 4:28 PM on September 2, 2026: contributor

    utACK 59ebf558f3458bbc9038c7bf2958f2f224485ee1

    (relevant port range constants in the OpenBSD source code: https://github.com/openbsd/src/blob/cc1dffe64bc9f6fd17ac2f0f659a2cdf0d72e404/sys/netinet/in.h#L147-L160))

  9. hebasto commented at 8:21 PM on September 2, 2026: member
  10. fanquake merged this on Sep 3, 2026
  11. fanquake closed this on Sep 3, 2026

  12. hebasto deleted the branch on Sep 3, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-09-09 07:56 UTC