Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-104968

simply privileged port logic for local sockets on TrueNAS HA

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Engineering Closed (View Workflow)
    • Priority: Low
    • Resolution: Duplicate
    • Affects Version/s: TrueNAS 11.2-U7
    • Fix Version/s: None
    • Component/s: Middleware
    • Labels:
    • Support Suite Ticket:
      IUZ-562-41835, HMQ-856-51935, WEF-856-79861

      Description

      Trying to troubleshoot and track down the memory leak here: https://jira.ixsystems.com/browse/NAS-104437 has shown that we can dramatically simply the middlewared Client() code.

      Essentially, we do not need to import ctypes and use direct C API calls to reserve a privileged port. We can simply call `sock.bind(('', port)).

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                caleb Caleb St. John
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: