Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-12751

[MiNiFi] Prefer IPv4 address for creating NetworkInfo

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M3
    • MiNiFi
    • None

    Description

      On Windows Server 2019 the agent sends the following 

      "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"
          },
      
      
      

      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

      Attachments

        Issue Links

          Activity

            People

              briansolo1985 Ferenc Kis
              briansolo1985 Ferenc Kis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m