4.10. Hands-On Labs

The labs in this chapter are as follows:

Lab 4.1: View the Active TCP and UDP Ports

Lab 4.2: Run Windows Network Monitor

Lab 4.3: Install snort in Linux

Lab 4.4: Make File Extensions Visible in Windows XP

Lab 4.5: Monitor Network Traffic in Linux

4.10.1. Lab 4.1: View the Active TCP and UDP Ports

As an administrator, you should know what ports are active on your server. The following lab will display this information:

  1. Go to a command prompt. On a Windows-based server, enter CMD at the Run prompt; on a Linux server, open a command window.

  2. Enter the command netstat.

  3. Few items should appear. Now enter the command netstat -a. The —a parameter tells the netstat command to display all the information.

  4. Note the ports that are listed. ...

Get CompTIA Security+™: Study Guide, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.