Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2569

function network_connections() did'nt work for freebsd

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 3.10.0b1
    • Fix Version/s: None
    • Component/s: Built-in functions
    • Labels:
    • Environment:
      freebsd 11
    • Platform:
      FreeBSD
    • Steps to reproduce:
      Acceptance/unit test attached

      Description

      Accordingly doc "This function looks in /proc/net to find the current network connections." network_connections can't work in freebsd.

      linux:

      1. cf-agent -I -K -f unit_test_network_connections.cf
        R: test_network_connections : connections_str : {
        "tcp": [
        {
        "local": {
        "address": "0.0.0.0",
        "port": "5666" {skip}

      freebsd:

      1. cf-agent -I -K -f unit_test_network_connections.cf
        R: test_network_connections : connections_str : $(connections_str)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                igorg Igor Goncharenko
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel