Re: [sip-clf] Request for Consensus: Adopt ASCII

Peter Musgrave <peter.musgrave@magorcorp.com> Sat, 04 December 2010 16:10 UTC

Return-Path: <peter.musgrave@magorcorp.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 34DE828C0F7 for <sip-clf@core3.amsl.com>; Sat, 4 Dec 2010 08:10:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.087
X-Spam-Level:
X-Spam-Status: No, score=-103.087 tagged_above=-999 required=5 tests=[AWL=0.512, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 v0nEQCRp-SQw for <sip-clf@core3.amsl.com>; Sat, 4 Dec 2010 08:10:40 -0800 (PST)
Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by core3.amsl.com (Postfix) with ESMTP id 90A6428C0E9 for <sip-clf@ietf.org>; Sat, 4 Dec 2010 08:10:39 -0800 (PST)
Received: by ywi6 with SMTP id 6so1242067ywi.31 for <sip-clf@ietf.org>; Sat, 04 Dec 2010 08:11:59 -0800 (PST)
Received: by 10.42.217.66 with SMTP id hl2mr845706icb.286.1291479118711; Sat, 04 Dec 2010 08:11:58 -0800 (PST)
Received: from [192.168.1.105] ([204.237.32.134]) by mx.google.com with ESMTPS id 34sm2840542ibi.8.2010.12.04.08.11.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 04 Dec 2010 08:11:57 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: text/plain; charset="us-ascii"
From: Peter Musgrave <peter.musgrave@magorcorp.com>
In-Reply-To: <4CF90323.2060001@bell-labs.com>
Date: Sat, 04 Dec 2010 11:11:54 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <3995ADD1-8385-47D2-8D3B-D90BD585F7C4@magorcorp.com>
References: <D4134C23-AC3E-48E7-BFB4-1D51C2CA51EF@magorcorp.com> <06792DB6-BD48-42C9-B12F-639EA5E6E996@acmepacket.com> <6C54CABA-5BF0-4BA3-8845-1822023FF624@magorcorp.com> <4CDAAC6B.8090707@bell-labs.com> <5319F0AA-5CDE-42F0-BDC3-1A60FA18F2CF@voxeo.com> <745B2172-F6B4-4E3A-B92F-08904067354D@magorcorp.com> <0E35576E-3B0B-41A4-BB58-81207D71E983@cisco.com> <4CF80007.3050700@bell-labs.com> <31DCAA91-4478-4D18-99AE-8A998CE7876C@magorcorp.com> <4CF816CA.2070605@bell-labs.com> <FF3B3458-9DA4-437D-98B4-085B64D13D43@magorcorp.com> <4CF90323.2060001@bell-labs.com>
To: "Vijay K. Gurbani" <vkg@bell-labs.com>
X-Mailer: Apple Mail (2.1082)
Cc: "sip-clf@ietf.org" <sip-clf@ietf.org>
Subject: Re: [sip-clf] Request for Consensus: Adopt ASCII
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: Sat, 04 Dec 2010 16:10:50 -0000

Hi Vijay, 

That works for me.

Peter

On 2010-12-03, at 9:48 AM, Vijay K. Gurbani wrote:

> On 12/03/2010 07:07 AM, Peter Musgrave wrote:
>> Hi Vijay,
>> 
>> Maybe we can do something simple (but not perfect)
>> - for empty field
>> ? for unparsable field
>> 
>> In practice a tag or other field which contains the literal text - or
>> ? would not be distinguishable from empty/unparsable, but I view that
>> as a very remote case. We could go down the rat-hole of escaping
>> them, but then e.g. a tag could legitimately contain the exact
>> escaped sequence etc. etc.
> 
> Peter: I agree that a tag field consisting of only one character --- an
> unadorned "-" --- and the Call-ID field consisting of only one character
> --- an unadorned "?" --- will be extremely rare in practice (although
> ABNF allows them.)
> 
> If these characters are part of a sequence of other characters, then
> of course, there is no ambiguity.  Ambiguity arises if they are the
> only character for that field, and in such a case, we could say
> something like the following:
> 
>  If the To- or From- tag fields contain only one character, and that
>  character is the literal "-", the implementation SHOULD insert an
>  escaped %2D in the SIPCLF record.  Similarly, if the Call-ID field
>  contains only one character, and that character is the literal "?",
>  the implementation SHOULD insert an escaped %3F in the SIPCLF record.
> 
> This way, the SIPCLF log record can still contain "-" and "?" and if
> this is the only character in the field, then the reader can assert
> that the fields were empty and unparseable, respectively.
> 
> 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/