'netstat' doesn't check for sockets using SCTP protocol

Bug #174858 reported by Tomasz Jankowski on 2007-12-08
This bug affects 8 people
Affects Status Importance Assigned to Milestone
net-tools (Debian)
Fix Released
net-tools (Gentoo Linux)
Fix Released
net-tools (Ubuntu)
Nominated for Trusty by Alberto Salvia Novella
Nominated for Wily by Alberto Salvia Novella
Nominated for Xenial by Alberto Salvia Novella

Bug Description

Binary package hint: net-tools

'netstat' doesn't display information about listening SCTP sockets. I checked it twice. First time with my own applications and second time server - client examples provided with SCTP implementation for Linux. When server is listening command 'neststat -l' doesn't display any information about it.

Daniel T Chen (crimsun) on 2008-11-17
Changed in net-tools:
status: New → Confirmed

netstat from net-tools-1.60_p20071202044231-r1 not support SCTP

If I run SCTP-listener on some port, I cannot see it via netstat -lp

# netstat --sctp
netstat: unrecognized option `--sctp'

change severity to major

Changed Severity back to Enhancement - this looks like a missing feature that requires a patch that should probably be introduced upstream, not in Gentoo. So far, only Fedora appears to support an SCTP patch for net-tools - maybe that's worth looking into.

upstream bug report

ive updated the patch in the Debian tracker and added with 1.60_p20090728014017

Erik Inge Bolsø (knan-lp) wrote :

This seems a security issue to me - you can have a backdoor listening on SCTP and it won't show in netstat. And even established connections - like a file transfer or shell.

Red Hat & SuSE have had SCTP patches in their netstat flavors for years. And the debian bug has patches. What's the holdup?

Simple tests:

netsend sctp receive (opens a listening socket on port 6666)
socat SCTP-LISTEN:8080 TCP-CONNECT:localhost:22 (proxies ssh on sctp/8080)

Changed in net-tools (Debian):
status: Unknown → New
Changed in net-tools (Debian):
status: New → Fix Released
Ken Sharp (kennybobs) wrote :

Upstream git is patched to support SCTP but it hasn't made it into Debian yet.

tags: added: amd64 i386 patch-accepted-upstream trusty wily xenial
Changed in net-tools (Gentoo Linux):
importance: Unknown → Wishlist
status: Unknown → Fix Released
Changed in net-tools (Ubuntu):
importance: Undecided → Wishlist
status: Confirmed → Triaged
Ken Sharp (kennybobs) wrote :

Bug trackers doesn't seem to like https://sourceforge.net/p/net-tools/bugs/21/

Once that's fixed, Debian should be ready to update their package.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.