RE: [dhcwg] Options differing in OFFER and ACK

"Kevin A. Noll" <kevin.noll@perfectorder.com> Tue, 03 February 2004 16:59 UTC

Received: from optimus.ietf.org (optimus.ietf.org [132.151.1.19]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA18082 for <dhcwg-archive@odin.ietf.org>; Tue, 3 Feb 2004 11:59:04 -0500 (EST)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1Ao3si-0007gD-KK for dhcwg-archive@odin.ietf.org; Tue, 03 Feb 2004 11:58:36 -0500
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id i13Gwa9W029515 for dhcwg-archive@odin.ietf.org; Tue, 3 Feb 2004 11:58:36 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1Ao3si-0007fy-FO for dhcwg-web-archive@optimus.ietf.org; Tue, 03 Feb 2004 11:58:36 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA18046 for <dhcwg-web-archive@ietf.org>; Tue, 3 Feb 2004 11:58:33 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1Ao3sh-0007jg-00 for dhcwg-web-archive@ietf.org; Tue, 03 Feb 2004 11:58:35 -0500
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1Ao3rj-0007e8-00 for dhcwg-web-archive@ietf.org; Tue, 03 Feb 2004 11:57:37 -0500
Received: from optimus.ietf.org ([132.151.1.19]) by ietf-mx with esmtp (Exim 4.12) id 1Ao3rF-0007Yg-00 for dhcwg-web-archive@ietf.org; Tue, 03 Feb 2004 11:57:05 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1Ao3rB-0007Y6-OO; Tue, 03 Feb 2004 11:57:01 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1Ao3qi-0007XC-Cr for dhcwg@optimus.ietf.org; Tue, 03 Feb 2004 11:56:32 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA17882 for <dhcwg@ietf.org>; Tue, 3 Feb 2004 11:56:29 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1Ao3qh-0007Xk-00 for dhcwg@ietf.org; Tue, 03 Feb 2004 11:56:31 -0500
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1Ao3pq-0007St-00 for dhcwg@ietf.org; Tue, 03 Feb 2004 11:55:40 -0500
Received: from endeavor.poss.com ([198.70.184.137] helo=smtp.poss.com) by ietf-mx with esmtp (Exim 4.12) id 1Ao3pI-0007Km-00 for dhcwg@ietf.org; Tue, 03 Feb 2004 11:55:04 -0500
Received: from conversion-daemon.endeavor.poss.com by endeavor.poss.com (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) id <0HSI00M01PGK0I@endeavor.poss.com> for dhcwg@ietf.org; Tue, 03 Feb 2004 11:54:35 -0500 (EST)
Received: from kan1 (user56.net637.oh.sprint-hsd.net [65.41.58.56]) by endeavor.poss.com (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTPA id <0HSI00E3YPMSJG@endeavor.poss.com>; Tue, 03 Feb 2004 11:54:33 -0500 (EST)
Date: Tue, 03 Feb 2004 11:54:13 -0500
From: "Kevin A. Noll" <kevin.noll@perfectorder.com>
Subject: RE: [dhcwg] Options differing in OFFER and ACK
In-reply-to: <B34580038487494C8B7F36DA06160B870ABA1E@homer.incognito.com>
To: "Kostur, Andre" <Andre@incognito.com>, Ted Lemon <mellon@fugue.com>
Cc: dhcwg@ietf.org
Message-id: <PPEKLDPHBHOIHMHKFGLLIEEDCOAA.kevin.noll@perfectorder.com>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Content-type: multipart/alternative; boundary="Boundary_(ID_28cm8K6V73o/4LbXLhzqfA)"
Importance: Normal
X-Priority: 3 (Normal)
X-MSMail-priority: Normal
Sender: dhcwg-admin@ietf.org
Errors-To: dhcwg-admin@ietf.org
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Id: <dhcwg.ietf.org>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on ietf-mx.ietf.org
X-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,HTML_30_40, HTML_FONTCOLOR_BLUE,HTML_MESSAGE autolearn=no version=2.60

RE: [dhcwg] Options differing in OFFER and ACK
Yep, I understand this scenario.

What I'm missing is if the client receives an ACK, but the ACKed IP is
different than
the OFFERed IP.

Seems to me that the client should drop the ACK (like Ted suggests), or send
a
DHCPDECLINE. I just don't see any recommendation for this.

--kan--
  -----Original Message-----
  From: Kostur, Andre [mailto:Andre@incognito.com]
  Sent: Tuesday, 03 February, 2004 11:41 AM
  To: 'Kevin A. Noll'; Ted Lemon
  Cc: dhcwg@ietf.org
  Subject: RE: [dhcwg] Options differing in OFFER and ACK


  Look in section 4.4, the state diagram.  If the client receives a NAK in
the Requesting state, it is to discard the offer, and transition back into
the Init state.  If this was an Init-Reboot, and the client is in the
Rebooting state, it is to "Restart" and transition to the Init state.

  Nutshell version: if you get a NAK at this point, your current lease (or
the offered lease) is no longer valid.  Go back to Discover.

  > -----Original Message-----
  > From: Kevin A. Noll [mailto:kevin.noll@perfectorder.com]
  > Sent: Tuesday, February 03, 2004 8:32 AM
  > To: Ted Lemon
  > Cc: dhcwg@ietf.org
  > Subject: RE: [dhcwg] Options differing in OFFER and ACK
  >
  > I suppose this paragraph in item 4 of section 3.1 would imply
  > the protocol
  > violation...
  >
  >      If the selected server is unable to satisfy the
  > DHCPREQUEST message
  >      (e.g., the requested network address has been allocated), the
  >      server SHOULD respond with a DHCPNAK message.
  >
  > I suppose my confusion is that 2131 doesn't give any guidance
  > about what
  > the client is to do in this case.
  >
  > --kan--
  >
  > > -----Original Message-----
  > > From: dhcwg-admin@ietf.org [mailto:dhcwg-admin@ietf.org]On Behalf Of
  > > Kevin A. Noll
  > > Sent: Monday, 02 February, 2004 10:27 PM
  > > To: Ted Lemon
  > > Cc: dhcwg@ietf.org
  > > Subject: RE: [dhcwg] Options differing in OFFER and ACK
  > >
  > > I agree that it is not the correct behavior.
  > >
  > > What I'm looking for is a reference in 2131 that would say (or at
  > > least imply) that this is a violation of the protocol.
  > >
  > > > -----Original Message-----
  > > > From: dhcwg-admin@ietf.org
  > [mailto:dhcwg-admin@ietf.org]On Behalf Of Ted
  > > > Lemon
  > > > Sent: Monday, 02 February, 2004 10:04 PM
  > > > To: Kevin A. Noll
  > > > Cc: dhcwg@ietf.org
  > > > Subject: Re: [dhcwg] Options differing in OFFER and ACK
  > > >
  > > >
  > > > On Feb 2, 2004, at 7:30 PM, Kevin A. Noll wrote:
  > > > > Can someone tell me if there is a specific answer to
  > this? Is there
  > > > > a requirement that the server grant the IP address
  > being requested
  > > > > if it was previously offered?
  > > >
  > > > This is a protocol violation on the part of the server.
  > The client
  > > > should drop the packet like a hot potato - it's probably
  > a denial of
  > > > service attack.
  > > >
  > > > I don't think 2131 is specific about cases like this.   I
  > tend to be in
  > > > favor of interoperability over pickiness, but the server
  > is totally
  > > > forbidden from doing this in RFC2131, and I don't see any
  > reason why
  > > > the client should be forgiving about it.