lsof doesn't recognize SCTP sockets

Bug #692988 reported by Erik Inge Bolsø on 2010-12-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lsof (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: lsof

To reproduce: start socat listening on a SCTP socket.

socat SCTP-LISTEN:8080,fork TCP-CONNECT:localhost:22

Do a lsof | grep socat

knan@ip:~$ lsof | grep socat
socat 25567 knan cwd DIR 252,11 4096 352042 /home/bolso/ak-git/htrosbif
socat 25567 knan rtd DIR 8,1 4096 2 /
socat 25567 knan txt REG 8,1 295664 379783 /usr/bin/socat
socat 25567 knan mem REG 8,1 92752 1561787 /lib/libz.so.1.2.3.3
socat 25567 knan mem REG 8,1 14696 1562255 /lib/libdl-2.11.1.so
socat 25567 knan mem REG 8,1 274360 1561652 /lib/libncurses.so.5.7
socat 25567 knan mem REG 8,1 97256 1561961 /lib/libnsl-2.11.1.so
socat 25567 knan mem REG 8,1 1622304 1561958 /lib/libcrypto.so.0.9.8
socat 25567 knan mem REG 8,1 1572232 1562251 /lib/libc-2.11.1.so
socat 25567 knan mem REG 8,1 333856 1561959 /lib/libssl.so.0.9.8
socat 25567 knan mem REG 8,1 249136 1561639 /lib/libreadline.so.5.2
socat 25567 knan mem REG 8,1 10648 1562247 /lib/libutil-2.11.1.so
socat 25567 knan mem REG 8,1 40720 1561780 /lib/libwrap.so.0.7.6
socat 25567 knan mem REG 8,1 136936 1561962 /lib/ld-2.11.1.so
socat 25567 knan 0u CHR 136,1 0t0 4 /dev/pts/1
socat 25567 knan 1u CHR 136,1 0t0 4 /dev/pts/1
socat 25567 knan 2u CHR 136,1 0t0 4 /dev/pts/1
socat 25567 knan 3u sock 0,6 0t0 678489 can't identify protocol

And the SCTP socket only shows up as "can't identify protocol".

I expected it to show up something like this UDPLITE example instead:

netsend 25572 knan 3u IPv4 681227 0t0 UDPLITE *:6666

knan@ip:~$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04

knan@ip:~$ apt-cache policy lsof
lsof:
  Installed: 4.81.dfsg.1-1build1
  Candidate: 4.81.dfsg.1-1build1

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

Other bug subscribers