Pages

Monday, August 5, 2013

LSOF : Cant Identify Protocol

There are some cases where We have see "Cant Identify Protocol" Messages when we were checking the File Descriptors during testing. This seems to be not an Error since lsof works in that way

Losf works by binding /proc/<PID>/fd with /proc/net/<protocols>.So what ever the address types available in /proc/net/<protocols> they will be shown when we use the lsof command.

So the Cant identify protocol is just protocol family which is not defined in this file and lsof cant find any info regarding them. Hence the "cant Identify" Message.

The available Protocols are when I check my installations are

HIDP
L2CAP
HCI
RAWv6
UDPv6
TCPv6
PACKET
UNIX
RAW
UDP
TCP
NETLINK


More To Come , Happy learning :-)