Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-19006

[NETSTAT] -b must imply -o

    XMLWordPrintable

Details

    Description

      Reported against master head 0.4.15-dev-6179-gcb98e91

      -b is the parameter that makes netstat log the process name (and is not properly implemented in ros yet)
      -o is the parameter that makes netstat list the process ID (that works fine already)

      netstat -an
      

      does not list the PID in XPSP3 with MS netstat, and also not in ros with ros netstat. That is fine.

      netstat -ano
      

      does list the PID in XPSP3 with MS netstat, and also in ros with ros netstat. That is fine.

      netstat -abn
      

      does log the process name and the PID in XPSP3 with MS netstat, but doesn't log any of the two in ros with ros netstat. That is a bug.

      So although we do not properly support listing the process name yet, as that is not implemented, the least thing we could do to improve, is to make -b imply -o to log the process ID then. Same as MS does.

      Nothing is logged then, so I stripped the log.

      Attachments

        Activity

          People

            reactosfanboy reactosfanboy
            reactosfanboy reactosfanboy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: