flâneur — a map of the web's best reading

TCP and UDP | Computer Security

textbook.cs161.org · 2,081 words · saved by 1 readers

Purpose: Establish connections between individual processes on machines (TCP and UDP). Guarantee that packets are delivered successfully and in the correct order (TCP only). Vulnerability: On-path and MITM attackers can inject data or RST packets. Off-path attackers must guess the 32-bit sequence number to inject packets. Defense: Rely on cryptography at a higher layer (TLS). Use randomly generated sequence numbers to stop off-path attackers. Recall that IP, the layer 3 (inter-network) protocol, is a best-effort protocol, meaning that packets can be corrupted, reordered, or dropped entirely. Also, IP addresses uniquely identify machines, but do not support multiple processes on one machine using the network (e.g. multiple browser tabs, multiple applications). The transport layer solves the problem of multiple processes by introducing port numbers. Each process on a machine that wants to communicate over the network uses a unique 16-bit port number. Recall that port numbers are unique p

TCP and UDP | Computer Security Skip to main content Menu Expand (external link) Document Search Copy Copied Computer Security 30. Transport Layer: TCP, UDP 30.1. Cheat sheet Layer: 4 (transport) Purpose: Establish connections between individual processes on machines (TCP and UDP). Guarantee that packets are delivered successfully and in the correct order (TCP only). Vulnerability: On-path and MITM attackers can inject data or RST packets. Off-path attackers must guess the 32-bit sequence number to inject packets. Defense: Rely on cryptography at a higher layer (TLS). Use randomly generated se

Explore this link on the map →

saved by

related reading