Re: [Sipping] Alternate CLF syntax proposal

Hisham Khartabil <hisham.khartabil@gmail.com> Thu, 02 April 2009 01:41 UTC

Return-Path: <hisham.khartabil@gmail.com>
X-Original-To: sipping@core3.amsl.com
Delivered-To: sipping@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D6E7C3A69FA for <sipping@core3.amsl.com>; Wed, 1 Apr 2009 18:41:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[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 h49HvRROXe2p for <sipping@core3.amsl.com>; Wed, 1 Apr 2009 18:41:56 -0700 (PDT)
Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by core3.amsl.com (Postfix) with ESMTP id AA6553A67C0 for <sipping@ietf.org>; Wed, 1 Apr 2009 18:41:56 -0700 (PDT)
Received: by yx-out-2324.google.com with SMTP id 8so419688yxm.49 for <sipping@ietf.org>; Wed, 01 Apr 2009 18:42:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=kPt+JAqu8KXfdCFN4lGL9ci3yzt1sXIF3Fl7A7YH7vg=; b=CTtNOAItjsFEFxr3H0hYzf0gTp62mtNTsNoaafvGaYWaWwmy1t66KjyRWKFtYWkn3K 2orXE5pR0s2WAFlbjds3ud+DBic2iroth+UQhR4jz45ixKy8QeRPCgYnGkaPaUq/GW04 NZ1rnI1/q8lGkV742JFUrbyr/NCr4PJM6UDC4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=XvdzNMdymhqc9ROSGvEpSCns5lRQw72X5aFOV/C29akhiWL+LeUwZtKjErGWniH8mo nKIu2goJ+mT/+cxRMLGRsN79umkBE0Iq2zX7qmPr5Xe4PMFIQGoNGlhtX5angwb4RBBm anD7O8dBfI+2D4xcNgSn2BUckmarnlsVVQ1oE=
MIME-Version: 1.0
Received: by 10.151.147.10 with SMTP id z10mr2750264ybn.138.1238636576979; Wed, 01 Apr 2009 18:42:56 -0700 (PDT)
In-Reply-To: <E6C2E8958BA59A4FB960963D475F7AC314FEBFF676@mail>
References: <49CAE21C.5060309@nostrum.com> <49CAEF3B.40309@alcatel-lucent.com> <E6C2E8958BA59A4FB960963D475F7AC314FEBFF676@mail>
Date: Thu, 02 Apr 2009 12:42:56 +1100
Message-ID: <66cd252f0904011842l6c2d971by4985a3f2f8bc5366@mail.gmail.com>
From: Hisham Khartabil <hisham.khartabil@gmail.com>
To: Hadriel Kaplan <HKaplan@acmepacket.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: sipping WG <sipping@ietf.org>, Adam Roach <adam@nostrum.com>, "draft-gurbani-sipping-clf@tools.ietf.org" <draft-gurbani-sipping-clf@tools.ietf.org>
Subject: Re: [Sipping] Alternate CLF syntax proposal
X-BeenThere: sipping@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "SIPPING Working Group \(applications of SIP\)" <sipping.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sipping>, <mailto:sipping-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sipping>
List-Post: <mailto:sipping@ietf.org>
List-Help: <mailto:sipping-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipping>, <mailto:sipping-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Apr 2009 01:41:57 -0000

Yeah, its for troubleshooting, but I suspect people will use it for charging.

Hisham

2009/3/27 Hadriel Kaplan <HKaplan@acmepacket.com>:
>
> If the purpose of it is troubleshooting, or threat analysis type stuff, I think the following format satisfies the needs as well:
> http://wiki.wireshark.org/Development/LibpcapFileFormat
>
> The advantages:
> 1) There's running code
> 2) There's open source, on all operating systems, and also for commercial use
> 3) It's used by many people
> 4) There are many tools which accept/process it
> 5) It's fast to write/save
> 6) It supports a sub-second timestamp
> 7) It supports length encoding of packets, so you can skip past them
> 8) It supports truncated saving of packets, so you don't have to save all of very big ones
> 9) It records the method name or response code very early in the saved log entry for each packet
>
> Disadvantages:
> 1) Nothing much new to specify, except to document it?
> 2) It's a little tricky for SIP/TLS, where you basically have to create fake segments/packets for the low layers, and same may be true for SIP/TCP depending on when you record the log
> 3) It doesn't provide a way to report internal system events/actions/info (although we could fix that)
> 4) Afaik, there is no specific remote push/streaming mechanism for it defined (there was an attempt at it, but not final)
>
> -hadriel
>
>> -----Original Message-----
>> From: sipping-bounces@ietf.org [mailto:sipping-bounces@ietf.org] On Behalf
>> Of Vijay K. Gurbani
>> Sent: Wednesday, March 25, 2009 10:58 PM
>>
>> Adam Roach wrote:
>> > In the spirit of "send text," I've put together a straw-man proposal for
>> > an easy-to-generate and fast-to-process extensible format for saving SIP
>> > log messages:
>> >
>> > http://www.ietf.org/internet-drafts/draft-roach-sipping-clf-syntax-
>> 00.txt
>> [...]
>>
>> Adam: Essentially you are advocating for a table-of-content
>> type of approach where you read the ToC and index straight
>> to where you want to go.  I have worked on SIP parsers
>> designed this way.
>>
>> The parsing is optimized, yes, when compared to the ASCII
>> version -- though perl can do wonders, but not to outperform
>> binary parsing.  The disadvantage is that you loose readability
>> and would need specialized tools to, say, grep through such
>> a file.
>>
>> It will be interesting to see what others think...
>>
>> 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/
>> _______________________________________________
>> Sipping mailing list  https://www.ietf.org/mailman/listinfo/sipping
>> This list is for NEW development of the application of SIP
>> Use sip-implementors@cs.columbia.edu for questions on current sip
>> Use sip@ietf.org for new developments of core SIP
> _______________________________________________
> Sipping mailing list  https://www.ietf.org/mailman/listinfo/sipping
> This list is for NEW development of the application of SIP
> Use sip-implementors@cs.columbia.edu for questions on current sip
> Use sip@ietf.org for new developments of core SIP
>