NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 30 min
Master Layer 4 of the network. Explore port multiplexing, the reliable TCP 3-way handshake, and the lightning-fast UDP protocol, and learn how defenders and attackers interact with transport layer traffic.
Layer 3 brings a packet to the right host. But one server can run a website, e-mail and SSH at the same time. Which program gets the data?
Layer 4, the Transport layer, decides this with port numbers. Its two main protocols have opposite designs: TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).
One IP address can carry many conversations at once. This is port multiplexing. A port is a 16-bit number: 0 to 65,535 (2^16 − 1 = 65535). The IP address finds the building, the port finds the apartment (the program). A connection is identified by source IP, source port, destination IP, destination port and protocol.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in