lsof doesn't recognize SCTP sockets
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsof (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lsof
To reproduce: start socat listening on a SCTP socket.
socat SCTP-LISTEN:
Do a lsof | grep socat
knan@ip:~$ lsof | grep socat
socat 25567 knan cwd DIR 252,11 4096 352042 /home/bolso/
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.
socat 25567 knan mem REG 8,1 14696 1562255 /lib/libdl-
socat 25567 knan mem REG 8,1 274360 1561652 /lib/libncurses
socat 25567 knan mem REG 8,1 97256 1561961 /lib/libnsl-
socat 25567 knan mem REG 8,1 1622304 1561958 /lib/libcrypto.
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.
socat 25567 knan mem REG 8,1 249136 1561639 /lib/libreadlin
socat 25567 knan mem REG 8,1 10648 1562247 /lib/libutil-
socat 25567 knan mem REG 8,1 40720 1561780 /lib/libwrap.
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