Chapter 3. The Basics of NBT Implementation

 

In theory, theory and practice are the same. In practice, they’re not.

 
 --Unknown

Ready?

We have identified the three key parts of NBT: the Name Service, the Datagram Service, and the Session Service. This is enough to get us started. We will begin by coding up a simple Name Service Query, just to see what kind of trouble that gets us into.

Before we start, though, it’s probably a good idea to check our tools.

Sniffer

  • You need one of these. If you have Windows systems available, see if you can get a copy of Microsoft’s NetMon (Network Monitor). You will want the latest and most complete version. The advantage of NetMon is that Microsoft have included parsers for many of their protocols.

  • Another excellent ...

Get Implementing CIFS: The Common Internet File System now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.