This chapter will help you understand TCP and UDP protocols, how they communicate, the problems you can face with these protocols, and how you can use Wireshark to assist them. You will also learn how to analyze TCP and UDP protocols and look for any anomalies that may follow. The following are the topics that we will cover in this chapter:
Understanding the TCP header and how it communicates
Understanding the TCP analysis flags
Lab up—TCP
How to check for different analysis flags in Wireshark
Understanding UDP traffic
Lab up—UDP
Practice questions
We will discuss TCP and UDP protocols using various practical examples that can give you an insight about how low-layer protocol packets communicate and travel in your network in order to transmit data successfully. We will also look at some common anomalies that you might witness in your day-to-day operations.