ietf-corpus

rfc-4242

Information Refresh Time Option for Dynamic Host Configuration Protocol for IPv6 (DHCPv6)

S. Venaas, T. Chown, B. Volz
date2005-11 streamIETF areaint wgdhc statusPROPOSED STANDARD pages8 canonicalhttps://www.rfc-editor.org/rfc/rfc4242 doi10.17487/RFC4242
This document describes a Dynamic Host Configuration Protocol for IPv6 (DHCPv6) option for specifying an upper bound for how long a client should wait before refreshing information retrieved from DHCPv6. It is used with stateless DHCPv6 as there are no addresses or other entities with lifetimes that can tell the client when to contact the DHCPv6 server to refresh its configuration. [STANDARDS-TRACK]

obsoleted by

Extracted elements (21)

design-rationale §3.2

A client MAY implement a configurable maximum refresh time cap, applied even when the received value is 'infinity', to limit how long forged DHCP messages can cause the client to use incorrect configuration data.

ip, v6ops, security

design-rationale §3

Expiry of the refresh time does not mean the client should remove its configuration data; the client should keep current data while attempting to refresh it, and may fall back to mechanisms other than DHCPv6 if refresh fails within a reasonable time.

ip, v6ops

design-rationale §1

The option is only applicable to stateless DHCPv6 (Information-Request/Reply exchanges) because stateful DHCPv6 already has address and prefix lifetimes that implicitly signal when the client should contact the server.

ip, v6ops

design-rationale §3

The refresh time option specifies a common refresh time for all configuration data rather than per-option lifetimes, because when the client has reason to refresh some of its data, it should also refresh the remaining data to maintain consistency.

ip, v6ops

interoperability-note §3

When a client receives a Reply to an Information-Request containing configuration information, it should install the new configuration after removing previously received configuration information, including options that are missing from or reduced in the new information set.

ip, v6ops

normative-requirement §3.2 MUST

A client MUST request the Information Refresh Time option in the Option Request Option (ORO) when sending Information-Request messages to the DHCPv6 server. A client MUST NOT request this option in the ORO in any other messages.

ip, v6ops

normative-requirement §3.2 MUST

A client MUST use the refresh time IRT_MINIMUM (600 seconds) if it receives the option with a value less than IRT_MINIMUM, preventing servers or attackers from forcing excessively short refresh intervals.

ip, v6ops, security

normative-requirement §3.3 SHOULD

A server sending a Reply to an Information-Request message SHOULD include this option if it is requested in the ORO of the Information-Request.

ip, v6ops

normative-requirement §3.2 SHOULD

If a client contacts the server to refresh some data before the refresh time expires, it SHOULD also refresh all data covered by this option, ensuring consistency across all configuration parameters.

ip, v6ops

normative-requirement §3.2 MUST

If the Reply to an Information-Request message does not contain this option, the client MUST behave as if the option with value IRT_DEFAULT (86400 seconds) was provided.

ip, v6ops

normative-requirement §3.3 MUST

The Information Refresh Time option MUST only appear in the options area of Reply messages, not in any other DHCPv6 message type.

ip, v6ops

normative-requirement §3.3 MUST NOT

The option value MUST NOT be smaller than IRT_MINIMUM (600 seconds). The server SHOULD give a warning if it is configured with a smaller value.

ip, v6ops

normative-requirement §3.2 MUST

When the client detects that the refresh time has expired, it SHOULD try to update its configuration data by sending an Information-Request, but MUST delay sending the first request by a random amount of time between 0 and INF_MAX_DELAY.

ip, v6ops

protocol-element §3.1

IRT_DEFAULT is defined as 86400 seconds (24 hours) and is used when the server does not include the option in its Reply. The client implementation SHOULD allow this value to be configurable.

ip, v6ops

protocol-element §3.1

IRT_MINIMUM is defined as 600 seconds and sets a floor on the refresh time a client will use, even if the server sends a smaller value. This protects against attacks using artificially short refresh times.

ip, v6ops, security

protocol-element §3

The Information Refresh Time option specifies an upper bound for how long a client should wait before refreshing information retrieved from DHCPv6. It is only used in Reply messages in response to Information-Request messages. The option code is OPTION_INFORMATION_REFRESH_TIME (32).

registry, ip, v6ops

protocol-element §3.2

The value 0xffffffff in the information-refresh-time field means 'infinity', implying the client should not refresh its configuration data without some other trigger such as detecting movement to a new link.

ip, v6ops

registry §4

IANA assigned option code 32 (OPTION_INFORMATION_REFRESH_TIME) from the DHCPv6 option-code space defined in RFC 3315 for the Information Refresh Time option.

registry, ip, v6ops

security-consideration §6

An attacker could send a very large refresh time value (or 'infinity') to cause the client to use forged or stale configuration information for an extended period. A configurable maximum refresh time at the client is suggested to mitigate this threat.

security, ip, v6ops

security-consideration §6

An attacker could send faked Reply messages with a low information-refresh-time value to force frequent re-requests; this is mitigated by IRT_MINIMUM (600s), which is the floor value a client will accept regardless of what the message contains.

security, ip, v6ops

wire-format §3.4

The option format contains a 2-octet option-code (value 32), a 2-octet option-len (value 4), and a 4-octet information-refresh-time field expressing a time duration in seconds relative to the current time.

ip, v6ops