mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-22 12:43:23 +00:00
4.4 KiB
4.4 KiB
{% hint style="success" %}
Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)
Support HackTricks
- Check the subscription plans!
- Join the 💬 Discord group or the telegram group or follow us on Twitter 🐦 @hacktricks_live.
- Share hacking tricks by submitting PRs to the HackTricks and HackTricks Cloud github repos.
DHCPv6 vs. DHCPv4 Message Types Comparison
A comparative view of DHCPv6 and DHCPv4 message types is presented in the table below:
DHCPv6 Message Type | DHCPv4 Message Type |
---|---|
Solicit (1) | DHCPDISCOVER |
Advertise (2) | DHCPOFFER |
Request (3), Renew (5), Rebind (6) | DHCPREQUEST |
Reply (7) | DHCPACK / DHCPNAK |
Release (8) | DHCPRELEASE |
Information-Request (11) | DHCPINFORM |
Decline (9) | DHCPDECLINE |
Confirm (4) | none |
Reconfigure (10) | DHCPFORCERENEW |
Relay-Forw (12), Relay-Reply (13) | none |
Detailed Explanation of DHCPv6 Message Types:
- Solicit (1): Initiated by a DHCPv6 client to find available servers.
- Advertise (2): Sent by servers in response to a Solicit, indicating availability for DHCP service.
- Request (3): Clients use this to request IP addresses or prefixes from a specific server.
- Confirm (4): Used by a client to verify if the assigned addresses are still valid on the network, typically after a network change.
- Renew (5): Clients send this to the original server to extend address lifetimes or update configurations.
- Rebind (6): Sent to any server to extend address lifetimes or update configurations, especially when no response is received to a Renew.
- Reply (7): Servers use this to provide addresses, configuration parameters, or to acknowledge messages like Release or Decline.
- Release (8): Clients inform the server to stop using one or more assigned addresses.
- Decline (9): Sent by clients to report that assigned addresses are in conflict on the network.
- Reconfigure (10): Servers prompt clients to initiate transactions for new or updated configurations.
- Information-Request (11): Clients request configuration parameters without IP address assignment.
- Relay-Forw (12): Relay agents forward messages to servers.
- Relay-Repl (13): Servers reply to relay agents, who then deliver the message to the client.
References
- https://support.huawei.com/enterprise/en/doc/EDOC1100306163/d427e938/introduction-to-dhcpv6-messages
{% hint style="success" %}
Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)
Support HackTricks
- Check the subscription plans!
- Join the 💬 Discord group or the telegram group or follow us on Twitter 🐦 @hacktricks_live.
- Share hacking tricks by submitting PRs to the HackTricks and HackTricks Cloud github repos.