Kernel Lock Manager Protocol (KLM)
The KLM protocol is used to manage lock requests between the VFS layer in the kernel of a ["NFS"] host and the userspace lock manager daemon. This protocol is only used across the loopback interface and will never bee seen on a network.
This protocol was developed at the same time as ["NLM"] and is semi-similar to ["NLM"].
- ["UDP"]: KLM uses ["UDP"] as its transport protocol. There is no well known UDP port for KLM.
XXX - Add example traffic here as plain text or Ethereal screenshot).
The KLM dissector is fully functional.
There are no preferences for the KLM protocol itself, but since it shares the filehandle structure with ["NFS"] there are some ["NFS"] preferences related to filehandles that do affect the dissection of KLM. BR See ["NFS Preferences"]
Example capture file
A complete list of KLM display filter fields can be found in the [http://www.ethereal.com/docs/dfref/k/klm.html display filter reference]
Show only the KLM based traffic:
You cannot directly filter KLM while capturing. However, if you know the ["UDP"] port used (see above), you can filter on that one. KLM only exists ontop of the loopback interface so one can only capture KLM on a host that allows capturing of loopback.
A KLM specification does not exist, however most unixen do have an interface specification for the protocol in /usr/include/rpcsvc