Fallback to netstat if ss is not supported in variant

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.10, 7.0.22
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • ALL
    • v8.0, v7.0
    • Security 2025-02-03
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In proxy_protocol.js in the getServerPort method we rely con the `ss` command to get network information. Some variants like UBI 8 do not support this command. We should fallback to `netstat` when this is the case.

              Assignee:
              Adrian Gonzalez Montemayor
              Reporter:
              Adrian Gonzalez Montemayor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: