Ferenc Kis created NIFI-12751:
---------------------------------

             Summary: [MiNiFi] Prefer IPv4 address for creating NetworkInfo
                 Key: NIFI-12751
                 URL: https://issues.apache.org/jira/browse/NIFI-12751
             Project: Apache NiFi
          Issue Type: Improvement
          Components: MiNiFi
            Reporter: Ferenc Kis
            Assignee: Ferenc Kis


On Windows Server 2019 the agent sends the following 
{code}
"networkInfo": \{
      "deviceId": "ethernet_32777",
      "hostname": "fe80:0:0:0:6f46:95b8:1b4d:9ab5%ethernet_32777",
      "ipAddress": "fe80:0:0:0:6f46:95b8:1b4d:9ab5%ethernet_32777"
    },


{code}

The same network interface also has an IPv4 address where the hostname matches 
what the hostname command would give back in the shell.

In such cases when the same network interface has IPv4 and IPv6 addresses, 
prefer the the IPv4 as it provides more information for the user.

Note: this does not affect anything in terms of network connectivity, only the 
information which is sent by the agent to the C2 server



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to