Bug 1063934
Summary: | [RFE] ss: sctp sockets are not listed | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Alicja Kario <hkario> |
Component: | iproute | Assignee: | Phil Sutter <psutter> |
Status: | CLOSED ERRATA | QA Contact: | Jaroslav Aster <jaster> |
Severity: | high | Docs Contact: | Ioanna Gkioka <igkioka> |
Priority: | high | ||
Version: | 7.0 | CC: | aloughla, atragler, ebenes, jaster, jiji, jorton, ksrot, kzhang, mleitner, mmarusic, omoris, psutter, redhat, rkhan, sukulkar, swadeley |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | iproute-3.10.0-79.el7 | Doc Type: | Enhancement |
Doc Text: |
*ss* now supports SCTP sockets list
Previously, the *netstat* utility provided a list of Stream Control Transmission Protocol (SCTP) sockets. With this update, the *ss* utility is able to display the same list.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 21:32:13 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1223783, 1361728 | ||
Bug Blocks: | 976269, 1039625, 1110700, 1113520, 1191021, 1205796, 1279974, 1301628, 1313485, 1393481 |
Description
Alicja Kario
2014-02-11 16:21:44 UTC
`ss' currently doesn't support SCTP at all. Marking as FutureFeature. There's a usable procfs interface. Requesting devel ack. Discussion regarding sctp_diag kernel interface has started already, so it should be possible to accomplish this for RHEL7.3. Patch series implementing sctp_diag support in 'ss' has been sent upstream: http://marc.info/?l=linux-netdev&m=146983127501267&w=2 Please note though that it requires a few kernel changes for full functionality, tracked in Bug 1361728. Sadly, upstream has not accepted the submitted patch yet, which is why this ticket was left untouched for so long. On the other hand, it is not a good idea to import a large change like this one at this point, especially since it didn't see any upstream testing at all yet. Finally, upstream accepted my patches: commit 5dec02d7b4b70128a661bab1ff991c605ba28b3f Author: Phil Sutter <phil> Date: Wed Nov 9 12:12:23 2016 +0100 include: Add linux/sctp.h Add sanitized UAPI linux/sctp.h header file. Signed-off-by: Phil Sutter <phil> commit f89d46ad63f6f606f777da964205bc53b2197cfa Author: Phil Sutter <phil> Date: Wed Nov 9 12:12:24 2016 +0100 ss: Add support for SCTP protocol This makes use of the sctp_diag interface recently added to the kernel. Joint work with Xin Long who provided the PoC implementation which I merely polished up a bit. Signed-off-by: Phil Sutter <phil> Hi Phil, I found one, simple, documentation issue. There is no mention about sctp in -A option in ss man-page and ss help, where all socket types are listed. I think, it should be there. Would be possible to fix it? Hi Jaroslav, (In reply to Jaroslav Aster from comment #27) > I found one, simple, documentation issue. There is no mention about sctp in > -A option in ss man-page and ss help, where all socket types are listed. I > think, it should be there. Would be possible to fix it? Good catch, thanks! I've quickly prepared a patch for upstream and submitted it: http://marc.info/?l=linux-netdev&m=148907572801154&w=2 Thanks, Phil 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://access.redhat.com/errata/RHBA-2017:2171 Arrived here because of bug 1544898 ("ss indiscriminately loads sctp kernel modules") - does anyone know why the latter is locked? |