Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 668099

Summary: lsof does not understand SCTP associations
Product: Red Hat Enterprise Linux 6 Reporter: Jeff Morriss <jeff.morriss>
Component: lsofAssignee: Peter Schiffer <pschiffe>
Status: CLOSED ERRATA QA Contact: Iveta Wiedermann <isenfeld>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: bnater, isenfeld
Target Milestone: rcKeywords: Patch, Upstream
Target Release: 6.4   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Previously, lsof did not recognize Stream Control Transmission Protocol (SCTP) associations and consequently printed "can't identify protocol" at the end of the line describing a process using this type of association. With this update, support for SCTP has been added, and as a result, lsof correctly identifies SCTP associations in its output.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-22 05:54:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
sctp_demo.sh none

Description Jeff Morriss 2011-01-07 21:53:15 UTC
Description of problem:
lsof understands TCP and UDP connections, showing information about the port when run.

It does not do the same about SCTP associations, instead it says "can't identify protocol"

Version-Release number of selected component (if applicable):
lsof-4.78-3

How reproducible:
Every time

Steps to Reproduce:
1. Establish an SCTP association
2. Run lsof and look/grep for the process that has the association
3. Note that it says "can't identify protocol"
  
Actual results:
sctp_pitc  8024   morriss    3u     sock    0,5              83282 can't identify protocol


Expected results:
Something like:

sctp_pitc  8024   morriss    3u     IPv4  85073                SCTP myhost:54820->peer.example.com:10000 (ESTABLISHED)


Additional info:

Comment 1 RHEL Program Management 2011-09-23 00:30:50 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 2 Peter Schiffer 2012-03-06 17:10:43 UTC
I am moving this bug to the RHEL-6 as lsof probably won't be updated in RHEL-5 again.

Comment 5 RHEL Program Management 2012-09-07 04:59:19 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 6 RHEL Program Management 2013-10-14 01:12:21 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 7 Branislav NĂ¡ter 2014-11-27 12:20:44 UTC
qa_ack+ for rhel-6.7

Comment 11 Peter Schiffer 2015-02-11 12:50:14 UTC
Created attachment 990447 [details]
sctp_demo.sh

Better sctp demo working on RHEL-6, RHEL-7 and Fedora

Comment 13 errata-xmlrpc 2015-07-22 05:54:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1246.html