"ss -anp --sctp" does not show the state; however, netstat does.

Solution Verified - Updated -

Issue

  • "ss -anp --sctp" does not show the state; however, netstat does.

Sample:

# yum install kernel-modules-extra lksctp-tools
# modprobe sctp
# sctp_darn -l -P 5000 -H 192.168.122.84 &
[1] 1472
# sctp_darn listening...
# ss -anp --sctp
State           Recv-Q           Send-Q                     Local Address:Port                       Peer Address:Port           Process           
# netstat -anSp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
sctp                192.168.122.84:5000                             LISTEN      1472/sctp_darn      
# 

Environment

  • Red Hat Enterprise Linux 8 and later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content