[OPSAWG]Re: AD review of draft-ietf-opsawg-pcap-08
Mahesh Jethanandani <mjethanandani@gmail.com> Fri, 07 August 2026 04:49 UTC
Return-Path: <mjethanandani@gmail.com>
X-Original-To: opsawg@mail2.ietf.org
Delivered-To: opsawg@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 78AE41252A8BA for <opsawg@mail2.ietf.org>; Thu, 6 Aug 2026 21:49:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1786078190; bh=rpbCV0LE3iM20GZ+OylZFnekpZlsISFIFe1mIkq65K4=; h=From:Subject:Date:In-Reply-To:Cc:To:References; b=vQ/GoXBw6zN4aHTuDlq+A06Qx5Fuy99fSIT10tOxVr68pJSBqqcX5oaLsr6/VFxr2 A7183bqPtRdNFzbE4a6PR9qhg1kpz4xuK1pOPG1nbcBOSOc/dyvajuoU5bm7AT3CkF bp3ZL+G1R9+xtmhOLWgQhF+0BZZmLK+BeNOl+kfE=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xzNboA6QdN4G for <opsawg@mail2.ietf.org>; Thu, 6 Aug 2026 21:49:48 -0700 (PDT)
Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id A49531252A8A8 for <opsawg@ietf.org>; Thu, 6 Aug 2026 21:49:48 -0700 (PDT)
Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-2cc891373e0so36188875ad.2 for <opsawg@ietf.org>; Thu, 06 Aug 2026 21:49:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786078188; x=1786682988; darn=ietf.org; h=references:to:cc:in-reply-to:date:subject:mime-version:content-type :message-id:from:from:to:cc:subject:date:message-id:reply-to :content-type; bh=0sTAP1zsl29NGm7A1qO6kUC3wfFGFVBvtp92kxH65Ik=; b=QvEvNxLYwB3RKmAqPx3B5Zxc3QRKP+9mnsSTpZpepzxqMYaPOtvKsWFhjG5MtIxBeG 2tGyX1jnCRM4ycz5v5gy+NyZu1vWP0N3wwPrIBTC312ix5szaVYCk2/hbG0AOtiVKWT7 LBlhXqYvAKJGzEGkEyudlGmmVrwp57tdrczqHymjL2GBv7L/A5SncasyfhlxlBtHSMuK t5Qb+54m7eW3bPuv0ver3ckh3tNjJh6t8l2Ys3bcimxd93I6ME4ERamqI6k8SW7SJWwU KxnQBsyPCD3b1R9bjQaYS9wXa6O5birMxXO840XwvgQJCh85oPrHVKiogKaBY0VHbMMy fL6A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786078188; x=1786682988; h=references:to:cc:in-reply-to:date:subject:mime-version:content-type :message-id:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=0sTAP1zsl29NGm7A1qO6kUC3wfFGFVBvtp92kxH65Ik=; b=Ff0FU4vbGrtebVRz0C77k5kN1digd9qza0SE/FSZ6zY/mbRnSiak1QWw88IY+mQ7mS UA4MROFsAuhIaeJQPGa6Y8ZRzuBAh+z/mAL1834J+YzqbZFb9WrIcqi85bBBg4RLh4C9 mpQVo0a+L+NXQiWLPQxUgut2ZGSLbdJOZVrSjQ0oAoHlBL4kwgiMzlKKKuhYLe++y88Q Os4CeTGVVi+C2uWOns+ckLE+sabS65N7aPjTIeZCzOtcuoBthCy8w5Aq30yqkIg9GAT/ Q0JhfUQ8e3ijUMwm4E1q1dKNzDRMWzroPFOl7r1CJo0oiAZB3AwEOVz3AsNbj5mewEJM fXAw==
X-Gm-Message-State: AOJu0Yw0sTOJGZGwDTyiQ+ERE/MzWTdgbvUojQBjenfEu4nh4tDPeRH6 E5o2A9egmq2mQmUKxKi8ftz2I7s+u8l0kUMOQKFTvKI2IvQF1DchXFD4
X-Gm-Gg: AR+sD10wMj1YTDN9CpDLdHtNTQem+42zO20wkZJzLH/+DEza/Aw0lPfmkWlQbGU3Bu+ DxZu1NZALaWXFr1hF5MP85+erji31GJw5gXo8wTZ2tuCjlWnwdagRw0ROt0y2ThQM1B67VMQM7z GKpuyjPcB0Dgpy6sYhgdVs/lQsrHpIIoVfBQjjRhaBzHmkrlyNYFdrMOxv39y2avsZoGv7AR3ZR gXQV178uex3oajC3mdJHaueU6oU8QInfrKWKchi8+x0LejRjnFOI3ms2LhGkiIi+k2038ndPaVt T8+qs1RM6CSLvCKG59lRC9XavlINwoQmr96qdrXpo2OzrT8fV0N2mPYNgs60ObNsY9wP8FsKND4 UM6477jhaHvzvLac32YqtJrsEd8kSif/FqoM/UGdFA9q9WBzTtqNFksc7unRyOaUzHsx7s3njik aLa9ddLOVqFMdn8oSrrOT3o7nAdI8NoxA0wLFm2tnD7R+hNx0YkFKEDO7omtBEuC3H3PfgIapcP QfqgS4omnEN/GT9rqhroYUEPg==
X-Received: by 2002:a05:6300:670b:b0:3c0:ac0f:6558 with SMTP id adf61e73a8af0-3cb85e99259mr24199694637.2.1786078187576; Thu, 06 Aug 2026 21:49:47 -0700 (PDT)
Received: from smtpclient.apple ([67.174.194.227]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-cbe8f38839esm48619a12.29.2026.08.06.21.49.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Aug 2026 21:49:47 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <C788BCCA-9259-4511-9D79-683704E17D18@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_F2A7DBFF-47E1-41B4-B650-310F87B8C584"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\))
Date: Thu, 06 Aug 2026 21:49:31 -0700
In-Reply-To: <031EB0B8-7DA5-4B44-B203-FF280AF03FA4@gmail.com>
To: draft-ietf-opsawg-pcap.all@ietf.org
References: <031EB0B8-7DA5-4B44-B203-FF280AF03FA4@gmail.com>
X-Mailer: Apple Mail (2.3864.600.51.1.1)
Message-ID-Hash: Z3BIESFSRTEI6SFQCR325JR2N5OQY65J
X-Message-ID-Hash: Z3BIESFSRTEI6SFQCR325JR2N5OQY65J
X-MailFrom: mjethanandani@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-opsawg.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: opsawg <opsawg@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [OPSAWG]Re: AD review of draft-ietf-opsawg-pcap-08
List-Id: OPSA Working Group Mail List <opsawg.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/Tb0UWFSUfDPvFn_8qwrbasP1Pms>
List-Archive: <https://mailarchive.ietf.org/arch/browse/opsawg>
List-Help: <mailto:opsawg-request@ietf.org?subject=help>
List-Owner: <mailto:opsawg-owner@ietf.org>
List-Post: <mailto:opsawg@ietf.org>
List-Subscribe: <mailto:opsawg-join@ietf.org>
List-Unsubscribe: <mailto:opsawg-leave@ietf.org>
[Resending with the correct email address] > On Aug 6, 2026, at 9:47 PM, Mahesh Jethanandani <mjethanandani@gmail.com> wrote: > > Hi Authors, > > Thanks for working on this (historic) document. And thanks to Michael Tuexen for shepherding the document. > > I have one MAJOR and several MINOR/NIT level comments that I believe will help improve the document. > > ---------------------------------------------------------------------- > MAJOR > ---------------------------------------------------------------------- > > Section 4.1, File Endian Information: > > 274 > * 0xA1,0xB2,0xC3,0xD4: little endian file, with timestamps in > 275 > seconds/microseconds. > 276 > > 277 > * 0x1A,0x2B,0x3C,0x4D: little endian file, with timestamps in > 278 > seconds/nanoseconds. > 279 > > 280 > * 0xD4,0xC3,0xB2,0xA1: big endian file, with timestamps in seconds/ > 281 > microseconds. > 282 > > 283 > * 0x4D,0x3C,0x2B,0x1A: big endian file, with timestamps in seconds/ > 284 > nanoseconds. > > The two nanosecond entries have the wrong bytes. Section 4 already gives the > nanosecond magic number as 0xA1B23C4D (line 179-180). Decomposed into bytes > that's A1,B2,3C,4D -- not 0x1A,0x2B,0x3C,0x4D as written here. The document's > own contact for this format, tcpdump.org's pcap-savefile(5) man page, spells > this out explicitly: Both nanosecond bullets here seem to have had the first two > bytes nibble-swapped (A1->1A, B2->2B in one case; the same error shows up > reversed in the other). The microsecond entries immediately above and below > them are correct. > > I'd ask the authors to fix both nanosecond bullets to match the byte > sequences in pcap-savefile(5) before this moves forward. > > s/0x1A,0x2B,0x3C,0x4D/0xA1,0xB2,0x3C,0x4D/ > s/0x4D,0x3C,0x2B,0x1A/0x4D,0x3C,0xB2,0xA1/ > > ---------------------------------------------------------------------- > MINOR > ---------------------------------------------------------------------- > > Section 4, R bit and Reserved3: > > 252 > R (1 bit): not used - MUST be set to zero by pcap writers, and MUST > 253 > NOT be interpreted by pcap readers; a reader SHOULD treat a non- > 254 > zero value as an error. > > 260 > Reserved3 (10 bits): not used - MUST be set to zero by pcap writers, > 261 > and MUST NOT be interpreted by pcap readers; a reader SHOULD treat > 262 > a non-zero value as an error. > > Both of these say a reader MUST NOT interpret the bit(s), then in the next > clause say a reader SHOULD treat a non-zero value as an error -- which isn't > possible without looking at the value, i.e. interpreting it. I'd suggest either dropping > the "SHOULD treat... as an error” sentence from R and Reserved3, or replacing “ > MUST NOT be interpreted” with something like "carries no defined meaning." > > --- > > Section 8.1.1, application/pcap registration template: > > 420 > Encoding considerations: PCAP files contain network packets > 421 > Security considerations: See Security Considerations, Section > 422 > Interoperability considerations: The format is designed to be broadly interoperable. > > "Encoding considerations" in an RFC 6838 media type template is > supposed to describe what transfer/content encoding the format needs (a > value like "binary," or a pointer to a section describing that) -- not what > the format contains. "PCAP files contain network packets" answers a > different question than the one the field asks. I'd suggest something like > "binary" here instead. > > --- > > Section 7, Security Considerations / Section 8.1.1: > > 402 > See also: https://www.iana.org/assignments/media-types/application/ > 403 > vnd.tcpdump.pcap > > This pointer to the existing vendor-tree registration sits in Security > Considerations, but it's really about the relationship between the new > standards-tree application/pcap registration being requested here and the > pre-existing application/vnd.tcpdump.pcap entry -- which is exactly the kind > of thing the shepherd write-up also flagged (item 20). I'd move this note > into Section 8.1.1 alongside the registration template, and add a sentence > saying explicitly whether application/pcap is intended to supersede the > vendor-tree entry, coexist with it, or something else. As it stands a reader > of Security Considerations has no idea why a vendor-tree media type is being > mentioned there. > > --- > > Section 8.1.1, Change controller: > > 433 > Change controller: The Tcpdump Group > > Since this registration is being requested by an IETF-stream RFC, I'd have > expected "IETF" here per the usual convention for RFC-defined media types, > unless there's a deliberate reason to leave ongoing stewardship with the > Tcpdump Group instead (which, given the Historic intended status and the > fact that this format is frozen, may well be the right call). I'd just ask > the authors to confirm this was a deliberate choice rather than a template > default that didn't get updated. > > ---------------------------------------------------------------------- > NIT > ---------------------------------------------------------------------- > > All comments below are about very minor potential issues that you may > choose to address in some way - or ignore - as you see fit. > > Section 2, Terminology: > > 122 > This document uses the term octet in a way consistent with the word > 123 > "byte" > > Missing closing period. > > s/"byte"/"byte"./ > > --- > > Section 1, Introduction: > > 109 > More significantly, pcap v2 files can only contain packets in a > 110 > single LINKTYPE format, and this often means that packets are often > 111 > from a single network interface as not all LINKTYPEs include a way to > 112 > indicate which interface a packet is from. > > "often ... are often" reads redundantly. > > s/this often means that packets are often from/this often means that packets are from/ > > --- > > Section 3, General File Structure: > > 136 > The approach of having the file written in the native format of the > 137 > host writing the file is more efficient because it avoids translation > 138 > of data when writing the file or reading the file on the host that > 139 > wrote the file, which is the most common case when generating or > 140 > processing capture captures. > > "capture captures" duplicates a word. > > s/processing capture captures/processing captures/ > > --- > > Section 3, General File Structure: > > 142 > When hosts with a different native endian format read a file, they > 143 > must swap octets as appropriate. This is less efficient, but less > 144 > common, and if repeated access to the files are important, then files > 145 > can be translated and saved. > > Subject-verb agreement: "access... are" should be "access... is." > > s/repeated access to the files are important/repeated access to the files is important/ > > Thanks.. > > Mahesh Jethanandani > mjethanandani@gmail.com > > > > > > Mahesh Jethanandani mjethanandani@gmail.com
- [OPSAWG]AD review of draft-ietf-opsawg-pcap-08 Mahesh Jethanandani
- [OPSAWG]Re: AD review of draft-ietf-opsawg-pcap-08 Mahesh Jethanandani