Re: [IPFIX] Export of long lived flow information
John Court <johnwcrt@au1.ibm.com> Thu, 25 October 2012 01:05 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 3431911E80A3 for <ipfix@ietfa.amsl.com>; Wed, 24 Oct 2012 18:05:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.398
X-Spam-Level:
X-Spam-Status: No, score=-7.398 tagged_above=-999 required=5 tests=[AWL=-0.800, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
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 1YV10fO8Po27 for <ipfix@ietfa.amsl.com>; Wed, 24 Oct 2012 18:05:25 -0700 (PDT)
Received: from e23smtp03.au.ibm.com (e23smtp03.au.ibm.com [202.81.31.145]) by ietfa.amsl.com (Postfix) with ESMTP id AA49711E80A2 for <ipfix@ietf.org>; Wed, 24 Oct 2012 18:05:24 -0700 (PDT)
Received: from /spool/local by e23smtp03.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <ipfix@ietf.org> from <johnwcrt@au1.ibm.com>; Thu, 25 Oct 2012 11:02:28 +1000
Received: from d23relay04.au.ibm.com (202.81.31.246) by e23smtp03.au.ibm.com (202.81.31.209) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 25 Oct 2012 11:02:27 +1000
Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay04.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q9P0tAFB47906914 for <ipfix@ietf.org>; Thu, 25 Oct 2012 11:55:11 +1100
Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q9P158c1017382 for <ipfix@ietf.org>; Thu, 25 Oct 2012 12:05:08 +1100
Received: from d23mlc03.au.ibm.com (d23mlc03.au.ibm.com [9.190.26.210]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q9P158FY017377; Thu, 25 Oct 2012 12:05:08 +1100
In-Reply-To: <5088666F.1090106@cisco.com>
References: <OF96D061AA.F7F6CDD4-ONCA257AA0.00772818-4A257AA0.0078DF60@au1.ibm.com> <D50FAC55-C109-4A96-A471-538F27F9C2D9@tik.ee.ethz.ch> <OF30095AE1.689CF5C8-ONCA257AA1.001FB2C7-4A257AA1.00211D2B@au1.ibm.com> <5087B96B.7020500@cisco.com> <OFE375B6D9.49AD261E-ONCA257AA1.00703303-4A257AA1.00708F09@au1.ibm.com> <508850F7.2080801@net.in.tum.de> <50885B49.6050603@cisco.com> <DE1ABD89-26A9-485E-893A-3160C6F671A6@cisco.com> <5088666F.1090106@cisco.com>
To: Paul Aitken <paitken@cisco.com>
MIME-Version: 1.0
X-KeepSent: 4B5A9A3A:F88C734E-CA257AA2:0005120F; type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 8.5.3 September 15, 2011
Message-ID: <OF4B5A9A3A.F88C734E-ONCA257AA2.0005120F-4A257AA2.0005F365@au1.ibm.com>
From: John Court <johnwcrt@au1.ibm.com>
Date: Thu, 25 Oct 2012 11:04:17 +1000
X-MIMETrack: Serialize by Router on d23mlc03/23/M/IBM(Release 8.5.3FP2HF29 | July 24, 2012) at 25/10/2012 12:04:25, Serialize complete at 25/10/2012 12:04:25
Content-Type: multipart/alternative; boundary="=_alternative 0005F3634A257AA2_="
x-cbid: 12102501-6102-0000-0000-0000026E5284
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: Thu, 25 Oct 2012 01:05:26 -0000
Yep I think everyone is starting to see the ambiguity that needs to be cleared up :-) Paul, Definitely. If it's a permanent flow and you're exporting totalCount fields - which are measured "since the Metering Process (re-)initialization for this Observation Point" - then the flowStartTime must surely be the time the first ever packet was observed. If you take that literally shouldn't that be interpreted to mean that the totalCount continues into the next time a connection is up between the same flow key ? Even if a flowEndReason of : 0x03: end of Flow detected The Flow was terminated because the Metering Process detected signals indicating the end of the Flow, for example, the TCP FIN flag. That clearly wouldn't be of much use IMO and makes it difficult to see what the flowEndReason field semantics mean in that context. Just pointing out that taking that definition literally doesn't give a useful answer on its own either :-). Although maybe that does make sense in a router context ? Can you clarify this some more, perhaps you never intend using the flowEndReason IE in your case ? Thanks From: Paul Aitken <paitken@cisco.com> To: Andrew Johnson <andrjohn@cisco.com>, Cc: Gerhard Muenz <muenz@net.in.tum.de>, John Court/Australia/IBM@IBMAU, ipfix@ietf.org Date: 25/10/2012 08:07 Subject: Re: [IPFIX] Export of long lived flow information Andrew, > I was thinking that a mechanism that allowed a non-permanent flow to be exported multiple time would be useful. For example, security applications generally want to know about a new flow ASAP, so they can act on the information, but a short active timeout values lead to using more export bandwidth. I was thinking we could do something like export a report of the flow after the first packet, and then export the final version of the flow once the normal timeouts had decided it was over. I have in the past discussed the idea of exporting a "new flow alert" using zero-valued counters in order to make the collector aware that we've started monitoring it - so I'm claiming prior art on that. > I had in mind something like using a delta count, followed by a total count. Reading the below definition of Total counts though, I'm not sure that will work, but I think it depends on how we interpret the definition of "Flow". If two records have matching key fields but different starting timestamps, are they the same Flow? 5101 defines: A Flow is defined as a set of IP packets passing an Observation Point in the network during a certain time interval. - so it's all about the timestamps :-) > I would argue that a single Flow can't have two flowStartTimes, so maybe not. However, two flows with different flowStartTimes can be merged into one flow. > This would mean that we shouldn't reset the flowStartTimes between sending reports for the same permanent Flow. Definitely. If it's a permanent flow and you're exporting totalCount fields - which are measured "since the Metering Process (re-)initialization for this Observation Point" - then the flowStartTime must surely be the time the first ever packet was observed. P.
- [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