Re: [VRRP] RFC5798 - clarification on checksum calculation
Tomoyuki Sahara <sahara@surt.net> Mon, 02 April 2012 11:41 UTC
Return-Path: <sahara@surt.net>
X-Original-To: vrrp@ietfa.amsl.com
Delivered-To: vrrp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C23B721F889B for <vrrp@ietfa.amsl.com>; Mon, 2 Apr 2012 04:41:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.038
X-Spam-Level:
X-Spam-Status: No, score=0.038 tagged_above=-999 required=5 tests=[AWL=0.762, BAYES_00=-2.599, HELO_MISMATCH_NET=0.611, HOST_EQ_JP=1.265]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DmVAPsGs3Ob8 for <vrrp@ietfa.amsl.com>; Mon, 2 Apr 2012 04:41:49 -0700 (PDT)
Received: from gate.surt.net (CF211005116010.cims.jp [211.5.116.10]) by ietfa.amsl.com (Postfix) with ESMTP id 1FED821F8897 for <vrrp@ietf.org>; Mon, 2 Apr 2012 04:41:49 -0700 (PDT)
Received: from [10.0.0.3] ([10.0.0.3]) by gate.surt.net (8.14.3/8.14.3) with ESMTP id q32BfmT7032258 for <vrrp@ietf.org>; Mon, 2 Apr 2012 20:41:48 +0900 (JST)
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0 (Apple Message framework v1257)
From: Tomoyuki Sahara <sahara@surt.net>
In-Reply-To: <CAJgsEzV=nn37qqB9NTgfBsGVVx=z3yd6KJNjhBZP0RFOQ1Mw8g@mail.gmail.com>
Date: Mon, 02 Apr 2012 20:41:51 +0900
Content-Transfer-Encoding: quoted-printable
Message-Id: <C81B710D-6A09-41CE-9BD3-17A67AF437FA@surt.net>
References: <CAJgsEzVnofJ+Fm_eHgpHcZu8+Xuj2ZwEYT_Dy9wbovcVQzfWiA@mail.gmail.com> <CAH=tA5vaTU9X8t=JiZgxHKjq0-pCuw_vLmSHqjxzazWmrbFR9w@mail.gmail.com> <CAJgsEzV=nn37qqB9NTgfBsGVVx=z3yd6KJNjhBZP0RFOQ1Mw8g@mail.gmail.com>
To: vrrp@ietf.org
X-Mailer: Apple Mail (2.1257)
Subject: Re: [VRRP] RFC5798 - clarification on checksum calculation
X-BeenThere: vrrp@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Virtual Router Redundancy Protocol <vrrp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/vrrp>, <mailto:vrrp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/vrrp>
List-Post: <mailto:vrrp@ietf.org>
List-Help: <mailto:vrrp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vrrp>, <mailto:vrrp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Apr 2012 11:41:49 -0000
Forwarded. Any other VRRPv3/IPv4 implementation? Thanks, Tomoyuki Date: Mon, 2 Apr 2012 03:26:15 +0200 Subject: Re: [VRRP] RFC5798 - clarification on checksum calculation From: Hermin Anggawijaya <hermin.anggawijaya@gmail.com> To: Tomoyuki Sahara <sahara@surt.net> Sahara-san Thanks for your input. Anyone else with either/other interpretation of the clause ? Thanks On Mon, Apr 2, 2012 at 1:48 AM, Tomoyuki Sahara <sahara@surt.net> wrote: > Hi, > > On Thu, Mar 29, 2012 at 4:29 PM, Hermin Anggawijaya > <hermin.anggawijaya@gmail.com> wrote: >> Would someone be able to help clarifying RFC5798 Sec. 5.2.8 on >> checksum for me please... >> >> It says that >> >> "The checksum is the 16-bit one's complement of the one's complement >> sum of the entire VRRP message starting with the version field and a >> "pseudo-header" as defined in Section 8.1 of [RFC2460]. The next >> header field in the "pseudo-header" should be set to 112 (decimal) >> for VRRP. For computing the checksum, the checksum field is set to >> zero. See RFC1071 for more detail [RFC1071]." >> >> My interpretation of the above clause is, for IPv4 VRRP the checksum would be >> defined as: >> >> "The checksum is the 16-bit one's complement of the one's complement >> sum of the entire VRRP message starting with the version field" >> >> as per RFC 3768, instead of involving "pseudo header" (as defined in >> Section 8.1 of [RFC2460]). > > My understanding is only reference text ("as defined in Section 8.1 of > [RFC2460]") is irrelevant for IPv4. Our implementation calculates checksum > including pseudo header as for TCP/UDP/DCCP. > >> If my interpretation is correct, would it be useful to change the text to >> reflect specific checksum detail for IPv4 ? > > My interpretation is different from yours but clarification should be > very useful. > It's vital for interoperable implementations of VRRPv3/IPv4. > > > Thanks, > Tomoyuki
- [VRRP] RFC5798 - clarification on checksum calcul… Hermin Anggawijaya
- Re: [VRRP] RFC5798 - clarification on checksum ca… Tomoyuki Sahara
- Re: [VRRP] RFC5798 - clarification on checksum ca… Tomoyuki Sahara
- Re: [VRRP] RFC5798 - clarification on checksum ca… kura
- [VRRP] Fwd: RFC5798 - clarification on checksum c… Hermin Anggawijaya
- Re: [VRRP] Fwd: RFC5798 - clarification on checks… Nair, Anoop Govindan