NBD

Network Block Device (NBD)

NBD is a simple protocol for Linux to export a block device across a network.

History

The NBD protocol was devised and written by Pavel Machek in 1998. Since the protocol is so simple (see below), there hasn't been any need to modify it since, and the protocol is still very much like the original version.

Protocol dependencies

Example traffic

Wireshark

The NBD dissector is fully functional for everything after the initial negotiation phase.

Preference Settings

(XXX add links to preference settings affecting how PROTO is dissected).

Example capture file

XXX - Add a simple example capture file to the SampleCaptures page and link from here (see below). Keep this file short, it's also a good idea to gzip it to make it even smaller, as Wireshark can open gzipped files automatically.

Display Filter

A complete list of NBD display filter fields can be found in the display filter reference

Show only the NBD based traffic:

 nbd 

Capture Filter

You cannot directly filter NBD protocols while capturing. However, if you know the TCP port used (see above), you can filter on that one.

External links

Discussion


Imported from https://wiki.wireshark.org/NBD on 2020-08-11 23:17:06 UTC