Book Image

Network Analysis using Wireshark 2 Cookbook - Second Edition

By : Nagendra Kumar Nainar, Yoram Orzach, Yogesh Ramdoss
Book Image

Network Analysis using Wireshark 2 Cookbook - Second Edition

By: Nagendra Kumar Nainar, Yoram Orzach, Yogesh Ramdoss

Overview of this book

This book contains practical recipes on troubleshooting a data communications network. This second version of the book focuses on Wireshark 2, which has already gained a lot of traction due to the enhanced features that it offers to users. The book expands on some of the subjects explored in the first version, including TCP performance, network security, Wireless LAN, and how to use Wireshark for cloud and virtual system monitoring. You will learn how to analyze end-to-end IPv4 and IPv6 connectivity failures for Unicast and Multicast traffic using Wireshark. It also includes Wireshark capture files so that you can practice what you’ve learned in the book. You will understand the normal operation of E-mail protocols and learn how to use Wireshark for basic analysis and troubleshooting. Using Wireshark, you will be able to resolve and troubleshoot common applications that are used in an enterprise network, like NetBIOS and SMB protocols. Finally, you will also be able to measure network parameters, check for network problems caused by them, and solve them effectively. By the end of this book, you’ll know how to analyze traffic, find patterns of various offending traffic, and secure your network from them.
Table of Contents (20 chapters)

Understanding the SMB protocol

We have briefly discussed SMB in earlier sections, and have also seen relevant filters. Just to refresh, SMB is a protocol that is used for browsing directories, copying files, accessing services such as printers, and several other operations over the network. Common Internet File System (CIFS) is a form, or flavor, of SMB.

SMB runs on top of the session layer protocols such as NetBIOS as originally designed or can also run directly over TCP port 445. SMB 2.0 was introduced by Microsoft in 2006 in Windows Vista, with the intention of reducing the commands and subcommands required in the SMB 1.0 protocol. Even though SMB 2.0 came out as a proprietary protocol, Microsoft published the standard to allow other systems to interoperate with their operating systems.

SMB 2.1 was released with Windows 7 and Server 2008 R2 with performance improvements compared...