DHCP | Computer Security
DHCP (Dynamic Host Configuration Protocol) is responsible for setting up configurations when a computer first joins a local network. These settings enable communication over LANs and the Internet, so it is sometimes considered a layer 2-3 protocol. The Internet layers are defined primarily for communication, so setup protocols like DHCP don’t fit cleanly into the abstraction barriers in the layering model. In order to connect to a network, you need a few things: An IP address, so other people can contact you The IP address of the DNS server, so you can translate a site name like www.google.com into an IP address (DNS is covered in more detail later) The IP address of the router (also called the gateway), so you can contact others on the Internet The DHCP handshake follows four steps, between you (the client) and the server (who can give you the needed IP addresses) Client Discover: The client broadcasts a request for a configuration. Server Offer: Any server able to offer IP addresses
DHCP | Computer Security Skip to main content Menu Expand (external link) Document Search Copy Copied Computer Security 27. DHCP 27.1. Cheat sheet Layer: 2-3 (see below) Purpose: Get configurations when first connecting to a network Vulnerability: On-path attackers can see requests and send spoofed malicious responses Defense: Accept as a fact of life and rely on higher layers 27.2. Protocol: DHCP DHCP ( Dynamic Host Configuration Protocol ) is responsible for setting up configurations when a computer first joins a local network. These settings enable communication over LANs and the Internet,
Explore this link on the map →saved by
related reading
- Introduction to Networking | Computer Securitytextbook.cs161.org
- DNS | Computer Securitytextbook.cs161.org
- TCP and UDP | Computer Securitytextbook.cs161.org
- Intrusion Detection | Computer Securitytextbook.cs161.org
- Denial-of-Service (DoS) | Computer Securitytextbook.cs161.org
- WPA | Computer Securitytextbook.cs161.org
- Anonymity and Tor | Computer Securitytextbook.cs161.org
- DNSSEC | Computer Securitytextbook.cs161.org
- The Internet explained from first principlesexplained-from-first-principles.com
- How NAT traversal workstailscale.com
- Let's code a TCP/IP stack, 1: Ethernet & ARPsaminiir.com
- Decentralized Hole Punchingresearch.protocol.ai