Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jun 2018 16:55:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 228831] netstat -Aan -M no longer reads from the corefile
Message-ID:  <bug-228831-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228831

            Bug ID: 228831
           Summary: netstat -Aan -M no longer reads from the corefile
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: jtl@freebsd.org

You should be able to run 'netstat' against a corefile using the -M option.
This lets you do things such as display the TCP connections (and the addres=
ses
of their associated control blocks).

In FreeBSD-CURRENT, if you run 'netstat -Aan -M <corefile>', it will return
output. However, the output is taken from the running system, rather than t=
he
coredump. I believe there is no warning that this is the case.

We need to either:
(a) Restore the old behavior (preferred), or
(b) Return an error when a user tries to read from a corefile.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228831-227>