Inspect Network Traffic on Linux

15 minutes
  • 3 Learning Objectives

About this Hands-on Lab

It’s rare for a server to work in isolation, and as such, networking — and therefore the ability to inspect network connections — is paramount. `tcpdump` and Wireshark are two tools for examining network traffic, both relying on the `pcap` API. In this lab, you have the option to use either `tcpdump` or Wireshark (or both!) to examine an uptick in traffic to your database server.

_This lab is not approved or sponsored by Red Hat._

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Observe Traffic on Port 3306

Use your network inspection tool of choice to observe port 3306.

Write the Report to a File

Save 50 samples of the traffic to /tmp/mysql.pcap.

Confirm the Report

Read the file to confirm.

Additional Resources

There has been an uptick in connections to a MySQL server. Use tcpdump or Wireshark to observe the traffic. Once confirmed, write 50 samples to /tmp/mysql.pcap.

Access to the second, traffic-sending server is not necessary but provided.

This lab is not approved or sponsored by Red Hat.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?