NetBIOS, NetBEUI, NBF, NBT, NBIPX, SMB, CIFS Networking Timothy D Evans NetBIOS, NetBEUI, NBF, NBT, NBIPX, SMB, CIFS Networking by Timothy D Evans Copyright © 1998, 2003 by Timothy D Evans Unlimited non-commercial distribution of this document in its entirety is encouraged, please contact the author prior to commercial publication. Important: This documentation is revised from time to time. Some of the technology described is constantly changing and being developed, especially the higher level protocols. Thus this document may not always be up to date. The reader is encouraged to ensure they have the latest version. All trade marks are respectfully acknowledged. While every precaution has been taken in the preparation of this documentation the author assumes no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. Table of Contents Preface.....................................................................................................................................7 Who should read this documentation.......................................................................7 Organization of this documentation .........................................................................7 Acknowledgments .......................................................................................................8 Notation.........................................................................................................................8 Language .......................................................................................................................8 1. Introduction .......................................................................................................................9 History ...........................................................................................................................9 Overview .....................................................................................................................10 Implementation ..........................................................................................................11 Terminology ................................................................................................................11 2. NetBIOS, NetBEUI, NetBIOS Frames Protocol ........................................................13 Overview .....................................................................................................................13 Addressing - NetBIOS names...................................................................................14 Group Names ....................................................................................................15 Name Resolution ..............................................................................................15 Name Management Protocol....................................................................................16 User Datagram Protocol............................................................................................19 NetBIOS Non-Session Frames on 802.2 networks .......................................20 NetBIOS Diagnostic and Monitoring Protocol ......................................................21 NetBIOS Diagnostic and Monitoring frames on 802.2 networks ..............22 NetBIOS Session Management Protocol.................................................................23 NetBIOS Session Frames - Name Query - on 802.2 networks....................24 NetBIOS Session Frames - Establishment and Termination - on 802.2 networks...................................................................................................24 NetBIOS Session Frames - Data Transfer - on 802.2 networks...................26 3. Supporting Technology, 802.2, Ethernet and Token Ring.......................................31 IEEE 802.2 Logical Link Control ..............................................................................31 Token Ring...................................................................................................................32 Non-MAC Frame Structure.............................................................................32 Further information..........................................................................................33 Ethernet........................................................................................................................33 Ethernet_802.3...................................................................................................34 Ethernet_802.2...................................................................................................34 Ethernet_SNAP .................................................................................................35 Ethernet_II .........................................................................................................35 Further information..........................................................................................36 4. Encapsulation in TCP/IP ...............................................................................................37 RFC1001 and RFC1002 ..............................................................................................37 Name Resolution........................................................................................................38 LMHOSTS..........................................................................................................39 NBNS..................................................................................................................40 Hosts and DNS..................................................................................................40 Client Resolution ..............................................................................................40 Name management ..........................................................................................41 CIFS over TCP/IP ......................................................................................................41 5. Encapsulation in various protocols and encapsulating...........................................43 Introduction ................................................................................................................43 IPX/SPX.......................................................................................................................43 5 Microsoft Implementation of NetBIOS over IPX .........................................44 NetBIOS Interface and Name Service Support by Lower Layer OSI Protocols45 International Standards Organization (ISO) Protocol Suite.................................45 PPP (Point-to-Point Protocol) ...................................................................................45 Encapsulating .............................................................................................................46 Transmission of IP Datagrams over NetBIOS Networks............................46 6. Server Message Block Protocol ....................................................................................47 History .........................................................................................................................47 Overview .....................................................................................................................48 Addressing ..................................................................................................................48 SMB on NBF................................................................................................................49 SMB on NBF datagram frames .......................................................................49 SMB on NBF session frames............................................................................50 SMB frame header......................................................................................................52 SMB Command Codes ..............................................................................................54 SMB Error Class..........................................................................................................56 SMB Return Codes for Error class 0x00 ..................................................................56 SMB Return Codes for Error class 0x02 ..................................................................57 SMB Dialects ...............................................................................................................57 SAMBA ........................................................................................................................58 Further information ...................................................................................................58 7. Browser Service...............................................................................................................59 History .........................................................................................................................59 Overview .....................................................................................................................59 Packets .........................................................................................................................60 Further information ...................................................................................................60 8. CIFS and the future ........................................................................................................63
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages92 Page
-
File Size-