In this article we will discuss Server Message Block (SMB), will make brief discussion on SMB, In last article we discuss about File Transfer Protocol.
Server Message Block (SMB) is an application layer protocol for sharing files, printers, and serial ports. It can run directly on TCP port 445, which is how it’s most often used. It can also run on Legacy NetBIOS, but it’s seldom seen doing so. It’s best known as a mechanism behind Windows file sharing.
The Server Message Block (SMB) is a client/server file sharing protocol that describes the structure of shared network resources, such as directories, files, printers, and serial ports. It is a request-response protocol. All SMB messages share a common format. This format uses a fixed-sized header, followed by a variable-sized parameter and data component.
SMB messages can:
Start, authenticate, and terminate sessions
Control file and printer access
Allow an application to send or receive messages to or from another device
SMB file-sharing and print services have become the mainstay of Microsoft networking. With the introduction of the Windows 2000 software series, Microsoft changed the underlying structure for using SMB. In previous versions of Microsoft products, the SMB services used a non-TCP/IP protocol to implement name resolution. Beginning with Windows2000, all subsequent Microsoft products use DNS naming, which allows TCP/IP protocols to directly support SMB resource sharing. The SMB file exchange process between Windows PCs.
Unlike the file sharing supported by FTP, clients establish a long-term connection to servers. After the connection is established, the user of the client can access the resources on the server as if the resource is local to the client host.
The LINUX and UNIX operating systems also provide a method of sharing resources with Microsoft networks using a version of SMB called SAMBA. The Apple Macintosh operating systems also support resource sharing using the SMB protocol.