Re: [IPFIX] Export of long lived flow information
John Court <johnwcrt@au1.ibm.com> Wed, 24 October 2012 06:02 UTC
Return-Path: <johnwcrt@au1.ibm.com>
X-Original-To: ipfix@ietfa.amsl.com
Delivered-To: ipfix@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2F67321F8D44 for <ipfix@ietfa.amsl.com>; Tue, 23 Oct 2012 23:02:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.598
X-Spam-Level:
X-Spam-Status: No, score=-8.598 tagged_above=-999 required=5 tests=[AWL=2.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UQ6uJfR8Ku+H for <ipfix@ietfa.amsl.com>; Tue, 23 Oct 2012 23:02:05 -0700 (PDT)
Received: from e23smtp08.au.ibm.com (e23smtp08.au.ibm.com [202.81.31.141]) by ietfa.amsl.com (Postfix) with ESMTP id BFB4D21F8D43 for <ipfix@ietf.org>; Tue, 23 Oct 2012 23:02:04 -0700 (PDT)
Received: from /spool/local by e23smtp08.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <ipfix@ietf.org> from <johnwcrt@au1.ibm.com>; Wed, 24 Oct 2012 16:01:06 +1000
Received: from d23relay04.au.ibm.com (202.81.31.246) by e23smtp08.au.ibm.com (202.81.31.205) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 24 Oct 2012 16:01:02 +1000
Received: from d23av01.au.ibm.com (d23av01.au.ibm.com [9.190.234.96]) by d23relay04.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q9O5pqWh52953110 for <ipfix@ietf.org>; Wed, 24 Oct 2012 16:51:53 +1100
Received: from d23av01.au.ibm.com (loopback [127.0.0.1]) by d23av01.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q9O61oT3027934 for <ipfix@ietf.org>; Wed, 24 Oct 2012 17:01:50 +1100
Received: from d23mlc03.au.ibm.com (d23mlc03.au.ibm.com [9.190.26.210]) by d23av01.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q9O61oHF027931 for <ipfix@ietf.org>; Wed, 24 Oct 2012 17:01:50 +1100
In-Reply-To: <D50FAC55-C109-4A96-A471-538F27F9C2D9@tik.ee.ethz.ch>
References: <OF96D061AA.F7F6CDD4-ONCA257AA0.00772818-4A257AA0.0078DF60@au1.ibm.com> <D50FAC55-C109-4A96-A471-538F27F9C2D9@tik.ee.ethz.ch>
To: Brian Trammell <trammell@tik.ee.ethz.ch>
MIME-Version: 1.0
X-KeepSent: 30095AE1:689CF5C8-CA257AA1:001FB2C7; type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 8.5.3 September 15, 2011
Message-ID: <OF30095AE1.689CF5C8-ONCA257AA1.001FB2C7-4A257AA1.00211D2B@au1.ibm.com>
From: John Court <johnwcrt@au1.ibm.com>
Date: Wed, 24 Oct 2012 16:00:58 +1000
X-MIMETrack: Serialize by Router on d23mlc03/23/M/IBM(Release 8.5.3FP2HF29 | July 24, 2012) at 24/10/2012 17:01:07, Serialize complete at 24/10/2012 17:01:07
Content-Type: multipart/alternative; boundary="=_alternative 00211D294A257AA1_="
x-cbid: 12102406-5140-0000-0000-0000023E928F
Cc: ipfix@ietf.org
Subject: Re: [IPFIX] Export of long lived flow information
X-BeenThere: ipfix@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IPFIX WG discussion list <ipfix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipfix>, <mailto:ipfix-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipfix>
List-Post: <mailto:ipfix@ietf.org>
List-Help: <mailto:ipfix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipfix>, <mailto:ipfix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Oct 2012 06:02:07 -0000
Hi Brian, I suspect I have been mis-interpreting your concept of "persistent caches". From the way you describe it, I would categorise what I export from as a persistent cache. The reason being that for packet processing efficiency reasons, all the "connection" concepts are kept in one place and that includes the accounting (i.e. packets, octets). I only get to see these periodically or on connection close. In IPFIX terminology the meter isn't resetting the flowStartTime or doing actual flow termination outside of detection of "connection" termination. Perhaps it could but that time may be used in other processing, I will have to see. I am not arguing with any of your points. I see the logic behind the operation, I just need to adjust some outputs for long lived connections. Thanks John Court From: Brian Trammell <trammell@tik.ee.ethz.ch> To: John Court/Australia/IBM@IBMAU, Cc: ipfix@ietf.org Date: 24/10/2012 15:19 Subject: Re: [IPFIX] Export of long lived flow information Hi, John, I'll say here that I've never really understood the arguments for export from persistent caches, and don't recommend the approach unless you have other overriding application requirements. But that's merely my opinion, and other people seem to like persistent caches and running total export (especially router people, who need to keep the cache around for other reasons anyway), and I guess it's just a sort of point of view thing. My problem with export from persistent caches with updating totals is that if you want to do anything with the data other than drive per-flow or per-aggregate displays (a la rrdtool or MRTG), you need to do the same amount of postprocessing as you would with nonpersistent export with Ta equal to your desired export interval in order to get "real flow data", and you lose packet and byte counters per active export interval. When each subpart of the flow has accurate first/last timestamps, you get a time series which can give you some idea of the evolution of the packet and byte rates (is it regular i.e. bulk transfer? is its rate slowly variable i.e. bulk transfer under congestion control? is it a low rate highly variable flow? and so on). With persistent cache export you kind of have the same thing, but (1) you have to subtract to get it and (2) you have no accurate midpoint timestamp; you can only deduce it from the export time and your best guess about Tde and Tdc. I'm not sure what you mean about "how to coordinate resetting (start time) on export"... if you're using non-persistent export, you expire the flow completely out of the cache on active timeout (with flowEndReason activeTimeout) and start a new flow record when you see the first (continuation) packet. If you want to keep ancillary information about the flow (e.g. deduced AS information if you're not a packet-forwarding device, other private labeling information that is expensive to calculate or requires examination of leading payload), you can keep it around in a secondary cache to be resurrected by flow key and associated with the new flow record when the continuation packet comes. As 5101bis is still open, I'll see if I can come up with some suitable language on the meaning of timestamps therefor (without the editorializing on persistent export), and propose to the list. Best regards, Brian On Oct 23, 2012, at 11:59 PM, John Court <johnwcrt@au1.ibm.com> wrote: Thanks for the interest in resolving this, Andrew, I understand your persistent cache argument. The reason I don't personally use "Total" and DO use "Delta" is more around what the collector does should it not see some of the updates and suddenly gets one that shows large counter values. This could mistakenly result in showing huge traffic over a short period incorrectly. This is particularly true if you do as Brian suggested and are setting the flowStartTime based only on the current record view. Brian, thanks for your detailed explanation. Everything with the exception of flowStartTime was as I am currently doing. I had perhaps mistakenly taken the approach that keeping the flowStartTime as the "conceptual" start rather than for this reporting period would make it easier for the collector to understand what was happening. Not actually sure how I will co-ordinate reseting that time on export yet :-) I would suggest that this sort of situation and Brians explanation be added as an example perhaps in 5101 or even 5472 as it would help with Collector interoperability I am sure :-) Thanks again. John Court Software Engineer IBM Security Systems Division IBM Australia Development Laboratory Office: +61 7 5552 4014 Mobile: +61 430 841328 _______________________________________________ IPFIX mailing list IPFIX@ietf.org https://www.ietf.org/mailman/listinfo/ipfix
- [IPFIX] Export of long lived flow information John Court
- Re: [IPFIX] Export of long lived flow information Brian Trammell
- Re: [IPFIX] Export of long lived flow information Andrew Johnson
- Re: [IPFIX] Export of long lived flow information Andrew Feren
- Re: [IPFIX] Export of long lived flow information Andrew Johnson
- Re: [IPFIX] Export of long lived flow information Tarun Saxena (tasaxena)
- Re: [IPFIX] Export of long lived flow information John Court
- Re: [IPFIX] Export of long lived flow information John Court
- Re: [IPFIX] Export of long lived flow information Brian Trammell
- Re: [IPFIX] Export of long lived flow information John Court
- Re: [IPFIX] Export of long lived flow information Brian Trammell
- Re: [IPFIX] Export of long lived flow information Paul Aitken
- Re: [IPFIX] Export of long lived flow information Paul Aitken
- Re: [IPFIX] Export of long lived flow information Andrew Feren
- Re: [IPFIX] Export of long lived flow information John Court
- Re: [IPFIX] Export of long lived flow information Gerhard Muenz
- Re: [IPFIX] Export of long lived flow information Paul Aitken
- Re: [IPFIX] Export of long lived flow information Andrew Johnson
- Re: [IPFIX] Export of long lived flow information Paul Aitken
- Re: [IPFIX] Export of long lived flow information John Court
- Re: [IPFIX] Export of long lived flow information Gerhard Muenz
- Re: [IPFIX] Export of long lived flow information John Court
- Re: [IPFIX] Export of long lived flow information Paul Aitken
- Re: [IPFIX] Export of long lived flow information Andrew Feren
- Re: [IPFIX] Export of long lived flow information Brian Trammell
- Re: [IPFIX] Export of long lived flow information Andrew Johnson
- Re: [IPFIX] Export of long lived flow information Andrew Feren
- Re: [IPFIX] Export of long lived flow information Paul Aitken
- Re: [IPFIX] Export of long lived flow information Paul Aitken
- Re: [IPFIX] Export of long lived flow information Paul Aitken
- Re: [IPFIX] Export of long lived flow information Paul Aitken
- Re: [IPFIX] [QUAR] Re: Export of long lived flow … Andrew Feren
- Re: [IPFIX] Export of long lived flow information Gerhard Muenz
- Re: [IPFIX] Export of long lived flow information Paul Aitken
- Re: [IPFIX] Export of long lived flow information Brian Trammell
- Re: [IPFIX] Export of long lived flow information Gerhard Muenz
- Re: [IPFIX] Export of long lived flow information Brian Trammell
- Re: [IPFIX] Export of long lived flow information John Court
- [IPFIX] Fw: Export of long lived flow information John Court
- Re: [IPFIX] Export of long lived flow information Brian Trammell