Networking Foundations, lesson 3
TCP, UDP and ports
How TCP sets up a connection, and what a port number tells you.
Every connection in a log carries two port numbers, and every TCP connection passes through the same few steps, each leaving a state you can read on the machine. This lesson reads ports, TCP's opening and closing, and UDP, then one server's own table of connections. You need the last two lessons' addresses, routers and NAT.
Part of Pro
In this lesson
- Ports: which program
- TCP: opening and closing
- UDP, and a server's own table
Cybersecurity comes with Pro: every lesson in every module.
Networking Foundations overviewSpotted a mistake? Tell us.