Project

General

Profile

Actions

Bug #6180

closed

DHCP address detection isn't aware of DHCPv6 Rapid Commits

Added by Robert Mustacchi almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
networking
Start date:
2015-08-29
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

The DHCP address detection code only looks for the standard four-message DHCPv6 transaction, and only marks the start of the transaction when the client sends the Request message. Since the illumos dhcpagent program hardcodes the Rapid Commit option in the Solicit message (see section 22.14 of RFC3315), any cooperating server will send back an immediate Reply, forgoing the rest of the process, and skipping the Request message step.

This bug shows up when using software like dnsmasq, which will acknowledge Rapid Commit, but not with others, like ISC dhcpd, which will ignore the Rapid Commit option and send back an Advertise message.

Actions #1

Updated by Electric Monk almost 6 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit 146e34b68e0380c276523b9f82600fb18f9730a9

commit  146e34b68e0380c276523b9f82600fb18f9730a9
Author: Cody Peter Mello <cody.mello@joyent.com>
Date:   2015-09-03T04:32:39.000Z

    6180 DHCP address detection isn't aware of DHCPv6 Rapid Commits
    Reviewed by: Patrick Mooney <patrick.f.mooney@gmail.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Dan McDonald <danmcd@omniti.com>
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF