Re: [sip-clf] minor nits on draft-ietf-sipclf-problem-statement-03

Hadriel Kaplan <HKaplan@acmepacket.com> Tue, 03 August 2010 09:46 UTC

Return-Path: <HKaplan@acmepacket.com>
X-Original-To: sip-clf@core3.amsl.com
Delivered-To: sip-clf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 403A53A69F9 for <sip-clf@core3.amsl.com>; Tue, 3 Aug 2010 02:46:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.393
X-Spam-Level:
X-Spam-Status: No, score=-2.393 tagged_above=-999 required=5 tests=[AWL=0.206, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rYhb0Iu+zPe6 for <sip-clf@core3.amsl.com>; Tue, 3 Aug 2010 02:46:15 -0700 (PDT)
Received: from etmail.acmepacket.com (etmail.acmepacket.com [216.41.24.6]) by core3.amsl.com (Postfix) with ESMTP id F24623A6926 for <sip-clf@ietf.org>; Tue, 3 Aug 2010 02:46:14 -0700 (PDT)
Received: from mail.acmepacket.com (216.41.24.7) by etmail.acmepacket.com (216.41.24.6) with Microsoft SMTP Server (TLS) id 8.1.375.2; Tue, 3 Aug 2010 05:46:42 -0400
Received: from mail.acmepacket.com ([127.0.0.1]) by mail ([127.0.0.1]) with mapi; Tue, 3 Aug 2010 05:46:19 -0400
From: Hadriel Kaplan <HKaplan@acmepacket.com>
To: "Vijay K. Gurbani" <vkg@bell-labs.com>, "sip-clf@ietf.org" <sip-clf@ietf.org>
Date: Tue, 03 Aug 2010 05:46:14 -0400
Thread-Topic: [sip-clf] minor nits on draft-ietf-sipclf-problem-statement-03
Thread-Index: Acsy7xh1iCGDEYHERqCkSKFn/K1ocAAAL01g
Message-ID: <430FC6BDED356B4C8498F634416644A9269420F0AE@mail>
References: <430FC6BDED356B4C8498F634416644A9269420F090@mail> <4C57E22C.7000309@bell-labs.com>
In-Reply-To: <4C57E22C.7000309@bell-labs.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [sip-clf] minor nits on draft-ietf-sipclf-problem-statement-03
X-BeenThere: sip-clf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SIP Common Log File format discussion list <sip-clf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sip-clf>, <mailto:sip-clf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sip-clf>
List-Post: <mailto:sip-clf@ietf.org>
List-Help: <mailto:sip-clf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sip-clf>, <mailto:sip-clf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Aug 2010 09:46:16 -0000

And this is why we keep saying the problem statement draft assumes or implies a specific implementation of the file format, namely the indexed ascii one.  :)

The indexed-ascii draft should be the one to indicate the ordering it wants.

And the "Destination:port:xport" really are separate fields - in indexed-ascii you're just changing the delimiter from TAB to COLON.  In the indexed-ascii draft it may well decide to do that in order to avoid having more index pointers, but that's just an optimization for indexed-ascii; the general requirement is to record those three fields somehow.  For something like ipfix, it makes more sense to keep them separate because the format has native field types for IP Addresses and uint16 port numbers.

-hadriel

> -----Original Message-----
> From: sip-clf-bounces@ietf.org [mailto:sip-clf-bounces@ietf.org] On Behalf
> Of Vijay K. Gurbani
> Sent: Tuesday, August 03, 2010 5:32 AM
> To: sip-clf@ietf.org
> Subject: Re: [sip-clf] minor nits on draft-ietf-sipclf-problem-statement-
> 03
> 
> On 08/03/2010 03:29 AM, Hadriel Kaplan wrote:
> > Howdy, Currently draft-ietf-sipclf-problem-statement-03 has a section
> > 8.2 which states in the first paragraph: Each SIP CLF record MUST
> > contain the mandatory
> > elements in the order shown below:
> > Record size, Timestamp, Message type, Directionality, CSeq,
> > R-URI, Destination:port:xport, Source:port:xport, To, From,
> > Call-ID, Status, Server-Txn, Client-Txn
> >
> > Some of that is specific to an ascii format.  For example, the order
> > of the fields is specific to an ascii format (any TLV or templated
> > format wouldn't need such an ordering requirement).
> 
> Hadriel: Right; for the indexed-ASCII, the mandatory fields
> are in a block following the timestamp (please see figure on
> page 5 in [1].)  I would like the fields in this block to be in a
> certain order, so that one can visually inspect CLF records
> and expect to find the first three fields consisting of
> CSeq number, method, and R-URI.
> 
> A TLV or templated form like ipfix does not need to maintain
> order if it does not want to.
> 
> > The draft also has "Destination:port:xport" and "Source:port:xport",
> > but those are really three separate fields each.
> 
> Is there a specific reason to break these out into individual
> components?
> 
> [1] http://tools.ietf.org/html/draft-salgueiro-sipclf-indexed-ascii-01
> 
> Thanks,
> 
> - vijay
> --
> Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent
> 1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60566 (USA)
> Email: vkg@{alcatel-lucent.com,bell-labs.com,acm.org}
> Web:   http://ect.bell-labs.com/who/vkg/
> _______________________________________________
> sip-clf mailing list
> sip-clf@ietf.org
> https://www.ietf.org/mailman/listinfo/sip-clf