From majordomo@mil.doit.wisc.edu  Mon Dec  1 00:57:47 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA26817
	for <ipfix-archive@lists.ietf.org>; Mon, 1 Dec 2003 00:57:47 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1AQgiR-0007ay-00
	for ipfix-list@mil.doit.wisc.edu; Sun, 30 Nov 2003 23:35:23 -0600
Received: from palrel10.hp.com ([156.153.255.245])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1AQgiQ-0007at-00
	for ipfix@net.doit.wisc.edu; Sun, 30 Nov 2003 23:35:22 -0600
Received: from xparelay2.ptp.hp.com (xparelay2.ptp.hp.com [15.1.28.65])
	by palrel10.hp.com (Postfix) with ESMTP
	id 77D731C0180F; Sun, 30 Nov 2003 21:35:21 -0800 (PST)
Received: from xpabh3.ptp.hp.com (xpabh3.ptp.hp.com [15.1.28.63])
	by xparelay2.ptp.hp.com (Postfix) with ESMTP
	id 6E9081C00C04; Sun, 30 Nov 2003 21:35:21 -0800 (PST)
Received: by xpabh3.ptp.hp.com with Internet Mail Service (5.5.2657.72)
	id <XNBFZQ1A>; Sun, 30 Nov 2003 21:35:21 -0800
Message-ID: <1758A044D46A8A4CB320429F9462D6C248F782@xsun03.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Sebastian Zander'" <zander@fokus.fraunhofer.de>,
        Falko Dressler <dressler@informatik.uni-tuebingen.de>
Cc: ipfix@net.doit.wisc.edu
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
Date: Sun, 30 Nov 2003 21:35:20 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Hi,

  The most widely supported (in terms of number of platforms) representation
of time is that used by both J2SE and J2ME, defined by the java.util.Date
object.

  Specifically the methods get and setTime() available in both environments
interprets a 64-bit integer value as the number of milliseconds since
January 1, 1970, 00:00:00 GMT.  For thorough documentation of behavior see:

  http://java.sun.com/j2se/1.4.1/docs/api/java/util/Date.html  - and the
introduction describing GMT vs. UTC concerns (i.e. leap seconds) and
getTime() and setTime() methods describe the usage of the 64-bit quantity.

  This integer value proves quite handy for doing direct millisecond
granularity math, i.e. duration_msec = end_time_msec - start_time_msec.
Compare this simple model which has no roll over for 10,000 years, with
alternatives at second resolution or finer resolution.  I think msec is the
most practical.

  So, I would argue that this time format is the optimal for rollover free
64-bit time.

  I would agree that NTP format optimizes capacity of 64-bits for a wide
variety of time, providing resolution as fine as .232 nanoseconds.
 
  I question the need for microsecond based resolution, but for completeness
using timeval format for 64-bit microsecond resolution would be my
recommended encoding.

  So I would propose encoding formats of:

   - dateTime (second resolution, using 32-bits representing unsigned
seconds since 1970 EPOCH)
   - dateTimeMsec (msec resolution, using 64-bits represening unsinged msecs
since 1970 EPOCH)
   - dateTimeUsec (usec resolution using 2 32-bit quantities representing
seconds since 1970 EPOCH and another for the number of usec, i.e. range of
0-.999999)
   - dateTimeNsec (nsec resolution, using 2 32-bit quantities representing
seconds since 1900 (not 1970) EPOCH and another 32-bit for the fractional
component.  I.e. the 32-bit value 0x00000001 = 1*2**-32.  And the 32-bit
value of 0xFFFFFFFF = (2**32 - 1) * 2**-32, assuming standard C language
operator precedence.

  I still believe there is a desire among some WG participants to leverage
per "flow group" compacting via the use of integral offsets from some time
stamp stored in a common format in the header.  E.g. header has dateTimeUsec
format of some reference time and flows in that group specify times as
32-bit offset + or - from this value.

  If the group feels this tradeoff in complexity vs. compactness is
worthwile (it may be) then I'm OK.  However some consensus on default time
encodings and addressing all four of the time resolutions shown above is
necessary.

Regards,

  Jeff Meyer


-----Original Message-----
From: majordomo listserver [mailto:majordomo@mil.doit.wisc.edu]On Behalf
Of Sebastian Zander
Sent: Wednesday, November 26, 2003 6:21 AM
To: Falko Dressler
Cc: ipfix@net.doit.wisc.edu
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding


Hi,

common time formats are:

- time_t: seconds since epoch (4 byte)
- struct timeval: seconds, microseconds since epoch (8 byte)
- struct timespec (POSIX): seconds, nanoseconds since epoch (8 byte)
- NTP: seconds, 1/2^32 fraction since epoch (8 byte)

Unix epoch is 1970 whereas NTP epoch is 1900. Therefore some conversion is
needed to convert from NTP to one of the others.

The size of the first 3 depend on the architecture. On my machine (Intel)
they
have the sizes above but on other platforms this may be different AFAIK on
Alpha
a long is 8 bytes.

I'd like to see a timestamp format with second resolution which can be used
where a higher granularity is not required (e.g. accounting) and saves some
bytes on the wire. Another type with at least microsecond resolution should
be available for cases where a higher granularity is required (e.g. delay
measurement)

NTP makes the most of the bits (in terms of resolution ;-) and is an IETF
standard. Coversion to time_t etc. is simple.

Cheers,

Sebastian

Falko Dressler wrote:
> Issue: INFO-24  Encoding options for high-resolution timestamps
> Description:
> http://ipfix.doit.wisc.edu/archive/2214.html
> 
> Various encoding options for high-resolution timestamps for recommended 
> or optional usage.
> 
> Available types:
> 
> * NTP format (8 byte)
>   2 Parts: seconds (4 byte) / 1/2**32 fraction of seconds)
> 
> * Posix timeval
>   2 Parts: seconds (4 byte) / nanoseconds (4 byte)
> 
> * Milliseconds sinch EPOCH (8 byte)
> 
> * Micro/Nanoseconds since EPOCH (8 byte, rollover!)
> 
> 
> 
> 
> -- 
> Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message 
> body
> Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> "unsubscribe ipfix" in message body
> Archive     http://ipfix.doit.wisc.edu/archive/
> 


-- 
Sebastian Zander                         E-mail: zander@fokus.fraunhofer.de
Fraunhofer FOKUS / METEOR                Tel: +49-30-3463-7287
Kaiserin-Augusta-Allee 31                Fax: +49-30-3463-8287
D-10589 Berlin, Germany
www.fokus.fraunhofer.de/usr/sebastian.zander





--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message
body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Wed Dec  3 17:19:40 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA12662
	for <ipfix-archive@lists.ietf.org>; Wed, 3 Dec 2003 17:19:39 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1AReyc-0006NV-00
	for ipfix-list@mil.doit.wisc.edu; Wed, 03 Dec 2003 15:56:06 -0600
Received: from dplonka by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1AReyb-0006NO-00
	for ipfix-info@net.doit.wisc.edu; Wed, 03 Dec 2003 15:56:05 -0600
Date: Wed, 3 Dec 2003 15:56:05 -0600
From: Dave Plonka <plonka@doit.wisc.edu>
To: ipfix-info@net.doit.wisc.edu
Subject: [ipfix-info] I-D ACTION:draft-ietf-ipfix-info-02.txt
Message-ID: <20031203155605.B23075@doit.wisc.edu>
Reply-To: plonka@doit.wisc.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
X-Organization: University of Wisconsin-Madison, DoIT Network Services
X-Organization-Too: Wisconsin Advanced Internet Laboratory (WAIL)
X-URL: http://net.doit.wisc.edu/~plonka/
X-VMS-Error: %SYSTEM-E-PRIMNOSTP, PRIMARY CPU cannot be stopped
X-Shakespearean-Insult: Thou surly ill-nurtured ratsbane
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>


The new information model draft the Jeff mentioned is now available on
the IETF web site as mentioned below.  I've mirrored it here:

   http://ipfix.doit.wisc.edu/info/

Dave

----- Forwarded message from Internet-Drafts@ietf.org -----

To: IETF-Announce: ;
Cc: ipfix@net.doit.wisc.edu
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ipfix-info-02.txt
Date: Wed, 03 Dec 2003 15:28:52 -0500
Precedence: bulk

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the IP Flow Information Export Working Group of the IETF.

	Title		: Information Model for IP Flow Information Export
	Author(s)	: P. Calato
	Filename	: draft-ietf-ipfix-info-02.txt
	Pages		: 42
	Date		: 2003-12-3
	
This document defines and information and data model for the IP Flow
Information export (IPFIX) protocol. It is used by the IPFIX protocol
for encoding measured traffic information and information related to
the traffic measurement process. Although developed for the IPFIX
protcol, the model is defined in an open way that easily allows using
it in other protocols, interfaces, and applications.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipfix-info-02.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ipfix-info-02.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ipfix-info-02.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.



----- End forwarded message -----

-- 
plonka@doit.wisc.edu  http://net.doit.wisc.edu/~plonka  ARS:N9HZF  Madison, WI

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec  8 00:11:38 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA13687
	for <ipfix-archive@lists.ietf.org>; Mon, 8 Dec 2003 00:11:38 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATDAe-0006eM-00
	for ipfix-list@mil.doit.wisc.edu; Sun, 07 Dec 2003 22:38:56 -0600
Received: from mailhost2.auckland.ac.nz ([130.216.1.4])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATDAd-0006cm-00
	for ipfix@net.doit.wisc.edu; Sun, 07 Dec 2003 22:38:55 -0600
Received: from mailhost.auckland.ac.nz (mailhost [130.216.191.61])
	by mailhost2.auckland.ac.nz (8.12.9/8.12.9/8.12.9-ua) with ESMTP id hB84cmKU029351;
	Mon, 8 Dec 2003 17:38:48 +1300 (NZDT)
Received: from localhost (mailhost.auckland.ac.nz [127.0.0.1])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP
	id 2A12133E7E; Mon,  8 Dec 2003 17:37:13 +1300 (NZDT)
Received: from mailhost.auckland.ac.nz ([127.0.0.1])
 by localhost (mailhost.auckland.ac.nz [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 12388-13; Mon,  8 Dec 2003 17:37:10 +1300 (NZDT)
Received: from motoko.itss.auckland.ac.nz (motoko.itss.auckland.ac.nz [130.216.191.146])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP
	id 0E89733E8E; Mon,  8 Dec 2003 17:37:10 +1300 (NZDT)
Received: (from apache@localhost)
	by motoko.itss.auckland.ac.nz (8.11.6/8.11.6) id hB84aNR28215;
	Mon, 8 Dec 2003 17:36:23 +1300
Received: from dyn42.caida.org (dyn42.caida.org [192.172.226.42]) by
	webmail.auckland.ac.nz (Horde) with HTTP for
	<jbro111@webmail.auckland.ac.nz>; Mon,  8 Dec 2003 17:36:23 +1300
Message-ID: <1070858183.fa4a0a2cfe225@webmail.auckland.ac.nz>
Date: Mon,  8 Dec 2003 17:36:23 +1300
From: Nevil Brownlee <n.brownlee@auckland.ac.nz>
To: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
Cc: ipfix@net.doit.wisc.edu
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
References: <1758A044D46A8A4CB320429F9462D6C248F782@xsun03.ptp.hp.com>
In-Reply-To: <1758A044D46A8A4CB320429F9462D6C248F782@xsun03.ptp.hp.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Originating-IP:  192.172.226.42
X-Virus-Scanned: by amavisd-new at mailhost.auckland.ac.nz
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>
Content-Transfer-Encoding: 7bit

Hi Jeff:

Thanks for your description of the Java 64-bit ms since 1 Jan 1970,
that does seem like a good compromise - to me, ms for flow times
is about right (I need us for packets, but not flows), and I like its
'no rollover' feature.

>   So I would propose encoding formats of:
> 
>    - dateTime (second resolution, using 32-bits representing unsigned
> seconds since 1970 EPOCH)
>    - dateTimeMsec (msec resolution, using 64-bits represening unsinged msecs
> since 1970 EPOCH)
>    - dateTimeUsec (usec resolution using 2 32-bit quantities representing
> seconds since 1970 EPOCH and another for the number of usec, i.e. range of
> 0-.999999)
>    - dateTimeNsec (nsec resolution, using 2 32-bit quantities representing
> seconds since 1900 (not 1970) EPOCH and another 32-bit for the fractional
> component.  I.e. the 32-bit value 0x00000001 = 1*2**-32.  And the 32-bit
> value of 0xFFFFFFFF = (2**32 - 1) * 2**-32, assuming standard C language
> operator precedence.

I agree we should support the first two, the others seem less useful to me.


>   I still believe there is a desire among some WG participants to leverage
> per "flow group" compacting via the use of integral offsets from some time
> stamp stored in a common format in the header.  E.g. header has dateTimeUsec
> format of some reference time and flows in that group specify times as
> 32-bit offset + or - from this value.

I can see that it would save space to do this.  Would it be enough to
have a dateTime (seconds) in the header, then 32-bit ms offsets from that
in the flow groups?

Cheers, Nevil

-----------------------------------------------------------------------
   Nevil Brownlee                   Director, Technology Development
   Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
   FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand


-------------------------------------------------
This mail sent through University of Auckland
http://www.auckland.ac.nz/

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec  8 10:52:52 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA15560
	for <ipfix-archive@lists.ietf.org>; Mon, 8 Dec 2003 10:52:51 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATNLB-0002J2-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 08 Dec 2003 09:30:29 -0600
Received: from tokyo.netlab.nec.de ([195.37.70.2] helo=tokyo.ccrle.nec.de)
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATNLA-0002Iw-00
	for ipfix@net.doit.wisc.edu; Mon, 08 Dec 2003 09:30:28 -0600
Received: from venus.office (venus.office [10.1.1.11])
	by tokyo.ccrle.nec.de (8.12.10/8.12.9) with ESMTP id hB8FUOCx080785
	for <ipfix@net.doit.wisc.edu>; Mon, 8 Dec 2003 16:30:24 +0100 (CET)
Received: from ccrle.nec.de (molina.office [10.1.1.126])
	by venus.office (Postfix on SuSE Linux eMail Server 3.0) with ESMTP id EC7A868361
	for <ipfix@net.doit.wisc.edu>; Mon,  8 Dec 2003 16:30:23 +0100 (CET)
Message-ID: <3FD4990F.4000708@ccrle.nec.de>
Date: Mon, 08 Dec 2003 16:30:23 +0100
From: Maurizio Molina <molina@ccrle.nec.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "'ipfix@net.doit.wisc.edu'" <ipfix@net.doit.wisc.edu>
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
References: <1758A044D46A8A4CB320429F9462D6C248F782@xsun03.ptp.hp.com> <1070858183.fa4a0a2cfe225@webmail.auckland.ac.nz>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.35
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>
Content-Transfer-Encoding: 7bit



Nevil Brownlee wrote:

>Hi Jeff:
>
>Thanks for your description of the Java 64-bit ms since 1 Jan 1970,
>that does seem like a good compromise - to me, ms for flow times
>is about right (I need us for packets, but not flows), and I like its
>'no rollover' feature.
>
>  
>
>>  So I would propose encoding formats of:
>>
>>   - dateTime (second resolution, using 32-bits representing unsigned
>>seconds since 1970 EPOCH)
>>   - dateTimeMsec (msec resolution, using 64-bits represening unsinged msecs
>>since 1970 EPOCH)
>>   - dateTimeUsec (usec resolution using 2 32-bit quantities representing
>>seconds since 1970 EPOCH and another for the number of usec, i.e. range of
>>0-.999999)
>>   - dateTimeNsec (nsec resolution, using 2 32-bit quantities representing
>>seconds since 1900 (not 1970) EPOCH and another 32-bit for the fractional
>>component.  I.e. the 32-bit value 0x00000001 = 1*2**-32.  And the 32-bit
>>value of 0xFFFFFFFF = (2**32 - 1) * 2**-32, assuming standard C language
>>operator precedence.
>>    
>>
>
>I agree we should support the first two, the others seem less useful to me.
>
Hi Nevil,
I think we should be careful with excluding encodings for resolutions 
higher than the millisecond.
As Sebastian pointed out in some previous mail,
"Another type with at least microsecond resolution should
be available for cases where a higher granularity is required (e.g. delay
measurement)"
Delay measurements are actually considered in the IPFIX applicability 
draft. Moreover, PSAMP is considering of  using IPFIX as a transport, 
and PSAMP based applications are likely to include delay measurements.
Also, at the last meeting there was a hummmm in favour of microseconds.

I think this sentence from Jeff is the one that best captures the issue:

  - dateTimeUsec and Nsec - micro and nano second resolution are too exotic
for the majority of my customers, but there appears to be interest from the group.

All that said, I'd be in favour of also keeping the support of encodings 
for high time resolutions.
Cheers,
Maurizio

>
>
>  
>
>>  I still believe there is a desire among some WG participants to leverage
>>per "flow group" compacting via the use of integral offsets from some time
>>stamp stored in a common format in the header.  E.g. header has dateTimeUsec
>>format of some reference time and flows in that group specify times as
>>32-bit offset + or - from this value.
>>    
>>
>
>I can see that it would save space to do this.  Would it be enough to
>have a dateTime (seconds) in the header, then 32-bit ms offsets from that
>in the flow groups?
>
>Cheers, Nevil
>
>-----------------------------------------------------------------------
>   Nevil Brownlee                   Director, Technology Development
>   Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
>   FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand
>
>
>-------------------------------------------------
>This mail sent through University of Auckland
>http://www.auckland.ac.nz/
>
>--
>Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
>Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
>"unsubscribe ipfix" in message body
>Archive     http://ipfix.doit.wisc.edu/archive/
>  
>



--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec  8 12:03:03 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA18267
	for <ipfix-archive@lists.ietf.org>; Mon, 8 Dec 2003 12:03:02 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATORy-0004V4-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 08 Dec 2003 10:41:34 -0600
Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATORx-0004Uy-00
	for ipfix@net.doit.wisc.edu; Mon, 08 Dec 2003 10:41:33 -0600
Received: from 207-237-36-98.c3-0.avec-ubr10.nyr-avec.ny.cable.rcn.com ([207.237.36.98] helo=osiris)
	by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4)
	id 1ATORw-0004oC-00; Mon, 08 Dec 2003 11:41:32 -0500
Reply-To: <carter@qosient.com>
From: "Carter Bullard" <carter@qosient.com>
To: "'Maurizio Molina'" <molina@ccrle.nec.de>, <ipfix@net.doit.wisc.edu>
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
Date: Mon, 8 Dec 2003 11:41:29 -0500
Organization: QoSient, LLC
Message-ID: <5C8959A16A71B449AE793CF52FBBED661AB4FB@ptah.newyork.qosient.com>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4510
Importance: Normal
In-Reply-To: <5C8959A16A71B449AE793CF52FBBED66251DCC@ptah.newyork.qosient.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Gentle people,
   I have customers today that are using uSec granularity
exclusively and we're moving to nSec granularity for some
applications shortly.  So, these resolutions are not exotic
for my customers, they are the norm.

Carter

-----Original Message-----
From: majordomo listserver [mailto:majordomo@mil.doit.wisc.edu] On Behalf Of
Maurizio Molina
Sent: Monday, December 08, 2003 10:30 AM
To: 'ipfix@net.doit.wisc.edu'
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding




Nevil Brownlee wrote:

>Hi Jeff:
>
>Thanks for your description of the Java 64-bit ms since 1 Jan 1970,
>that does seem like a good compromise - to me, ms for flow times
>is about right (I need us for packets, but not flows), and I like its
>'no rollover' feature.
>
>
>
>>  So I would propose encoding formats of:
>>
>>   - dateTime (second resolution, using 32-bits representing unsigned
>>seconds since 1970 EPOCH)
>>   - dateTimeMsec (msec resolution, using 64-bits represening unsinged
msecs
>>since 1970 EPOCH)
>>   - dateTimeUsec (usec resolution using 2 32-bit quantities representing
>>seconds since 1970 EPOCH and another for the number of usec, i.e. range of
>>0-.999999)
>>   - dateTimeNsec (nsec resolution, using 2 32-bit quantities representing
>>seconds since 1900 (not 1970) EPOCH and another 32-bit for the fractional
>>component.  I.e. the 32-bit value 0x00000001 = 1*2**-32.  And the 32-bit
>>value of 0xFFFFFFFF = (2**32 - 1) * 2**-32, assuming standard C language
>>operator precedence.
>>
>>
>
>I agree we should support the first two, the others seem less useful to me.
>
Hi Nevil,
I think we should be careful with excluding encodings for resolutions
higher than the millisecond.
As Sebastian pointed out in some previous mail,
"Another type with at least microsecond resolution should
be available for cases where a higher granularity is required (e.g. delay
measurement)"
Delay measurements are actually considered in the IPFIX applicability
draft. Moreover, PSAMP is considering of  using IPFIX as a transport,
and PSAMP based applications are likely to include delay measurements.
Also, at the last meeting there was a hummmm in favour of microseconds.

I think this sentence from Jeff is the one that best captures the issue:

  - dateTimeUsec and Nsec - micro and nano second resolution are too exotic
for the majority of my customers, but there appears to be interest from the
group.

All that said, I'd be in favour of also keeping the support of encodings
for high time resolutions.
Cheers,
Maurizio

>
>
>
>
>>  I still believe there is a desire among some WG participants to leverage
>>per "flow group" compacting via the use of integral offsets from some time
>>stamp stored in a common format in the header.  E.g. header has
dateTimeUsec
>>format of some reference time and flows in that group specify times as
>>32-bit offset + or - from this value.
>>
>>
>
>I can see that it would save space to do this.  Would it be enough to
>have a dateTime (seconds) in the header, then 32-bit ms offsets from that
>in the flow groups?
>
>Cheers, Nevil
>
>-----------------------------------------------------------------------
>   Nevil Brownlee                   Director, Technology Development
>   Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
>   FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand
>
>
>-------------------------------------------------
>This mail sent through University of Auckland
>http://www.auckland.ac.nz/
>
>--
>Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message
body
>Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
>"unsubscribe ipfix" in message body
>Archive     http://ipfix.doit.wisc.edu/archive/
>
>



--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message
body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/




--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec  8 13:46:15 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA23630
	for <ipfix-archive@lists.ietf.org>; Mon, 8 Dec 2003 13:46:15 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATQFZ-0007Ws-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 08 Dec 2003 12:36:53 -0600
Received: from mailhost2.auckland.ac.nz ([130.216.191.4])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATQFX-0007Wl-00
	for ipfix@net.doit.wisc.edu; Mon, 08 Dec 2003 12:36:52 -0600
Received: from mailhost.auckland.ac.nz (mailhost [130.216.191.61])
	by mailhost2.auckland.ac.nz (8.12.9/8.12.9/8.12.9-ua) with ESMTP id hB8IahLQ005929;
	Tue, 9 Dec 2003 07:36:43 +1300 (NZDT)
Received: from localhost (mailhost.auckland.ac.nz [127.0.0.1])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP
	id A411533F3F; Tue,  9 Dec 2003 07:34:57 +1300 (NZDT)
Received: from mailhost.auckland.ac.nz ([127.0.0.1])
 by localhost (mailhost.auckland.ac.nz [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 18673-07; Tue,  9 Dec 2003 07:34:45 +1300 (NZDT)
Received: from motoko.itss.auckland.ac.nz (motoko.itss.auckland.ac.nz [130.216.191.146])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP
	id A0E7833F4C; Tue,  9 Dec 2003 07:34:45 +1300 (NZDT)
Received: (from apache@localhost)
	by motoko.itss.auckland.ac.nz (8.11.6/8.11.6) id hB8IY4e01924;
	Tue, 9 Dec 2003 07:34:04 +1300
Received: from dyn42.caida.org (dyn42.caida.org [192.172.226.42]) by
	webmail.auckland.ac.nz (Horde) with HTTP for
	<jbro111@webmail.auckland.ac.nz>; Tue,  9 Dec 2003 07:34:04 +1300
Message-ID: <1070908444.f24cd8b1bce6a@webmail.auckland.ac.nz>
Date: Tue,  9 Dec 2003 07:34:04 +1300
From: Nevil Brownlee <n.brownlee@auckland.ac.nz>
To: carter@qosient.com, "'Maurizio Molina'" <molina@ccrle.nec.de>
Cc: ipfix@net.doit.wisc.edu
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
References: 	<5C8959A16A71B449AE793CF52FBBED661AB4FB@ptah.newyork.qosient.com>
In-Reply-To: 	<5C8959A16A71B449AE793CF52FBBED661AB4FB@ptah.newyork.qosient.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Originating-IP:  192.172.226.42
X-Virus-Scanned: by amavisd-new at mailhost.auckland.ac.nz
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>
Content-Transfer-Encoding: 7bit

Hi Carter and Maurizio

>    I have customers today that are using uSec granularity
> exclusively and we're moving to nSec granularity for some
> applications shortly.  So, these resolutions are not exotic
> for my customers, they are the norm.

OK, by all means let's keep all four of Jeff's timestamp formats.

Now what about the notion of having a dateTimeUsec timestamp in the
header and 32-bit offsets from that for timestamps in flow groups?
Would that save enough space to be useful?

CHeers, Nevil

-----------------------------------------------------------------------
   Nevil Brownlee                   Director, Technology Development
   Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
   FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand


-------------------------------------------------
This mail sent through University of Auckland
http://www.auckland.ac.nz/

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec  8 14:12:25 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA25263
	for <ipfix-archive@lists.ietf.org>; Mon, 8 Dec 2003 14:12:24 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATQew-0000lz-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 08 Dec 2003 13:03:06 -0600
Received: from mx5.informatik.uni-tuebingen.de ([134.2.12.32])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATQev-0000lu-00
	for ipfix@net.doit.wisc.edu; Mon, 08 Dec 2003 13:03:05 -0600
Received: from localhost (loopback [127.0.0.1])
	by mx5.informatik.uni-tuebingen.de (Postfix) with ESMTP
	id 5678112B; Mon,  8 Dec 2003 20:03:03 +0100 (NFT)
Received: from mx3.informatik.uni-tuebingen.de ([134.2.12.26])
 by localhost (mx5 [134.2.12.32]) (amavisd-new, port 10024) with ESMTP
 id 18232-04; Mon,  8 Dec 2003 20:03:01 +0100 (NFT)
Received: from informatik.uni-tuebingen.de (rouen.Informatik.Uni-Tuebingen.De [134.2.11.152])
	by mx3.informatik.uni-tuebingen.de (Postfix) with ESMTP
	id AD5D1139; Mon,  8 Dec 2003 20:03:00 +0100 (NFT)
Message-ID: <3FD4CAE4.5070808@informatik.uni-tuebingen.de>
Date: Mon, 08 Dec 2003 20:03:00 +0100
From: Falko Dressler <dressler@informatik.uni-tuebingen.de>
Organization: University of Tuebingen
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Maurizio Molina <molina@ccrle.nec.de>
Cc: "'ipfix@net.doit.wisc.edu'" <ipfix@net.doit.wisc.edu>
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
References: <1758A044D46A8A4CB320429F9462D6C248F782@xsun03.ptp.hp.com> <1070858183.fa4a0a2cfe225@webmail.auckland.ac.nz> <3FD4990F.4000708@ccrle.nec.de>
In-Reply-To: <3FD4990F.4000708@ccrle.nec.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new (McAfee AntiVirus) at informatik.uni-tuebingen.de
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>
Content-Transfer-Encoding: 7bit

I think there *is* a consensus for keeping high resolution time stamps. 
The remaining question is about its encodings.
Do we really need "a number of" different encodings or is it possible to 
find a consensus on a particular encoding?

My favorite is still NTP ;-)

Cheers,
Falko.


Maurizio Molina wrote:

> 
> 
> Nevil Brownlee wrote:
> 
>> Hi Jeff:
>>
>> Thanks for your description of the Java 64-bit ms since 1 Jan 1970,
>> that does seem like a good compromise - to me, ms for flow times
>> is about right (I need us for packets, but not flows), and I like its
>> 'no rollover' feature.
>>
>>  
>>
>>>  So I would propose encoding formats of:
>>>
>>>   - dateTime (second resolution, using 32-bits representing unsigned
>>> seconds since 1970 EPOCH)
>>>   - dateTimeMsec (msec resolution, using 64-bits represening unsinged 
>>> msecs
>>> since 1970 EPOCH)
>>>   - dateTimeUsec (usec resolution using 2 32-bit quantities representing
>>> seconds since 1970 EPOCH and another for the number of usec, i.e. 
>>> range of
>>> 0-.999999)
>>>   - dateTimeNsec (nsec resolution, using 2 32-bit quantities 
>>> representing
>>> seconds since 1900 (not 1970) EPOCH and another 32-bit for the 
>>> fractional
>>> component.  I.e. the 32-bit value 0x00000001 = 1*2**-32.  And the 32-bit
>>> value of 0xFFFFFFFF = (2**32 - 1) * 2**-32, assuming standard C language
>>> operator precedence.
>>>   
>>
>>
>> I agree we should support the first two, the others seem less useful 
>> to me.
>>
> Hi Nevil,
> I think we should be careful with excluding encodings for resolutions 
> higher than the millisecond.
> As Sebastian pointed out in some previous mail,
> "Another type with at least microsecond resolution should
> be available for cases where a higher granularity is required (e.g. delay
> measurement)"
> Delay measurements are actually considered in the IPFIX applicability 
> draft. Moreover, PSAMP is considering of  using IPFIX as a transport, 
> and PSAMP based applications are likely to include delay measurements.
> Also, at the last meeting there was a hummmm in favour of microseconds.
> 
> I think this sentence from Jeff is the one that best captures the issue:
> 
>  - dateTimeUsec and Nsec - micro and nano second resolution are too exotic
> for the majority of my customers, but there appears to be interest from 
> the group.
> 
> All that said, I'd be in favour of also keeping the support of encodings 
> for high time resolutions.
> Cheers,
> Maurizio
> 
>>
>>
>>  
>>
>>>  I still believe there is a desire among some WG participants to 
>>> leverage
>>> per "flow group" compacting via the use of integral offsets from some 
>>> time
>>> stamp stored in a common format in the header.  E.g. header has 
>>> dateTimeUsec
>>> format of some reference time and flows in that group specify times as
>>> 32-bit offset + or - from this value.
>>>   
>>
>>
>> I can see that it would save space to do this.  Would it be enough to
>> have a dateTime (seconds) in the header, then 32-bit ms offsets from that
>> in the flow groups?
>>
>> Cheers, Nevil
>>
>> -----------------------------------------------------------------------
>>   Nevil Brownlee                   Director, Technology Development
>>   Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
>>   FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand
>>
>>
>> -------------------------------------------------
>> This mail sent through University of Auckland
>> http://www.auckland.ac.nz/
>>
>> -- 
>> Help        mailto:majordomo@net.doit.wisc.edu and say "help" in 
>> message body
>> Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
>> "unsubscribe ipfix" in message body
>> Archive     http://ipfix.doit.wisc.edu/archive/
>>  
>>
> 
> 
> 
> -- 
> Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message 
> body
> Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> "unsubscribe ipfix" in message body
> Archive     http://ipfix.doit.wisc.edu/archive/


-- 
Dr.-Ing. Falko Dressler
Computer Networks and Internet
Wilhelm-Schickard-Institute for Computer Science
University of Tuebingen, Germany
Phone: +49 7071 29-70522 / Fax: +49 7071 29-5220
EMail: dressler@informatik.uni-tuebingen.de / fd@acm.org
http://net.informatik.uni-tuebingen.de/members/dressler/


--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec  8 14:42:27 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA26409
	for <ipfix-archive@lists.ietf.org>; Mon, 8 Dec 2003 14:42:26 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATR2q-0001Tm-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 08 Dec 2003 13:27:48 -0600
Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATR2q-0001Tg-00
	for ipfix@net.doit.wisc.edu; Mon, 08 Dec 2003 13:27:48 -0600
Received: from 207-237-36-98.c3-0.avec-ubr10.nyr-avec.ny.cable.rcn.com ([207.237.36.98] helo=osiris)
	by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4)
	id 1ATR2p-0005Ok-00; Mon, 08 Dec 2003 14:27:47 -0500
Reply-To: <carter@qosient.com>
From: "Carter Bullard" <carter@qosient.com>
To: "'Nevil Brownlee'" <n.brownlee@auckland.ac.nz>,
        "'Maurizio Molina'" <molina@ccrle.nec.de>
Cc: <ipfix@net.doit.wisc.edu>
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
Date: Mon, 8 Dec 2003 14:27:43 -0500
Organization: QoSient, LLC
Message-ID: <5C8959A16A71B449AE793CF52FBBED6607A734@ptah.newyork.qosient.com>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4510
Importance: Normal
In-Reply-To: <5C8959A16A71B449AE793CF52FBBED66252FE0@ptah.newyork.qosient.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Hey Nevil,
   This is an interesting question, as it assumes that
all the records are coming from a single IPFIX data
source.  What happens if IPFIX is transporting data
from multiple sources as they are received, but the
timestamps in the various records are not synchronized?

Carter




-----Original Message-----
From: Nevil Brownlee [mailto:n.brownlee@auckland.ac.nz]
Sent: Monday, December 08, 2003 1:34 PM
To: carter@qosient.com; 'Maurizio Molina'
Cc: ipfix@net.doit.wisc.edu
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding


Hi Carter and Maurizio

>    I have customers today that are using uSec granularity
> exclusively and we're moving to nSec granularity for some
> applications shortly.  So, these resolutions are not exotic
> for my customers, they are the norm.

OK, by all means let's keep all four of Jeff's timestamp formats.

Now what about the notion of having a dateTimeUsec timestamp in the
header and 32-bit offsets from that for timestamps in flow groups?
Would that save enough space to be useful?

CHeers, Nevil

-----------------------------------------------------------------------
   Nevil Brownlee                   Director, Technology Development
   Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
   FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand


-------------------------------------------------
This mail sent through University of Auckland
http://www.auckland.ac.nz/




--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec  8 17:22:23 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA07238
	for <ipfix-archive@lists.ietf.org>; Mon, 8 Dec 2003 17:22:22 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATTZj-0005ad-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 08 Dec 2003 16:09:55 -0600
Received: from mailhost2.auckland.ac.nz ([130.216.1.4])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATTZi-0005a4-00
	for ipfix@net.doit.wisc.edu; Mon, 08 Dec 2003 16:09:54 -0600
Received: from mailhost.auckland.ac.nz (mailhost [130.216.191.61])
	by mailhost2.auckland.ac.nz (8.12.9/8.12.9/8.12.9-ua) with ESMTP id hB8M9pLQ011577;
	Tue, 9 Dec 2003 11:09:52 +1300 (NZDT)
Received: from localhost (mailhost.auckland.ac.nz [127.0.0.1])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP
	id 23AD933E7B; Tue,  9 Dec 2003 11:08:03 +1300 (NZDT)
Received: from mailhost.auckland.ac.nz ([127.0.0.1])
 by localhost (mailhost.auckland.ac.nz [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 08004-01; Tue,  9 Dec 2003 11:07:58 +1300 (NZDT)
Received: from motoko.itss.auckland.ac.nz (motoko.itss.auckland.ac.nz [130.216.191.146])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP
	id 07BDD33F5C; Tue,  9 Dec 2003 11:07:55 +1300 (NZDT)
Received: (from apache@localhost)
	by motoko.itss.auckland.ac.nz (8.11.6/8.11.6) id hB8M7Km03850;
	Tue, 9 Dec 2003 11:07:20 +1300
Received: from dyn42.caida.org (dyn42.caida.org [192.172.226.42]) by
	webmail.auckland.ac.nz (Horde) with HTTP for
	<jbro111@webmail.auckland.ac.nz>; Tue,  9 Dec 2003 11:07:20 +1300
Message-ID: <1070921240.a6939d48ea695@webmail.auckland.ac.nz>
Date: Tue,  9 Dec 2003 11:07:20 +1300
From: Nevil Brownlee <n.brownlee@auckland.ac.nz>
To: carter@qosient.com
Cc: ipfix@net.doit.wisc.edu
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
References: 	<5C8959A16A71B449AE793CF52FBBED6607A734@ptah.newyork.qosient.com>
In-Reply-To: 	<5C8959A16A71B449AE793CF52FBBED6607A734@ptah.newyork.qosient.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Originating-IP:  192.172.226.42
X-Virus-Scanned: by amavisd-new at mailhost.auckland.ac.nz
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>
Content-Transfer-Encoding: 7bit

Hello Carter:

>    This is an interesting question, as it assumes that
> all the records are coming from a single IPFIX data
> source.  What happens if IPFIX is transporting data
> from multiple sources as they are received, but the
> timestamps in the various records are not synchronized?

Sounds like a good reason not to do it.  
That would simply mean that timestamps in an IPFIX record would all 
be in whichever of the four encodings the meter was configured to 
send, right?

Cheers, Nevil

-----------------------------------------------------------------------
   Nevil Brownlee                   Director, Technology Development
   Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
   FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand


-------------------------------------------------
This mail sent through University of Auckland
http://www.auckland.ac.nz/

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec  8 18:09:15 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA10658
	for <ipfix-archive@lists.ietf.org>; Mon, 8 Dec 2003 18:09:14 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATUMP-00078j-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 08 Dec 2003 17:00:13 -0600
Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATUMO-00078U-00
	for ipfix@net.doit.wisc.edu; Mon, 08 Dec 2003 17:00:12 -0600
Received: from 207-237-36-98.c3-0.avec-ubr10.nyr-avec.ny.cable.rcn.com ([207.237.36.98] helo=osiris)
	by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4)
	id 1ATUMN-0005ze-00; Mon, 08 Dec 2003 18:00:11 -0500
Reply-To: <carter@qosient.com>
From: "Carter Bullard" <carter@qosient.com>
To: "'Nevil Brownlee'" <n.brownlee@auckland.ac.nz>
Cc: <ipfix@net.doit.wisc.edu>
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
Date: Mon, 8 Dec 2003 18:00:04 -0500
Organization: QoSient, LLC
Message-ID: <5C8959A16A71B449AE793CF52FBBED6607A735@ptah.newyork.qosient.com>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4510
Importance: Normal
In-Reply-To: <5C8959A16A71B449AE793CF52FBBED66253645@ptah.newyork.qosient.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

I would hope so.
Carter

-----Original Message-----
From: Nevil Brownlee [mailto:n.brownlee@auckland.ac.nz]
Sent: Monday, December 08, 2003 5:07 PM
To: carter@qosient.com
Cc: ipfix@net.doit.wisc.edu
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding


Hello Carter:

>    This is an interesting question, as it assumes that
> all the records are coming from a single IPFIX data
> source.  What happens if IPFIX is transporting data
> from multiple sources as they are received, but the
> timestamps in the various records are not synchronized?

Sounds like a good reason not to do it.
That would simply mean that timestamps in an IPFIX record would all
be in whichever of the four encodings the meter was configured to
send, right?

Cheers, Nevil

-----------------------------------------------------------------------
   Nevil Brownlee                   Director, Technology Development
   Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
   FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand


-------------------------------------------------
This mail sent through University of Auckland
http://www.auckland.ac.nz/




--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec  8 21:44:13 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA21615
	for <ipfix-archive@lists.ietf.org>; Mon, 8 Dec 2003 21:44:13 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATXWH-0004Vf-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 08 Dec 2003 20:22:37 -0600
Received: from palrel11.hp.com ([156.153.255.246])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATXWG-0004Va-00
	for ipfix@net.doit.wisc.edu; Mon, 08 Dec 2003 20:22:37 -0600
Received: from xparelay2.ptp.hp.com (xparelay2.ptp.hp.com [15.1.28.65])
	by palrel11.hp.com (Postfix) with ESMTP id 438701C01F93
	for <ipfix@net.doit.wisc.edu>; Mon,  8 Dec 2003 18:22:36 -0800 (PST)
Received: from xpabh3.ptp.hp.com (xpabh3.ptp.hp.com [15.1.28.63])
	by xparelay2.ptp.hp.com (Postfix) with ESMTP id 39AE01C00AD3
	for <ipfix@net.doit.wisc.edu>; Mon,  8 Dec 2003 18:22:36 -0800 (PST)
Received: by xpabh3.ptp.hp.com with Internet Mail Service (5.5.2657.72)
	id <Y3P1TCRF>; Mon, 8 Dec 2003 18:22:36 -0800
Message-ID: <1758A044D46A8A4CB320429F9462D6C248F7B4@xsun03.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Ipfix Wg' (E-mail)" <ipfix@net.doit.wisc.edu>
Subject: [ipfix] [issue] Information Model References in ipfix-protocol-01
Date: Mon, 8 Dec 2003 18:22:34 -0800 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C3BDFA.9E5F8B62"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3BDFA.9E5F8B62
Content-Type: text/plain;
	charset="iso-8859-1"

The current draft does not have pointers to the information model.
 
Proposed Text:
 
  In section 3 "Terminology" add the term:
 
    Information Model - IPFIX has a formal description of IPFIX information
elements (fields), their name, type and additional semantic information.  A
Flow Record is a collection of information elements defined in the
information model.  Templates identify information items by their Field Type
identifier.  The IPFIX Information Model is defined in [ipfix-info].
 
-- Jeff

------_=_NextPart_001_01C3BDFA.9E5F8B62
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1226" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=060362502-09122003>The current draft 
does not have pointers to the information model.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=060362502-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=060362502-09122003>Proposed 
Text:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=060362502-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=060362502-09122003>&nbsp; In section 3 
"Terminology" add the term:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=060362502-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=060362502-09122003>&nbsp;&nbsp;&nbsp; 
Information Model - IPFIX has a formal description of IPFIX information elements 
(fields), their name, type and additional semantic information.&nbsp; A Flow 
Record is a collection of information elements defined in the information 
model.&nbsp; Templates identify information items by their Field Type 
identifier.&nbsp; The IPFIX Information Model is defined in 
[ipfix-info].</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=060362502-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=060362502-09122003>-- 
Jeff</SPAN></FONT></DIV></BODY></HTML>

------_=_NextPart_001_01C3BDFA.9E5F8B62--

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec  8 21:50:33 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA21740
	for <ipfix-archive@lists.ietf.org>; Mon, 8 Dec 2003 21:50:33 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATXcw-0004kt-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 08 Dec 2003 20:29:30 -0600
Received: from atlrel6.hp.com ([156.153.255.205])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATXcv-0004kn-00
	for ipfix@net.doit.wisc.edu; Mon, 08 Dec 2003 20:29:29 -0600
Received: from xatlrelay1.atl.hp.com (xatlrelay1.atl.hp.com [15.45.89.190])
	by atlrel6.hp.com (Postfix) with ESMTP id 1F5EB1C01965
	for <ipfix@net.doit.wisc.edu>; Mon,  8 Dec 2003 21:29:29 -0500 (EST)
Received: from xatlbh2.atl.hp.com (xatlbh2.atl.hp.com [15.45.89.187])
	by xatlrelay1.atl.hp.com (Postfix) with ESMTP id 1955C1C0009B
	for <ipfix@net.doit.wisc.edu>; Mon,  8 Dec 2003 21:29:29 -0500 (EST)
Received: by xatlbh2.atl.hp.com with Internet Mail Service (5.5.2657.72)
	id <YMQTKM73>; Mon, 8 Dec 2003 21:29:28 -0500
Message-ID: <1758A044D46A8A4CB320429F9462D6C248F7B5@xsun03.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Ipfix Wg' (E-mail)" <ipfix@net.doit.wisc.edu>
Subject: [ipfix] [issue] need for MTU size in protocol-01
Date: Mon, 8 Dec 2003 21:29:25 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C3BDFC.43204A46"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3BDFC.43204A46
Content-Type: text/plain;
	charset="iso-8859-1"

Issue:  section 5.2.3.1 talks about concerns around IP fragmentation, but
these should not be issues unless UDP is used.  It may be recommended if *DP
is to be used, that MTU size SHOULD be considered.  But for SCTP and TCP,
this doesn't seem like a useful constraint.
 
Suggested wording:
 
   In situations where the underlying protocol may not directly address
messages greater than MTU size, such as UDP,
implementations MAY chose to restrict Export Packets to a size equal to or
less than the local MTU size.  In situations where multiple hops are taking
place, both SCTP and TCP automatically manage concerns around IP
fragmentation and since congestion aware protocols MUST be used, IP
fragmentation should not be an issue.
 
-- Jeff
http://www.inetpix.com/dare <http://www.inetpix.com/dare> 

------_=_NextPart_001_01C3BDFC.43204A46
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1226" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=834513002-09122003>Issue:&nbsp; section 
5.2.3.1 talks about concerns around IP fragmentation, but these should not be 
issues unless UDP is used.&nbsp; It may be recommended if *DP is to be used, 
that MTU size SHOULD be considered.&nbsp; But for SCTP and TCP, this doesn't 
seem like a useful constraint.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=834513002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=834513002-09122003>Suggested 
wording:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=834513002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=834513002-09122003>&nbsp;&nbsp; In 
situations where the underlying protocol may not directly address messages 
greater than MTU size, such as UDP,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=834513002-09122003>implementations MAY 
chose to restrict Export Packets to a size equal to or less than the local MTU 
size.&nbsp; In situations where multiple hops are taking place, both SCTP and 
TCP automatically manage concerns around IP fragmentation and since congestion 
aware protocols MUST be used, IP fragmentation should not be an 
issue.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=834513002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=834513002-09122003>-- 
Jeff</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=834513002-09122003><A 
href="http://www.inetpix.com/dare">http://www.inetpix.com/dare</A></SPAN></FONT></DIV></BODY></HTML>

------_=_NextPart_001_01C3BDFC.43204A46--

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec  8 22:54:24 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA24658
	for <ipfix-archive@lists.ietf.org>; Mon, 8 Dec 2003 22:54:23 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATYnu-0006nW-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 08 Dec 2003 21:44:54 -0600
Received: from palrel10.hp.com ([156.153.255.245])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATYnt-0006nQ-00
	for ipfix@net.doit.wisc.edu; Mon, 08 Dec 2003 21:44:53 -0600
Received: from xparelay2.ptp.hp.com (xparelay2.ptp.hp.com [15.1.28.65])
	by palrel10.hp.com (Postfix) with ESMTP id 6780A1C02ACB
	for <ipfix@net.doit.wisc.edu>; Mon,  8 Dec 2003 19:44:52 -0800 (PST)
Received: from xpabh2.ptp.hp.com (xpabh2.ptp.hp.com [15.1.28.61])
	by xparelay2.ptp.hp.com (Postfix) with ESMTP id 5A0781C000A7
	for <ipfix@net.doit.wisc.edu>; Mon,  8 Dec 2003 19:44:52 -0800 (PST)
Received: by xpabh2.ptp.hp.com with Internet Mail Service (5.5.2657.72)
	id <YQ0KY150>; Mon, 8 Dec 2003 19:44:52 -0800
Message-ID: <1758A044D46A8A4CB320429F9462D6C248F7B9@xsun03.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Ipfix Wg' (E-mail)" <ipfix@net.doit.wisc.edu>
Subject: [ipfix] [issue] templates vs. option templates
Date: Mon, 8 Dec 2003 19:44:47 -0800 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C3BE06.CA050F1A"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3BE06.CA050F1A
Content-Type: text/plain;
	charset="iso-8859-1"

Issue:  Collapse concept of templates vs. option templates to a single flag
in order to simplify protocol and be more consistent in terms of information
model usage.
 
See also:  http://ipfix.doit.wisc.edu/archive/2148.html
<http://ipfix.doit.wisc.edu/archive/2148.html> 
 
Proposal Overview:
 
proto-01 defines in section 8.2 a Template FlowSet.  Later in section 9.1 an
Options Template FlowSet is defined.  The semantic difference between the
two mechanisms is the concept of a template being for an "option" and the
concept of "scoping".
 
It is proposed that these two qualities be represented by a flag in the
protocol and appropriate annotation in the Information model respectively.
This enhanced consistency will make the discussion of the basic IPFIX
protocol simpler and the subsequent extension of its information model more
straightforward.
 
Specific Wording (proto-01):
 
(sec. 8.2):
 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |O|     FlowSet ID = 0          |          Length               | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |R|     Template ID 1           |         Field Count           | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |        Field Type 1           |         Field Length 1        | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |        Field Type 2           |         Field Length 2        | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |             ...               |              ...              | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |        Field Type N           |         Field Length N        | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |R|     Template ID 2           |         Field Count           | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
 
     ...
 
     O
       The "O" flag indicates if this set of templates describes options
information.  Options information are special FlowSet records which describe
metadata about the flow meter.  Options records have special "scoping"
information items which must be specified as the first set of fields.
 
    ...
 
    R 
      Template ID's are 15 bits long.  The high order bit is reserved to
distinguish Option templates from basic flow information templates.  See
also section 8.3.
 
 
 
(sec 8.2)
 
    0                   1                   2                   3 
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |O|  FlowSet ID = Template ID   |          Length               | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |   Record 1 - Field Value 1    |   Record 1 - Field Value 2    | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |   Record 1 - Field Value 3    |             ...               | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |   Record 2 - Field Value 1    |   Record 2 - Field Value 2    | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |   Record 2 - Field Value 3    |             ...               | 

 
     ...

     O
       The "O" flag indicates if this set of records contains options
information.  Options information are special FlowSet records which describe
metadata about the flow meter.  Options records have special "scoping"
information items which must be specified as the first set of fields in the
template message.  Logically there are two sets of template identifiers,
those for basic flow information and those for meta data (options).  See
also section 8.2.
 
 
(section 9)  Remove all.  Note that some details are transferred to the
Information Model described below.
 
 
 
Specific Wording (info-02)
 
Add section 7 "Flow Option Attributes"
 
7 Flow Attribute Options
 
In the process of metering and observation point, it may prove useful to
provide details not just about the individual metered flows, but also
details about the metering process itself or various aggregate counters
maintained by the meter.
 
Such values can allow for basic observation of system status, and coarser
grained information about the overall set of flows passing by the
observation point.
 
The following sections identify the various meta flow details which are
relevant as a separate information model.  Both models are extensible, but
it is assumed that each may have unique rates of extension and modification,
making their segregation useful.
 
Information items which have the identifier semantic should always appear at
the beginning of an option template decalaration.  These act to scope the
details presented. 
 
7.1 system
   Description:  describe details...
   Semantics:  identifier.
   Field Id: 1
 
7.2 interface
   Description:  describe details...
   Semantics:  identifier.
   Field Id: 2
 
7.3 lineCard
   Description:  describe details...
   Semantics:  identifier.
   Field Id: 4
 
7.4 cache
   Description:  describe details...
   Semantics:  identifier.
   Field Id: 4
 
7.5 template
   Description:  describe details...
   Semantics:  identifier.
   Field Id: 5
 
7.6 numFlows
   Description:  describe details...
   Semantics:  counter
   Field Id: 6
 
7.7 numPackets
   Description:  describe details...
   Semantics:  counter
   Field Id: 7
 
7.8 numBytes
   Description:  describe details...
   Semantics:  counter
   Field Id: 8

------_=_NextPart_001_01C3BE06.CA050F1A
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1226" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>Issue:&nbsp; 
Collapse concept of templates vs. option templates to a single flag in order to 
simplify protocol and be more consistent in terms of information model 
usage.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>See also:&nbsp; <A 
href="http://ipfix.doit.wisc.edu/archive/2148.html">http://ipfix.doit.wisc.edu/archive/2148.html</A></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>Proposal 
Overview:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>proto-01 defines in 
section 8.2 a Template FlowSet.&nbsp; Later in section 9.1 an Options Template 
FlowSet is defined.&nbsp; The semantic difference between the two mechanisms is 
the concept of a template being for an "option" and the concept of 
"scoping".</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>It is proposed that 
these two qualities be represented by a flag in the protocol&nbsp;and 
appropriate&nbsp;annotation in the Information model respectively.&nbsp; This 
enhanced consistency will make the discussion of the basic IPFIX protocol 
simpler and the subsequent extension of its information model more 
straightforward.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>Specific Wording 
(proto-01):</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>(sec. 
8.2):</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |O|&nbsp;&nbsp;&nbsp;&nbsp; FlowSet ID = 
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Length&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |R|&nbsp;&nbsp;&nbsp;&nbsp; Template ID 
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field 
Count&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 
<BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field Type 
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field Length 
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;<BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field Type 
2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field Length 
2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field Type 
N&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field Length 
N&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |R|&nbsp;&nbsp;&nbsp;&nbsp; Template ID 
2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field 
Count&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 
<BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=429585002-09122003><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp; ...</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=429585002-09122003><FONT 
face="Courier New"></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=429585002-09122003><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp; O</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=429585002-09122003><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The "O" flag indicates 
if this set of templates describes options information.&nbsp; Options 
information are special FlowSet records which describe metadata about the flow 
meter.&nbsp; Options records have special "scoping" information items which must 
be specified as the first set of fields.</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=429585002-09122003><FONT 
face="Courier New"></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=429585002-09122003><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp; ...</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=429585002-09122003><FONT 
face="Courier New"></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT><SPAN class=429585002-09122003><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp; R </FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=429585002-09122003><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Template ID's are 15 bits 
long.&nbsp; The high order bit is reserved to distinguish Option templates from 
basic flow information templates.&nbsp; See also section 
8.3.</FONT></SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003><FONT face=Arial 
size=2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003><FONT face=Arial 
size=2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003><FONT face=Arial 
size=2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003><FONT face=Arial 
size=2>(sec 8.2)</FONT></SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003><FONT face=Arial 
size=2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>&nbsp;&nbsp;&nbsp; 
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
3 <BR>&nbsp;&nbsp;&nbsp; 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 
8 9 0 1 <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |O|&nbsp; FlowSet ID = Template ID&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Length&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |&nbsp;&nbsp; Record 1 - Field Value 1&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp; Record 1 - Field Value 2&nbsp;&nbsp;&nbsp; | <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |&nbsp;&nbsp; Record 1 - Field Value 3&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |&nbsp;&nbsp; Record 2 - Field Value 1&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp; Record 2 - Field Value 2&nbsp;&nbsp;&nbsp; | <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |&nbsp;&nbsp; Record 2 - Field Value 3&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=429585002-09122003><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp; ...</FONT></SPAN></DIV>
<DIV><BR></DIV></SPAN></FONT>
<DIV><FONT><SPAN class=429585002-09122003>
<DIV><SPAN class=429585002-09122003><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp; O</FONT></SPAN></DIV>
<DIV><SPAN class=429585002-09122003><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The "O" flag indicates 
if this set of records contains&nbsp;options information.&nbsp; Options 
information are special FlowSet records which describe metadata about the flow 
meter.&nbsp; Options records have special "scoping" information items which must 
be specified as the first set of fields in the template message.&nbsp; Logically 
there are two sets of template identifiers, those for basic flow information and 
those for meta data (options).&nbsp; See also section 
8.2.</FONT></SPAN></DIV><FONT 
face="Courier New">&nbsp;</FONT></DIV></SPAN></FONT>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>(section 9)&nbsp; 
Remove all.&nbsp; Note that some details are transferred to the Information 
Model described below.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003><SPAN 
class=429585002-09122003>Specific Wording </SPAN>(info-02)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>Add section 7 "Flow 
Option Attributes"</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>7 Flow Attribute 
Options</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>In the process of 
metering and observation point, it may prove useful to provide details not just 
about the individual metered flows, but also details about the metering process 
itself or various aggregate counters maintained by the 
meter.</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>Such values can 
allow for basic observation of system status, and coarser grained information 
about the overall set of flows passing by the observation 
point.</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>The following 
sections identify the various meta flow details which are relevant as a separate 
information model.&nbsp; Both models are extensible, but it is assumed that each 
may have unique rates of extension and modification, making their segregation 
useful.</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>Information items 
which have the identifier semantic should always appear at the beginning of an 
option template decalaration.&nbsp; These act to scope the details 
presented.&nbsp;</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>7.1 
system</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>&nbsp;&nbsp; 
Description:&nbsp; describe details...</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN 
class=429585002-09122003>&nbsp;&nbsp;&nbsp;Semantics:&nbsp; 
identifier.</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>&nbsp;&nbsp; Field 
Id: 1</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>
<DIV><SPAN class=429585002-09122003>7.2 interface</SPAN></DIV>
<DIV><SPAN class=429585002-09122003>&nbsp;&nbsp; Description:&nbsp; describe 
details...</SPAN></DIV>
<DIV><SPAN class=429585002-09122003>&nbsp;&nbsp;&nbsp;Semantics:&nbsp; 
identifier.</SPAN></DIV>
<DIV><SPAN class=429585002-09122003>&nbsp;&nbsp; Field Id: 2</SPAN></DIV>
<DIV><SPAN class=429585002-09122003></SPAN>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>
<DIV><SPAN class=429585002-09122003>7.3 lineCard</SPAN></DIV>
<DIV><SPAN class=429585002-09122003>&nbsp;&nbsp; Description:&nbsp; describe 
details...</SPAN></DIV>
<DIV><SPAN class=429585002-09122003>&nbsp;&nbsp;&nbsp;Semantics:&nbsp; 
identifier.</SPAN></DIV>
<DIV><SPAN class=429585002-09122003>&nbsp;&nbsp; Field Id: 4</SPAN></DIV>
<DIV><SPAN class=429585002-09122003></SPAN>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>
<DIV><SPAN class=429585002-09122003>7.4 cache</SPAN></DIV>
<DIV><SPAN class=429585002-09122003>&nbsp;&nbsp; Description:&nbsp; describe 
details...</SPAN></DIV>
<DIV><SPAN class=429585002-09122003>&nbsp;&nbsp;&nbsp;Semantics:&nbsp; 
identifier.</SPAN></DIV>
<DIV><SPAN class=429585002-09122003>&nbsp;&nbsp; Field Id: 4</SPAN></DIV>
<DIV><SPAN class=429585002-09122003></SPAN>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>
<DIV><SPAN class=429585002-09122003>7.5 template</SPAN></DIV>
<DIV><SPAN class=429585002-09122003>&nbsp;&nbsp; Description:&nbsp; describe 
details...</SPAN></DIV>
<DIV><SPAN class=429585002-09122003>&nbsp;&nbsp;&nbsp;Semantics:&nbsp; 
identifier.</SPAN></DIV>
<DIV><SPAN class=429585002-09122003>&nbsp;&nbsp; Field Id: 5</SPAN></DIV>
<DIV><SPAN class=429585002-09122003></SPAN>&nbsp;</DIV>
<DIV><SPAN class=429585002-09122003>7.6 numFlows</SPAN></DIV>
<DIV><SPAN class=429585002-09122003>
<DIV><SPAN class=429585002-09122003>&nbsp;&nbsp; Description:&nbsp; describe 
details...</SPAN></DIV>
<DIV><SPAN class=429585002-09122003>&nbsp;&nbsp;&nbsp;Semantics:&nbsp; 
counter</SPAN></DIV>
<DIV><SPAN class=429585002-09122003>&nbsp;&nbsp; Field Id: 6</SPAN></DIV>
<DIV><SPAN class=429585002-09122003></SPAN>&nbsp;</DIV>7.7 
numPackets</SPAN></DIV><SPAN class=429585002-09122003><FONT face=Arial size=2>
<DIV><SPAN class=429585002-09122003><FONT face="Courier New" size=3>&nbsp;&nbsp; 
Description:&nbsp; describe details...</FONT></SPAN></DIV>
<DIV><SPAN class=429585002-09122003><FONT face="Courier New" 
size=3>&nbsp;&nbsp;&nbsp;Semantics:&nbsp; counter</FONT></SPAN></DIV>
<DIV><SPAN class=429585002-09122003><FONT face="Courier New" size=3>&nbsp;&nbsp; 
Field Id: 7</FONT></SPAN></DIV>
<DIV><SPAN class=429585002-09122003><FONT face="Courier New" 
size=3></FONT></SPAN>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=3>7.8 numBytes</FONT></DIV>
<DIV>
<DIV><SPAN class=429585002-09122003><FONT face="Courier New" size=3>&nbsp;&nbsp; 
Description:&nbsp; describe details...</FONT></SPAN></DIV>
<DIV><SPAN class=429585002-09122003><FONT face="Courier New" 
size=3>&nbsp;&nbsp;&nbsp;Semantics:&nbsp; counter</FONT></SPAN></DIV>
<DIV><SPAN class=429585002-09122003><FONT face="Courier New" size=3>&nbsp;&nbsp; 
Field Id: 
8</FONT></SPAN></DIV></FONT></SPAN></DIV></SPAN></FONT></DIV></SPAN></FONT></DIV></SPAN></FONT></DIV></SPAN></FONT></DIV></SPAN></FONT></DIV></BODY></HTML>

------_=_NextPart_001_01C3BE06.CA050F1A--

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec  8 22:54:47 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA24675
	for <ipfix-archive@lists.ietf.org>; Mon, 8 Dec 2003 22:54:46 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATYpy-0006pX-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 08 Dec 2003 21:47:02 -0600
Received: from atlrel7.hp.com ([156.153.255.213])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATYpx-0006pS-00
	for ipfix@net.doit.wisc.edu; Mon, 08 Dec 2003 21:47:01 -0600
Received: from xatlrelay1.atl.hp.com (xatlrelay1.atl.hp.com [15.45.89.190])
	by atlrel7.hp.com (Postfix) with ESMTP id 26E351C0045D
	for <ipfix@net.doit.wisc.edu>; Mon,  8 Dec 2003 22:47:01 -0500 (EST)
Received: from xatlbh4.atl.hp.com (xatlbh4.atl.hp.com [15.45.89.189])
	by xatlrelay1.atl.hp.com (Postfix) with ESMTP id 1FCBD1C000A7
	for <ipfix@net.doit.wisc.edu>; Mon,  8 Dec 2003 22:47:01 -0500 (EST)
Received: by xatlbh4.atl.hp.com with Internet Mail Service (5.5.2657.72)
	id <YKN6KK48>; Mon, 8 Dec 2003 22:47:00 -0500
Message-ID: <1758A044D46A8A4CB320429F9462D6C248F7BA@xsun03.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Ipfix Wg' (E-mail)" <ipfix@net.doit.wisc.edu>
Subject: [ipfix] [issue] templates vs. option templates
Date: Mon, 8 Dec 2003 22:46:58 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C3BE07.09146188"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3BE07.09146188
Content-Type: text/plain;
	charset="iso-8859-1"

Resending due to possible mailer issues:  -- Jeff
 
-----------------
 
Issue:  Collapse concept of templates vs. option templates to a single flag
in order to simplify protocol and be more consistent in terms of information
model usage.
 
See also:  http://ipfix.doit.wisc.edu/archive/2148.html
<http://ipfix.doit.wisc.edu/archive/2148.html> 
 
Proposal Overview:
 
proto-01 defines in section 8.2 a Template FlowSet.  Later in section 9.1 an
Options Template FlowSet is defined.  The semantic difference between the
two mechanisms is the concept of a template being for an "option" and the
concept of "scoping".
 
It is proposed that these two qualities be represented by a flag in the
protocol and appropriate annotation in the Information model respectively.
This enhanced consistency will make the discussion of the basic IPFIX
protocol simpler and the subsequent extension of its information model more
straight forward.
 
Specific Wording:
 
(sec. 8.2):
 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |O|     FlowSet ID = 0          |          Length               | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |R|     Template ID 1           |         Field Count           | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |        Field Type 1           |         Field Length 1        | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |        Field Type 2           |         Field Length 2        | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |             ...               |              ...              | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |        Field Type N           |         Field Length N        | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |R|     Template ID 2           |         Field Count           | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
 
     ...
 
     O
       The "O" flag indicates if this set of templates describes options
information.  Options information are special FlowSet records which describe
metadata about the flow meter.  Options records have special "scoping"
information items which must be specified as the first set of fields.
 
    ...
 
    R 
      Template ID's are 15 bits long.  The high order bit is reserved to
distinguish Option templates from basic flow information templates.  See
also section 8.3.
 
 
 
(sec 8.2)
 
    0                   1                   2                   3 
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |O|  FlowSet ID = Template ID   |          Length               | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |   Record 1 - Field Value 1    |   Record 1 - Field Value 2    | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |   Record 1 - Field Value 3    |             ...               | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |   Record 2 - Field Value 1    |   Record 2 - Field Value 2    | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
   |   Record 2 - Field Value 3    |             ...               | 

 
     ...

     O
       The "O" flag indicates if this set of records contains options
information.  Options information are special FlowSet records which describe
metadata about the flow meter.  Options records have special "scoping"
information items which must be specified as the first set of fields in the
template message.  Logically there are two sets of template identifiers,
those for basic flow information and those for meta data (options).  See
also section 8.2.
 
 
(section 9)  Remove all.  Note that some details are transferred to the
Information Model described below.
 
 
 
Information Model (-02)
 
Add section 7 "Flow Option Attributes"
 
7.1 System
   Description:
   Field Id: 1

------_=_NextPart_001_01C3BE07.09146188
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1226" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003><SPAN 
class=119295403-09122003>Resending due to possible mailer issues:&nbsp; -- 
Jeff</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003><SPAN 
class=119295403-09122003></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003><SPAN 
class=119295403-09122003>-----------------</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>Issue:&nbsp; 
Collapse concept of templates vs. option templates to a single flag in order to 
simplify protocol and be more consistent in terms of information model 
usage.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>See also:&nbsp; <A 
href="http://ipfix.doit.wisc.edu/archive/2148.html">http://ipfix.doit.wisc.edu/archive/2148.html</A></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>Proposal 
Overview:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>proto-01 defines in 
section 8.2 a Template FlowSet.&nbsp; Later in section 9.1 an Options Template 
FlowSet is defined.&nbsp; The semantic difference between the two mechanisms is 
the concept of a template being for an "option" and the concept of 
"scoping".</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>It is proposed that 
these two qualities be represented by a flag in the protocol&nbsp;and 
appropriate&nbsp;annotation in the Information model respectively.&nbsp; This 
enhanced consistency will make the discussion of the basic IPFIX protocol 
simpler and the subsequent extension of its information model more straight 
forward.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>Specific 
Wording:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>(sec. 
8.2):</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |O|&nbsp;&nbsp;&nbsp;&nbsp; FlowSet ID = 
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Length&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |R|&nbsp;&nbsp;&nbsp;&nbsp; Template ID 
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field 
Count&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 
<BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field Type 
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field Length 
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;<BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field Type 
2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field Length 
2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field Type 
N&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field Length 
N&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |R|&nbsp;&nbsp;&nbsp;&nbsp; Template ID 
2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Field 
Count&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 
<BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=+0><SPAN class=429585002-09122003><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp; ...</FONT></SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=429585002-09122003><FONT 
face="Courier New"></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=+0><SPAN class=429585002-09122003><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp; O</FONT></SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=429585002-09122003><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The "O" flag indicates 
if this set of templates describes options information.&nbsp; Options 
information are special FlowSet records which describe metadata about the flow 
meter.&nbsp; Options records have special "scoping" information items which must 
be specified as the first set of fields.</FONT></SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=429585002-09122003><FONT 
face="Courier New"></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=+0><SPAN class=429585002-09122003><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp; ...</FONT></SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=429585002-09122003><FONT 
face="Courier New"></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=+0><SPAN class=429585002-09122003><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp; R </FONT></SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=429585002-09122003><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Template ID's are 15 bits 
long.&nbsp; The high order bit is reserved to distinguish Option templates from 
basic flow information templates.&nbsp; See also section 
8.3.</FONT></SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003><FONT face=Arial 
size=2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003><FONT face=Arial 
size=2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003><FONT face=Arial 
size=2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003><FONT face=Arial 
size=2>(sec 8.2)</FONT></SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003><FONT face=Arial 
size=2></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>&nbsp;&nbsp;&nbsp; 
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
3 <BR>&nbsp;&nbsp;&nbsp; 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 
8 9 0 1 <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |O|&nbsp; FlowSet ID = Template ID&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Length&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |&nbsp;&nbsp; Record 1 - Field Value 1&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp; Record 1 - Field Value 2&nbsp;&nbsp;&nbsp; | <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |&nbsp;&nbsp; Record 1 - Field Value 3&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |&nbsp;&nbsp; Record 2 - Field Value 1&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp; Record 2 - Field Value 2&nbsp;&nbsp;&nbsp; | <BR>&nbsp;&nbsp; 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
<BR>&nbsp;&nbsp; |&nbsp;&nbsp; Record 2 - Field Value 3&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| <BR></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=429585002-09122003><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp; ...</FONT></SPAN></DIV>
<DIV><BR></DIV></SPAN></FONT>
<DIV><FONT size=+0><SPAN class=429585002-09122003>
<DIV><SPAN class=429585002-09122003><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp; O</FONT></SPAN></DIV>
<DIV><SPAN class=429585002-09122003><FONT 
face="Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The "O" flag indicates 
if this set of records contains&nbsp;options information.&nbsp; Options 
information are special FlowSet records which describe metadata about the flow 
meter.&nbsp; Options records have special "scoping" information items which must 
be specified as the first set of fields in the template message.&nbsp; Logically 
there are two sets of template identifiers, those for basic flow information and 
those for meta data (options).&nbsp; See also section 
8.2.</FONT></SPAN></DIV><FONT 
face="Courier New">&nbsp;</FONT></DIV></SPAN></FONT>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>(section 9)&nbsp; 
Remove all.&nbsp; Note that some details are transferred to the Information 
Model described below.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>Information Model 
(-02)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=429585002-09122003>Add section 7 "Flow 
Option Attributes"</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=429585002-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>7.1 
System</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>&nbsp;&nbsp; 
Description:</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN class=429585002-09122003>&nbsp;&nbsp; Field 
Id: 1</SPAN></FONT></DIV></BODY></HTML>

------_=_NextPart_001_01C3BE07.09146188--

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec  8 23:06:35 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA25603
	for <ipfix-archive@lists.ietf.org>; Mon, 8 Dec 2003 23:06:35 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATZ0H-0006zV-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 08 Dec 2003 21:57:41 -0600
Received: from atlrel6.hp.com ([156.153.255.205])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATZ0G-0006zG-00
	for ipfix@net.doit.wisc.edu; Mon, 08 Dec 2003 21:57:40 -0600
Received: from xatlrelay1.atl.hp.com (xatlrelay1.atl.hp.com [15.45.89.190])
	by atlrel6.hp.com (Postfix) with ESMTP id E80D11C02ADD
	for <ipfix@net.doit.wisc.edu>; Mon,  8 Dec 2003 22:57:37 -0500 (EST)
Received: from xatlbh1.atl.hp.com (xatlbh1.atl.hp.com [15.45.89.186])
	by xatlrelay1.atl.hp.com (Postfix) with ESMTP id E12371C000A2
	for <ipfix@net.doit.wisc.edu>; Mon,  8 Dec 2003 22:57:37 -0500 (EST)
Received: by xatlbh1.atl.hp.com with Internet Mail Service (5.5.2657.72)
	id <YM2P3B3C>; Mon, 8 Dec 2003 22:57:37 -0500
Message-ID: <1758A044D46A8A4CB320429F9462D6C248F7BB@xsun03.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Ipfix Wg' (E-mail)" <ipfix@net.doit.wisc.edu>
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
Date: Mon, 8 Dec 2003 22:57:32 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Resending to full mail list...

-- Jeff

-----Original Message-----
From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
Sent: Monday, December 08, 2003 3:53 PM
To: 'Nevil Brownlee'
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding


Hi,

  Here's a proposal for encoding:

   - dateTime -> 32-bit integer seconds since 1970
   - dateTimeMsec -> 64-bit integer msec since 1970 (Java format)
   - dateTimeUsec -> split 32-bit integer seconds since 1970 carried in 
                   IPFIX flow header and 32-bit integer count of (signed)
                   microseconds offset from the header.  **This would
                   imply that all events for a flow set using this
optimization 
                   would need to occur w/in about 2000 seconds before or
                   after the sentinel time in the header. [+/- 2000 seconds
                   is +/-2,000,000,000 usecs, around the signed int32 limit]
   - dateTimeNsec -> 64-bit time in NTP format with 32-bits of seconds since
                   1900 (NOT 1970!) and 32-bit fraction of a second
component.
                   Both values occur in the flow record.

 
  Note a separate issue is what type should the basic flowCreationTime
and flowEndTime information elements should have?  Currently Info-02 has
them
as dateTime, but should probably be dateTimeMsec to reflect current
information
content of deployed netflow, or perhaps dateTimeUsec, if folks prefer to
only use 32-bits to achieve some size reduction when passing many
timestamps.

  My preference would be dateTimeMsec.

-- Jeff

> -----Original Message-----
> From: majordomo listserver 
> [mailto:majordomo@mil.doit.wisc.edu]On Behalf
> Of Nevil Brownlee
> Sent: Monday, December 08, 2003 2:07 PM
> To: carter@qosient.com
> Cc: ipfix@net.doit.wisc.edu
> Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
> 
> 
> Hello Carter:
> 
> >    This is an interesting question, as it assumes that
> > all the records are coming from a single IPFIX data
> > source.  What happens if IPFIX is transporting data
> > from multiple sources as they are received, but the
> > timestamps in the various records are not synchronized?
> 
> Sounds like a good reason not to do it.  
> That would simply mean that timestamps in an IPFIX record would all 
> be in whichever of the four encodings the meter was configured to 
> send, right?
> 
> Cheers, Nevil
> 
> --------------------------------------------------------------
> ---------
>    Nevil Brownlee                   Director, Technology Development
>    Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
>    FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand
> 
> 
> -------------------------------------------------
> This mail sent through University of Auckland
> http://www.auckland.ac.nz/
> 
> --
> Help        mailto:majordomo@net.doit.wisc.edu and say "help" 
> in message body
> Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> "unsubscribe ipfix" in message body
> Archive     http://ipfix.doit.wisc.edu/archive/
> 

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 00:45:29 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA28686
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 00:45:29 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATaYa-000289-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 08 Dec 2003 23:37:12 -0600
Received: from sv1.eng.oar.net ([192.148.251.86])
	by mil.doit.wisc.edu with smtp (Exim 3.13 #1)
	id 1ATaYZ-000283-00
	for ipfix@net.doit.wisc.edu; Mon, 08 Dec 2003 23:37:11 -0600
Received: (qmail 19240 invoked from network); 9 Dec 2003 05:37:11 -0000
Received: from dev1.eng.oar.net (192.148.251.71)
  by sv1.eng.oar.net with SMTP; 9 Dec 2003 05:37:11 -0000
Received: (qmail 20917 invoked by uid 4454); 9 Dec 2003 05:37:10 -0000
Date: Tue, 9 Dec 2003 00:37:10 -0500
From: Mark Fullmer <maf@eng.oar.net>
To: Nevil Brownlee <n.brownlee@auckland.ac.nz>
Cc: "MEYER,JEFFREY D \(HP-Cupertino,ex1\)" <jeff.meyer2@hp.com>,
        ipfix@net.doit.wisc.edu
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
Message-ID: <20031209003710.A20811@net.ohio-state.edu>
References: <1758A044D46A8A4CB320429F9462D6C248F782@xsun03.ptp.hp.com> <1070858183.fa4a0a2cfe225@webmail.auckland.ac.nz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <1070858183.fa4a0a2cfe225@webmail.auckland.ac.nz>; from n.brownlee@auckland.ac.nz on Mon, Dec 08, 2003 at 05:36:23PM +1300
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

On Mon, Dec 08, 2003 at 05:36:23PM +1300, Nevil Brownlee wrote:
> 
> I can see that it would save space to do this.  Would it be enough to
> have a dateTime (seconds) in the header, then 32-bit ms offsets from that
> in the flow groups?

That's an interesting twist on the Netflow implementation.  You don't
need to deal with rollovers anymore this way.

mark

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 00:45:42 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA28701
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 00:45:42 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATaSl-000231-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 08 Dec 2003 23:31:11 -0600
Received: from sv1.eng.oar.net ([192.148.251.86])
	by mil.doit.wisc.edu with smtp (Exim 3.13 #1)
	id 1ATaSl-00022w-00
	for ipfix@net.doit.wisc.edu; Mon, 08 Dec 2003 23:31:11 -0600
Received: (qmail 19203 invoked from network); 9 Dec 2003 05:31:10 -0000
Received: from dev1.eng.oar.net (192.148.251.71)
  by sv1.eng.oar.net with SMTP; 9 Dec 2003 05:31:10 -0000
Received: (qmail 20872 invoked by uid 4454); 9 Dec 2003 05:31:10 -0000
Date: Tue, 9 Dec 2003 00:31:10 -0500
From: Mark Fullmer <maf@eng.oar.net>
To: "MEYER,JEFFREY D \(HP-Cupertino,ex1\)" <jeff.meyer2@hp.com>
Cc: "'Ipfix Wg' \(E-mail\)" <ipfix@net.doit.wisc.edu>
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
Message-ID: <20031209003110.A20537@net.ohio-state.edu>
References: <1758A044D46A8A4CB320429F9462D6C248F7BB@xsun03.ptp.hp.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <1758A044D46A8A4CB320429F9462D6C248F7BB@xsun03.ptp.hp.com>; from jeff.meyer2@hp.com on Mon, Dec 08, 2003 at 10:57:32PM -0500
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Do we really need four ways to represent time?  How about one 32 bit
format and one 64 bit format?

The existing NetFlow 32 bit msec Start/End time stamps + header
real time offset gives you msec real time resolution.  Implementations
that can not support / don't need msec resolution can just leave the low
order bits 0.  So this covers dateTime and dateTimeMsec with one 32
bit encoding.

64 bit NTP format format with nanosecond resolution covers microsecond
resolution implementations.  Again, implementations that want microsecond
just leave the low order fractional bits 0.


mark

On Mon, Dec 08, 2003 at 10:57:32PM -0500, MEYER,JEFFREY D (HP-Cupertino,ex1) wrote:
> Resending to full mail list...
> 
> -- Jeff
> 
> -----Original Message-----
> From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
> Sent: Monday, December 08, 2003 3:53 PM
> To: 'Nevil Brownlee'
> Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
> 
> 
> Hi,
> 
>   Here's a proposal for encoding:
> 
>    - dateTime -> 32-bit integer seconds since 1970
>    - dateTimeMsec -> 64-bit integer msec since 1970 (Java format)
>    - dateTimeUsec -> split 32-bit integer seconds since 1970 carried in 
>                    IPFIX flow header and 32-bit integer count of (signed)
>                    microseconds offset from the header.  **This would
>                    imply that all events for a flow set using this
> optimization 
>                    would need to occur w/in about 2000 seconds before or
>                    after the sentinel time in the header. [+/- 2000 seconds
>                    is +/-2,000,000,000 usecs, around the signed int32 limit]
>    - dateTimeNsec -> 64-bit time in NTP format with 32-bits of seconds since
>                    1900 (NOT 1970!) and 32-bit fraction of a second
> component.
>                    Both values occur in the flow record.
> 
>  
>   Note a separate issue is what type should the basic flowCreationTime
> and flowEndTime information elements should have?  Currently Info-02 has
> them
> as dateTime, but should probably be dateTimeMsec to reflect current
> information
> content of deployed netflow, or perhaps dateTimeUsec, if folks prefer to
> only use 32-bits to achieve some size reduction when passing many
> timestamps.
> 
>   My preference would be dateTimeMsec.
> 
> -- Jeff
> 
> > -----Original Message-----
> > From: majordomo listserver 
> > [mailto:majordomo@mil.doit.wisc.edu]On Behalf
> > Of Nevil Brownlee
> > Sent: Monday, December 08, 2003 2:07 PM
> > To: carter@qosient.com
> > Cc: ipfix@net.doit.wisc.edu
> > Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
> > 
> > 
> > Hello Carter:
> > 
> > >    This is an interesting question, as it assumes that
> > > all the records are coming from a single IPFIX data
> > > source.  What happens if IPFIX is transporting data
> > > from multiple sources as they are received, but the
> > > timestamps in the various records are not synchronized?
> > 
> > Sounds like a good reason not to do it.  
> > That would simply mean that timestamps in an IPFIX record would all 
> > be in whichever of the four encodings the meter was configured to 
> > send, right?
> > 
> > Cheers, Nevil
> > 
> > --------------------------------------------------------------
> > ---------
> >    Nevil Brownlee                   Director, Technology Development
> >    Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
> >    FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand
> > 
> > 
> > -------------------------------------------------
> > This mail sent through University of Auckland
> > http://www.auckland.ac.nz/
> > 
> > --
> > Help        mailto:majordomo@net.doit.wisc.edu and say "help" 
> > in message body
> > Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> > "unsubscribe ipfix" in message body
> > Archive     http://ipfix.doit.wisc.edu/archive/
> > 
> 
> --
> Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
> Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> "unsubscribe ipfix" in message body
> Archive     http://ipfix.doit.wisc.edu/archive/

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 00:57:06 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA28985
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 00:57:06 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATajV-0002SG-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 08 Dec 2003 23:48:29 -0600
Received: from atlrel8.hp.com ([156.153.255.206])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATajU-0002SA-00
	for ipfix@net.doit.wisc.edu; Mon, 08 Dec 2003 23:48:28 -0600
Received: from xatlrelay2.atl.hp.com (xatlrelay2.atl.hp.com [15.45.89.191])
	by atlrel8.hp.com (Postfix) with ESMTP
	id 513EE1C00AE6; Tue,  9 Dec 2003 00:48:28 -0500 (EST)
Received: from xatlbh2.atl.hp.com (xatlbh2.atl.hp.com [15.45.89.187])
	by xatlrelay2.atl.hp.com (Postfix) with ESMTP
	id 4BAAB1C000BE; Tue,  9 Dec 2003 00:48:28 -0500 (EST)
Received: by xatlbh2.atl.hp.com with Internet Mail Service (5.5.2657.72)
	id <YMQTK55N>; Tue, 9 Dec 2003 00:48:28 -0500
Message-ID: <1758A044D46A8A4CB320429F9462D6C248F7C0@xsun03.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Mark Fullmer'" <maf@eng.oar.net>,
        "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
Cc: "'Ipfix Wg' (E-mail)" <ipfix@net.doit.wisc.edu>
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
Date: Tue, 9 Dec 2003 00:48:24 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Mark,

  I see two different concerns in this disucssion.  One is information
modeling
and the other is encoding mechanisms.

  Your suggestion, which sounds plausible to me, is to only define two
encoding
models for IPFIX.  The first model, which is "split time" encoded requires a
32-bit
header and a 32-bit msec offset value.  The second encoding model is also
"split
time" in that the 32-bit header is seconds, but now seconds since 1900 (not
1970)
and the offset is NTP style fractional component (i.e. n/2**-32, where n is
the 
encoded 32-bit unsigned value).

  If this were the case, than IPFIX information models should likely only
care
about information elements which are dateTimeMsec and dateTimeNsec.  Other
transfer
formats or protocols may identify timestamps with different reolutions, but
there is 
a clear model for transforming from one type to the other.

  Given my preference for simplicity, I would support this proposal:

    - dateTimeMsec -> split 32-bit integer seconds since 1970 carried in 
                    IPFIX flow header and 32-bit integer count of (signed)
                    microseconds offset from the header.  **This would
                    imply that all events for a flow set using this
optimization 
                    would need to occur w/in about 2000 seconds before or
                    after the sentinel time in the header. [+/- 2000 seconds
                    is +/-2,000,000,000 usecs, around the signed int32
limit]

    - dateTimeNsec -> split 32-bit time in NTP format with 32-bits of
seconds 
                     since 1900 (NOT 1970!) stored in the IPFIX header.  And
32-bit 
                     fraction of a second (n*2**-32) component.  This
implies
                     that all timestamps must fall begin with the same
second
                     offset in a flow set.


-- Jeff

-----Original Message-----
From: Mark Fullmer [mailto:maf@eng.oar.net]
Sent: Monday, December 08, 2003 9:31 PM
To: MEYER,JEFFREY D (HP-Cupertino,ex1)
Cc: 'Ipfix Wg' (E-mail)
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding


Do we really need four ways to represent time?  How about one 32 bit
format and one 64 bit format?

The existing NetFlow 32 bit msec Start/End time stamps + header
real time offset gives you msec real time resolution.  Implementations
that can not support / don't need msec resolution can just leave the low
order bits 0.  So this covers dateTime and dateTimeMsec with one 32
bit encoding.

64 bit NTP format format with nanosecond resolution covers microsecond
resolution implementations.  Again, implementations that want microsecond
just leave the low order fractional bits 0.


mark

On Mon, Dec 08, 2003 at 10:57:32PM -0500, MEYER,JEFFREY D (HP-Cupertino,ex1)
wrote:
> Resending to full mail list...
> 
> -- Jeff
> 
> -----Original Message-----
> From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
> Sent: Monday, December 08, 2003 3:53 PM
> To: 'Nevil Brownlee'
> Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
> 
> 
> Hi,
> 
>   Here's a proposal for encoding:
> 
>    - dateTime -> 32-bit integer seconds since 1970
>    - dateTimeMsec -> 64-bit integer msec since 1970 (Java format)
>    - dateTimeUsec -> split 32-bit integer seconds since 1970 carried in 
>                    IPFIX flow header and 32-bit integer count of (signed)
>                    microseconds offset from the header.  **This would
>                    imply that all events for a flow set using this
> optimization 
>                    would need to occur w/in about 2000 seconds before or
>                    after the sentinel time in the header. [+/- 2000
seconds
>                    is +/-2,000,000,000 usecs, around the signed int32
limit]
>    - dateTimeNsec -> 64-bit time in NTP format with 32-bits of seconds
since
>                    1900 (NOT 1970!) and 32-bit fraction of a second
> component.
>                    Both values occur in the flow record.
> 
>  
>   Note a separate issue is what type should the basic flowCreationTime
> and flowEndTime information elements should have?  Currently Info-02 has
> them
> as dateTime, but should probably be dateTimeMsec to reflect current
> information
> content of deployed netflow, or perhaps dateTimeUsec, if folks prefer to
> only use 32-bits to achieve some size reduction when passing many
> timestamps.
> 
>   My preference would be dateTimeMsec.
> 
> -- Jeff
> 
> > -----Original Message-----
> > From: majordomo listserver 
> > [mailto:majordomo@mil.doit.wisc.edu]On Behalf
> > Of Nevil Brownlee
> > Sent: Monday, December 08, 2003 2:07 PM
> > To: carter@qosient.com
> > Cc: ipfix@net.doit.wisc.edu
> > Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
> > 
> > 
> > Hello Carter:
> > 
> > >    This is an interesting question, as it assumes that
> > > all the records are coming from a single IPFIX data
> > > source.  What happens if IPFIX is transporting data
> > > from multiple sources as they are received, but the
> > > timestamps in the various records are not synchronized?
> > 
> > Sounds like a good reason not to do it.  
> > That would simply mean that timestamps in an IPFIX record would all 
> > be in whichever of the four encodings the meter was configured to 
> > send, right?
> > 
> > Cheers, Nevil
> > 
> > --------------------------------------------------------------
> > ---------
> >    Nevil Brownlee                   Director, Technology Development
> >    Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
> >    FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand
> > 
> > 
> > -------------------------------------------------
> > This mail sent through University of Auckland
> > http://www.auckland.ac.nz/
> > 
> > --
> > Help        mailto:majordomo@net.doit.wisc.edu and say "help" 
> > in message body
> > Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> > "unsubscribe ipfix" in message body
> > Archive     http://ipfix.doit.wisc.edu/archive/
> > 
> 
> --
> Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message
body
> Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> "unsubscribe ipfix" in message body
> Archive     http://ipfix.doit.wisc.edu/archive/

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 01:06:13 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA29170
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 01:06:13 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATas2-0002cg-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 08 Dec 2003 23:57:18 -0600
Received: from palrel13.hp.com ([156.153.255.238])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATas1-0002ca-00
	for ipfix@net.doit.wisc.edu; Mon, 08 Dec 2003 23:57:17 -0600
Received: from xparelay1.ptp.hp.com (xparelay1.ptp.hp.com [15.1.28.62])
	by palrel13.hp.com (Postfix) with ESMTP
	id 584E51C00151; Mon,  8 Dec 2003 21:57:16 -0800 (PST)
Received: from xpabh3.ptp.hp.com (xpabh3.ptp.hp.com [15.1.28.63])
	by xparelay1.ptp.hp.com (Postfix) with ESMTP
	id 4D0F31004B93; Mon,  8 Dec 2003 21:57:16 -0800 (PST)
Received: by xpabh3.ptp.hp.com with Internet Mail Service (5.5.2657.72)
	id <Y3P1TRCY>; Mon, 8 Dec 2003 21:57:16 -0800
Message-ID: <1758A044D46A8A4CB320429F9462D6C248F7C1@xsun03.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>,
        "'Mark Fullmer'" <maf@eng.oar.net>
Cc: "''Ipfix Wg' (E-mail)'" <ipfix@net.doit.wisc.edu>
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
Date: Mon, 8 Dec 2003 21:57:14 -0800 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Mark,

  A correction on my previous e-mail.  In rereading your suggestion I think
you are recommending the following encoding model and information set
restriction:

    - dateTimeMsec -> split 32-bit integer seconds since 1970 carried in 
                    IPFIX flow header and 32-bit integer count of (signed)
                    microseconds offset from the header.  **This would
                    imply that all events for a flow set using this
optimization 
                    would need to occur w/in about 2000 seconds before or
                    after the sentinel time in the header. [+/- 2000 seconds
                    is +/-2,000,000,000 usecs, around the signed int32
limit]

    - dateTimeNsec -> 64-bit time in NTP format with 32-bits of seconds
since
                    1900 (NOT 1970!) and 32-bit fraction of a second
component.
                    Both values occur in the flow record.


  i.e. the second high res format is fully encoded in the individual flow
record
and is not dependent on some timestamp in the flow header.

-- Jeff

-----Original Message-----
From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
Sent: Monday, December 08, 2003 9:48 PM
To: 'Mark Fullmer'; MEYER,JEFFREY D (HP-Cupertino,ex1)
Cc: 'Ipfix Wg' (E-mail)
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding


Mark,

  I see two different concerns in this disucssion.  One is information
modeling
and the other is encoding mechanisms.

  Your suggestion, which sounds plausible to me, is to only define two
encoding
models for IPFIX.  The first model, which is "split time" encoded requires a
32-bit
header and a 32-bit msec offset value.  The second encoding model is also
"split
time" in that the 32-bit header is seconds, but now seconds since 1900 (not
1970)
and the offset is NTP style fractional component (i.e. n/2**-32, where n is
the 
encoded 32-bit unsigned value).

  If this were the case, than IPFIX information models should likely only
care
about information elements which are dateTimeMsec and dateTimeNsec.  Other
transfer
formats or protocols may identify timestamps with different reolutions, but
there is 
a clear model for transforming from one type to the other.

  Given my preference for simplicity, I would support this proposal:

    - dateTimeMsec -> split 32-bit integer seconds since 1970 carried in 
                    IPFIX flow header and 32-bit integer count of (signed)
                    microseconds offset from the header.  **This would
                    imply that all events for a flow set using this
optimization 
                    would need to occur w/in about 2000 seconds before or
                    after the sentinel time in the header. [+/- 2000 seconds
                    is +/-2,000,000,000 usecs, around the signed int32
limit]

    - dateTimeNsec -> split 32-bit time in NTP format with 32-bits of
seconds 
                     since 1900 (NOT 1970!) stored in the IPFIX header.  And
32-bit 
                     fraction of a second (n*2**-32) component.  This
implies
                     that all timestamps must fall begin with the same
second
                     offset in a flow set.


-- Jeff

-----Original Message-----
From: Mark Fullmer [mailto:maf@eng.oar.net]
Sent: Monday, December 08, 2003 9:31 PM
To: MEYER,JEFFREY D (HP-Cupertino,ex1)
Cc: 'Ipfix Wg' (E-mail)
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding


Do we really need four ways to represent time?  How about one 32 bit
format and one 64 bit format?

The existing NetFlow 32 bit msec Start/End time stamps + header
real time offset gives you msec real time resolution.  Implementations
that can not support / don't need msec resolution can just leave the low
order bits 0.  So this covers dateTime and dateTimeMsec with one 32
bit encoding.

64 bit NTP format format with nanosecond resolution covers microsecond
resolution implementations.  Again, implementations that want microsecond
just leave the low order fractional bits 0.


mark

On Mon, Dec 08, 2003 at 10:57:32PM -0500, MEYER,JEFFREY D (HP-Cupertino,ex1)
wrote:
> Resending to full mail list...
> 
> -- Jeff
> 
> -----Original Message-----
> From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
> Sent: Monday, December 08, 2003 3:53 PM
> To: 'Nevil Brownlee'
> Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
> 
> 
> Hi,
> 
>   Here's a proposal for encoding:
> 
>    - dateTime -> 32-bit integer seconds since 1970
>    - dateTimeMsec -> 64-bit integer msec since 1970 (Java format)
>    - dateTimeUsec -> split 32-bit integer seconds since 1970 carried in 
>                    IPFIX flow header and 32-bit integer count of (signed)
>                    microseconds offset from the header.  **This would
>                    imply that all events for a flow set using this
> optimization 
>                    would need to occur w/in about 2000 seconds before or
>                    after the sentinel time in the header. [+/- 2000
seconds
>                    is +/-2,000,000,000 usecs, around the signed int32
limit]
>    - dateTimeNsec -> 64-bit time in NTP format with 32-bits of seconds
since
>                    1900 (NOT 1970!) and 32-bit fraction of a second
> component.
>                    Both values occur in the flow record.
> 
>  
>   Note a separate issue is what type should the basic flowCreationTime
> and flowEndTime information elements should have?  Currently Info-02 has
> them
> as dateTime, but should probably be dateTimeMsec to reflect current
> information
> content of deployed netflow, or perhaps dateTimeUsec, if folks prefer to
> only use 32-bits to achieve some size reduction when passing many
> timestamps.
> 
>   My preference would be dateTimeMsec.
> 
> -- Jeff
> 
> > -----Original Message-----
> > From: majordomo listserver 
> > [mailto:majordomo@mil.doit.wisc.edu]On Behalf
> > Of Nevil Brownlee
> > Sent: Monday, December 08, 2003 2:07 PM
> > To: carter@qosient.com
> > Cc: ipfix@net.doit.wisc.edu
> > Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
> > 
> > 
> > Hello Carter:
> > 
> > >    This is an interesting question, as it assumes that
> > > all the records are coming from a single IPFIX data
> > > source.  What happens if IPFIX is transporting data
> > > from multiple sources as they are received, but the
> > > timestamps in the various records are not synchronized?
> > 
> > Sounds like a good reason not to do it.  
> > That would simply mean that timestamps in an IPFIX record would all 
> > be in whichever of the four encodings the meter was configured to 
> > send, right?
> > 
> > Cheers, Nevil
> > 
> > --------------------------------------------------------------
> > ---------
> >    Nevil Brownlee                   Director, Technology Development
> >    Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
> >    FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand
> > 
> > 
> > -------------------------------------------------
> > This mail sent through University of Auckland
> > http://www.auckland.ac.nz/
> > 
> > --
> > Help        mailto:majordomo@net.doit.wisc.edu and say "help" 
> > in message body
> > Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> > "unsubscribe ipfix" in message body
> > Archive     http://ipfix.doit.wisc.edu/archive/
> > 
> 
> --
> Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message
body
> Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> "unsubscribe ipfix" in message body
> Archive     http://ipfix.doit.wisc.edu/archive/

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 01:12:57 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA29303
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 01:12:57 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATazM-0002sA-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 00:04:52 -0600
Received: from palrel10.hp.com ([156.153.255.245])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATazK-0002s1-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 00:04:51 -0600
Received: from xparelay1.ptp.hp.com (xparelay1.ptp.hp.com [15.1.28.62])
	by palrel10.hp.com (Postfix) with ESMTP
	id 5BCE31C02F74; Mon,  8 Dec 2003 22:04:50 -0800 (PST)
Received: from xpabh3.ptp.hp.com (xpabh3.ptp.hp.com [15.1.28.63])
	by xparelay1.ptp.hp.com (Postfix) with ESMTP
	id 4F7651004BA2; Mon,  8 Dec 2003 22:04:50 -0800 (PST)
Received: by xpabh3.ptp.hp.com with Internet Mail Service (5.5.2657.72)
	id <Y3P1TRW9>; Mon, 8 Dec 2003 22:04:50 -0800
Message-ID: <1758A044D46A8A4CB320429F9462D6C248F7C2@xsun03.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>,
        "'Mark Fullmer'" <maf@eng.oar.net>
Cc: "''Ipfix Wg' (E-mail)'" <ipfix@net.doit.wisc.edu>
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
Date: Mon, 8 Dec 2003 22:04:48 -0800 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

OK,

  I'll get it right yet...

  It should say for dateTimeMsec   "...32-bit integer count of (signed)
  millisecond offset... [not microsecond]"

-- Jeff

-----Original Message-----
From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
Sent: Monday, December 08, 2003 9:57 PM
To: MEYER,JEFFREY D (HP-Cupertino,ex1); 'Mark Fullmer'
Cc: ''Ipfix Wg' (E-mail)'
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding


Mark,

  A correction on my previous e-mail.  In rereading your suggestion I think
you are recommending the following encoding model and information set
restriction:

    - dateTimeMsec -> split 32-bit integer seconds since 1970 carried in 
                    IPFIX flow header and 32-bit integer count of (signed)
                    microseconds offset from the header.  **This would
                    imply that all events for a flow set using this
optimization 
                    would need to occur w/in about 2000 seconds before or
                    after the sentinel time in the header. [+/- 2000 seconds
                    is +/-2,000,000,000 usecs, around the signed int32
limit]

    - dateTimeNsec -> 64-bit time in NTP format with 32-bits of seconds
since
                    1900 (NOT 1970!) and 32-bit fraction of a second
component.
                    Both values occur in the flow record.


  i.e. the second high res format is fully encoded in the individual flow
record
and is not dependent on some timestamp in the flow header.

-- Jeff

-----Original Message-----
From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
Sent: Monday, December 08, 2003 9:48 PM
To: 'Mark Fullmer'; MEYER,JEFFREY D (HP-Cupertino,ex1)
Cc: 'Ipfix Wg' (E-mail)
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding


Mark,

  I see two different concerns in this disucssion.  One is information
modeling
and the other is encoding mechanisms.

  Your suggestion, which sounds plausible to me, is to only define two
encoding
models for IPFIX.  The first model, which is "split time" encoded requires a
32-bit
header and a 32-bit msec offset value.  The second encoding model is also
"split
time" in that the 32-bit header is seconds, but now seconds since 1900 (not
1970)
and the offset is NTP style fractional component (i.e. n/2**-32, where n is
the 
encoded 32-bit unsigned value).

  If this were the case, than IPFIX information models should likely only
care
about information elements which are dateTimeMsec and dateTimeNsec.  Other
transfer
formats or protocols may identify timestamps with different reolutions, but
there is 
a clear model for transforming from one type to the other.

  Given my preference for simplicity, I would support this proposal:

    - dateTimeMsec -> split 32-bit integer seconds since 1970 carried in 
                    IPFIX flow header and 32-bit integer count of (signed)
                    microseconds offset from the header.  **This would
                    imply that all events for a flow set using this
optimization 
                    would need to occur w/in about 2000 seconds before or
                    after the sentinel time in the header. [+/- 2000 seconds
                    is +/-2,000,000,000 usecs, around the signed int32
limit]

    - dateTimeNsec -> split 32-bit time in NTP format with 32-bits of
seconds 
                     since 1900 (NOT 1970!) stored in the IPFIX header.  And
32-bit 
                     fraction of a second (n*2**-32) component.  This
implies
                     that all timestamps must fall begin with the same
second
                     offset in a flow set.


-- Jeff

-----Original Message-----
From: Mark Fullmer [mailto:maf@eng.oar.net]
Sent: Monday, December 08, 2003 9:31 PM
To: MEYER,JEFFREY D (HP-Cupertino,ex1)
Cc: 'Ipfix Wg' (E-mail)
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding


Do we really need four ways to represent time?  How about one 32 bit
format and one 64 bit format?

The existing NetFlow 32 bit msec Start/End time stamps + header
real time offset gives you msec real time resolution.  Implementations
that can not support / don't need msec resolution can just leave the low
order bits 0.  So this covers dateTime and dateTimeMsec with one 32
bit encoding.

64 bit NTP format format with nanosecond resolution covers microsecond
resolution implementations.  Again, implementations that want microsecond
just leave the low order fractional bits 0.


mark

On Mon, Dec 08, 2003 at 10:57:32PM -0500, MEYER,JEFFREY D (HP-Cupertino,ex1)
wrote:
> Resending to full mail list...
> 
> -- Jeff
> 
> -----Original Message-----
> From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
> Sent: Monday, December 08, 2003 3:53 PM
> To: 'Nevil Brownlee'
> Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
> 
> 
> Hi,
> 
>   Here's a proposal for encoding:
> 
>    - dateTime -> 32-bit integer seconds since 1970
>    - dateTimeMsec -> 64-bit integer msec since 1970 (Java format)
>    - dateTimeUsec -> split 32-bit integer seconds since 1970 carried in 
>                    IPFIX flow header and 32-bit integer count of (signed)
>                    microseconds offset from the header.  **This would
>                    imply that all events for a flow set using this
> optimization 
>                    would need to occur w/in about 2000 seconds before or
>                    after the sentinel time in the header. [+/- 2000
seconds
>                    is +/-2,000,000,000 usecs, around the signed int32
limit]
>    - dateTimeNsec -> 64-bit time in NTP format with 32-bits of seconds
since
>                    1900 (NOT 1970!) and 32-bit fraction of a second
> component.
>                    Both values occur in the flow record.
> 
>  
>   Note a separate issue is what type should the basic flowCreationTime
> and flowEndTime information elements should have?  Currently Info-02 has
> them
> as dateTime, but should probably be dateTimeMsec to reflect current
> information
> content of deployed netflow, or perhaps dateTimeUsec, if folks prefer to
> only use 32-bits to achieve some size reduction when passing many
> timestamps.
> 
>   My preference would be dateTimeMsec.
> 
> -- Jeff
> 
> > -----Original Message-----
> > From: majordomo listserver 
> > [mailto:majordomo@mil.doit.wisc.edu]On Behalf
> > Of Nevil Brownlee
> > Sent: Monday, December 08, 2003 2:07 PM
> > To: carter@qosient.com
> > Cc: ipfix@net.doit.wisc.edu
> > Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
> > 
> > 
> > Hello Carter:
> > 
> > >    This is an interesting question, as it assumes that
> > > all the records are coming from a single IPFIX data
> > > source.  What happens if IPFIX is transporting data
> > > from multiple sources as they are received, but the
> > > timestamps in the various records are not synchronized?
> > 
> > Sounds like a good reason not to do it.  
> > That would simply mean that timestamps in an IPFIX record would all 
> > be in whichever of the four encodings the meter was configured to 
> > send, right?
> > 
> > Cheers, Nevil
> > 
> > --------------------------------------------------------------
> > ---------
> >    Nevil Brownlee                   Director, Technology Development
> >    Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
> >    FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand
> > 
> > 
> > -------------------------------------------------
> > This mail sent through University of Auckland
> > http://www.auckland.ac.nz/
> > 
> > --
> > Help        mailto:majordomo@net.doit.wisc.edu and say "help" 
> > in message body
> > Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> > "unsubscribe ipfix" in message body
> > Archive     http://ipfix.doit.wisc.edu/archive/
> > 
> 
> --
> Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message
body
> Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> "unsubscribe ipfix" in message body
> Archive     http://ipfix.doit.wisc.edu/archive/

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 01:23:47 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA29565
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 01:23:47 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATbA3-0003Jb-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 00:15:55 -0600
Received: from sv1.eng.oar.net ([192.148.251.86])
	by mil.doit.wisc.edu with smtp (Exim 3.13 #1)
	id 1ATbA1-0003JU-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 00:15:53 -0600
Received: (qmail 19566 invoked from network); 9 Dec 2003 06:15:51 -0000
Received: from dev1.eng.oar.net (192.148.251.71)
  by sv1.eng.oar.net with SMTP; 9 Dec 2003 06:15:51 -0000
Received: (qmail 21291 invoked by uid 4454); 9 Dec 2003 06:15:51 -0000
Date: Tue, 9 Dec 2003 01:15:51 -0500
From: Mark Fullmer <maf@eng.oar.net>
To: "MEYER,JEFFREY D \(HP-Cupertino,ex1\)" <jeff.meyer2@hp.com>
Cc: "'Ipfix Wg' \(E-mail\)" <ipfix@net.doit.wisc.edu>
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
Message-ID: <20031209011551.A21108@net.ohio-state.edu>
References: <1758A044D46A8A4CB320429F9462D6C248F7C0@xsun03.ptp.hp.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <1758A044D46A8A4CB320429F9462D6C248F7C0@xsun03.ptp.hp.com>; from jeff.meyer2@hp.com on Tue, Dec 09, 2003 at 12:48:24AM -0500
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Yes.  So what document would this get described in?  Effectively the
protocol is doing an encoding optimization for certain types of timestamps.

When I replied I didn't read Nevil's message describing header offsets
vs the existing header synchronization timestamps.  I'd like to think
about this for a day or so, but his idea sounds better than what we
have.

I'm personally okay with using microsecond offsets instead of millisecond,
but I'd like to let others chime in.

Effectively in the protocol we have

  32 bit timestamps + header time aka "split time" gets you microsecond
  resolution start and end times.  The lifetime of a flow is limited
  to 4294 seconds with this encoding.

  64 bit timestamps + no header time gets you nanosecond resolution
  start and end times.  Flow lifetime is limited to 136 years.

In the information model

  dateTimeMsec (microsecond resolution)

  dateTimeNsec (nanosecond resolution)

mark

On Tue, Dec 09, 2003 at 12:48:24AM -0500, MEYER,JEFFREY D (HP-Cupertino,ex1) wrote:
> Mark,
> 
>   I see two different concerns in this disucssion.  One is information
> modeling
> and the other is encoding mechanisms.
> 
>   Your suggestion, which sounds plausible to me, is to only define two
> encoding
> models for IPFIX.  The first model, which is "split time" encoded requires a
> 32-bit
> header and a 32-bit msec offset value.  The second encoding model is also
> "split
> time" in that the 32-bit header is seconds, but now seconds since 1900 (not
> 1970)
> and the offset is NTP style fractional component (i.e. n/2**-32, where n is
> the 
> encoded 32-bit unsigned value).
> 
>   If this were the case, than IPFIX information models should likely only
> care
> about information elements which are dateTimeMsec and dateTimeNsec.  Other
> transfer
> formats or protocols may identify timestamps with different reolutions, but
> there is 
> a clear model for transforming from one type to the other.
> 
>   Given my preference for simplicity, I would support this proposal:
> 
>     - dateTimeMsec -> split 32-bit integer seconds since 1970 carried in 
>                     IPFIX flow header and 32-bit integer count of (signed)
>                     microseconds offset from the header.  **This would
>                     imply that all events for a flow set using this
> optimization 
>                     would need to occur w/in about 2000 seconds before or
>                     after the sentinel time in the header. [+/- 2000 seconds
>                     is +/-2,000,000,000 usecs, around the signed int32
> limit]
> 
>     - dateTimeNsec -> split 32-bit time in NTP format with 32-bits of
> seconds 
>                      since 1900 (NOT 1970!) stored in the IPFIX header.  And
> 32-bit 
>                      fraction of a second (n*2**-32) component.  This
> implies
>                      that all timestamps must fall begin with the same
> second
>                      offset in a flow set.
> 
> 
> -- Jeff
> 
> -----Original Message-----
> From: Mark Fullmer [mailto:maf@eng.oar.net]
> Sent: Monday, December 08, 2003 9:31 PM
> To: MEYER,JEFFREY D (HP-Cupertino,ex1)
> Cc: 'Ipfix Wg' (E-mail)
> Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
> 
> 
> Do we really need four ways to represent time?  How about one 32 bit
> format and one 64 bit format?
> 
> The existing NetFlow 32 bit msec Start/End time stamps + header
> real time offset gives you msec real time resolution.  Implementations
> that can not support / don't need msec resolution can just leave the low
> order bits 0.  So this covers dateTime and dateTimeMsec with one 32
> bit encoding.
> 
> 64 bit NTP format format with nanosecond resolution covers microsecond
> resolution implementations.  Again, implementations that want microsecond
> just leave the low order fractional bits 0.
> 
> 
> mark
> 
> On Mon, Dec 08, 2003 at 10:57:32PM -0500, MEYER,JEFFREY D (HP-Cupertino,ex1)
> wrote:
> > Resending to full mail list...
> > 
> > -- Jeff
> > 
> > -----Original Message-----
> > From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
> > Sent: Monday, December 08, 2003 3:53 PM
> > To: 'Nevil Brownlee'
> > Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
> > 
> > 
> > Hi,
> > 
> >   Here's a proposal for encoding:
> > 
> >    - dateTime -> 32-bit integer seconds since 1970
> >    - dateTimeMsec -> 64-bit integer msec since 1970 (Java format)
> >    - dateTimeUsec -> split 32-bit integer seconds since 1970 carried in 
> >                    IPFIX flow header and 32-bit integer count of (signed)
> >                    microseconds offset from the header.  **This would
> >                    imply that all events for a flow set using this
> > optimization 
> >                    would need to occur w/in about 2000 seconds before or
> >                    after the sentinel time in the header. [+/- 2000
> seconds
> >                    is +/-2,000,000,000 usecs, around the signed int32
> limit]
> >    - dateTimeNsec -> 64-bit time in NTP format with 32-bits of seconds
> since
> >                    1900 (NOT 1970!) and 32-bit fraction of a second
> > component.
> >                    Both values occur in the flow record.
> > 
> >  
> >   Note a separate issue is what type should the basic flowCreationTime
> > and flowEndTime information elements should have?  Currently Info-02 has
> > them
> > as dateTime, but should probably be dateTimeMsec to reflect current
> > information
> > content of deployed netflow, or perhaps dateTimeUsec, if folks prefer to
> > only use 32-bits to achieve some size reduction when passing many
> > timestamps.
> > 
> >   My preference would be dateTimeMsec.
> > 
> > -- Jeff
> > 
> > > -----Original Message-----
> > > From: majordomo listserver 
> > > [mailto:majordomo@mil.doit.wisc.edu]On Behalf
> > > Of Nevil Brownlee
> > > Sent: Monday, December 08, 2003 2:07 PM
> > > To: carter@qosient.com
> > > Cc: ipfix@net.doit.wisc.edu
> > > Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
> > > 
> > > 
> > > Hello Carter:
> > > 
> > > >    This is an interesting question, as it assumes that
> > > > all the records are coming from a single IPFIX data
> > > > source.  What happens if IPFIX is transporting data
> > > > from multiple sources as they are received, but the
> > > > timestamps in the various records are not synchronized?
> > > 
> > > Sounds like a good reason not to do it.  
> > > That would simply mean that timestamps in an IPFIX record would all 
> > > be in whichever of the four encodings the meter was configured to 
> > > send, right?
> > > 
> > > Cheers, Nevil
> > > 
> > > --------------------------------------------------------------
> > > ---------
> > >    Nevil Brownlee                   Director, Technology Development
> > >    Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
> > >    FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand
> > > 
> > > 
> > > -------------------------------------------------
> > > This mail sent through University of Auckland
> > > http://www.auckland.ac.nz/
> > > 
> > > --
> > > Help        mailto:majordomo@net.doit.wisc.edu and say "help" 
> > > in message body
> > > Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> > > "unsubscribe ipfix" in message body
> > > Archive     http://ipfix.doit.wisc.edu/archive/
> > > 
> > 
> > --
> > Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message
> body
> > Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> > "unsubscribe ipfix" in message body
> > Archive     http://ipfix.doit.wisc.edu/archive/

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 01:24:27 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA29587
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 01:24:27 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATbBd-0003N5-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 00:17:33 -0600
Received: from sv1.eng.oar.net ([192.148.251.86])
	by mil.doit.wisc.edu with smtp (Exim 3.13 #1)
	id 1ATbBc-0003Mz-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 00:17:32 -0600
Received: (qmail 19594 invoked from network); 9 Dec 2003 06:17:31 -0000
Received: from dev1.eng.oar.net (192.148.251.71)
  by sv1.eng.oar.net with SMTP; 9 Dec 2003 06:17:31 -0000
Received: (qmail 21310 invoked by uid 4454); 9 Dec 2003 06:17:31 -0000
Date: Tue, 9 Dec 2003 01:17:31 -0500
From: Mark Fullmer <maf@eng.oar.net>
To: "MEYER,JEFFREY D \(HP-Cupertino,ex1\)" <jeff.meyer2@hp.com>
Cc: "''Ipfix Wg' \(E-mail\)'" <ipfix@net.doit.wisc.edu>
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
Message-ID: <20031209011731.B21108@net.ohio-state.edu>
References: <1758A044D46A8A4CB320429F9462D6C248F7C2@xsun03.ptp.hp.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <1758A044D46A8A4CB320429F9462D6C248F7C2@xsun03.ptp.hp.com>; from jeff.meyer2@hp.com on Mon, Dec 08, 2003 at 10:04:48PM -0800
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Microsecond might be okay...

mark

On Mon, Dec 08, 2003 at 10:04:48PM -0800, MEYER,JEFFREY D (HP-Cupertino,ex1) wrote:
> OK,
> 
>   I'll get it right yet...
> 
>   It should say for dateTimeMsec   "...32-bit integer count of (signed)
>   millisecond offset... [not microsecond]"

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 01:41:57 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA00024
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 01:41:57 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATbLC-0003tR-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 00:27:26 -0600
Received: from sv1.eng.oar.net ([192.148.251.86])
	by mil.doit.wisc.edu with smtp (Exim 3.13 #1)
	id 1ATbLB-0003tJ-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 00:27:25 -0600
Received: (qmail 19680 invoked from network); 9 Dec 2003 06:27:19 -0000
Received: from dev1.eng.oar.net (192.148.251.71)
  by sv1.eng.oar.net with SMTP; 9 Dec 2003 06:27:19 -0000
Received: (qmail 21389 invoked by uid 4454); 9 Dec 2003 06:27:19 -0000
Date: Tue, 9 Dec 2003 01:27:19 -0500
From: Mark Fullmer <maf@eng.oar.net>
To: Carter Bullard <carter@qosient.com>
Cc: "'Nevil Brownlee'" <n.brownlee@auckland.ac.nz>,
        "'Maurizio Molina'" <molina@ccrle.nec.de>, ipfix@net.doit.wisc.edu
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
Message-ID: <20031209012719.C21108@net.ohio-state.edu>
References: <5C8959A16A71B449AE793CF52FBBED66252FE0@ptah.newyork.qosient.com> <5C8959A16A71B449AE793CF52FBBED6607A734@ptah.newyork.qosient.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <5C8959A16A71B449AE793CF52FBBED6607A734@ptah.newyork.qosient.com>; from carter@qosient.com on Mon, Dec 08, 2003 at 02:27:43PM -0500
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

It depends on how smart the exporter is...A simple way to do this
would be to limit flows from each source to a single message.  Note, The
existing draft uses the term "packet" where it it should be message.

There appear to be some deeper problems with having multiple
data sources in a single IPFIX session though.  For example there
is currently no mechanism defined to describe where the data in a
template or multiple templates representing the same data source 
come from.

The protocol can move the data but reporting tools that work with
it don't know how its related.

mark

On Mon, Dec 08, 2003 at 02:27:43PM -0500, Carter Bullard wrote:
> Hey Nevil,
>    This is an interesting question, as it assumes that
> all the records are coming from a single IPFIX data
> source.  What happens if IPFIX is transporting data
> from multiple sources as they are received, but the
> timestamps in the various records are not synchronized?
> 
> Carter
> 
> 
> 
> 
> -----Original Message-----
> From: Nevil Brownlee [mailto:n.brownlee@auckland.ac.nz]
> Sent: Monday, December 08, 2003 1:34 PM
> To: carter@qosient.com; 'Maurizio Molina'
> Cc: ipfix@net.doit.wisc.edu
> Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
> 
> 
> Hi Carter and Maurizio
> 
> >    I have customers today that are using uSec granularity
> > exclusively and we're moving to nSec granularity for some
> > applications shortly.  So, these resolutions are not exotic
> > for my customers, they are the norm.
> 
> OK, by all means let's keep all four of Jeff's timestamp formats.
> 
> Now what about the notion of having a dateTimeUsec timestamp in the
> header and 32-bit offsets from that for timestamps in flow groups?
> Would that save enough space to be useful?
> 
> CHeers, Nevil
> 
> -----------------------------------------------------------------------
>    Nevil Brownlee                   Director, Technology Development
>    Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
>    FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand
> 
> 
> -------------------------------------------------
> This mail sent through University of Auckland
> http://www.auckland.ac.nz/
> 
> 
> 
> 
> --
> Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
> Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> "unsubscribe ipfix" in message body
> Archive     http://ipfix.doit.wisc.edu/archive/

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 02:09:13 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA10171
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 02:09:12 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATbov-0004Q4-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 00:58:09 -0600
Received: from atlrel9.hp.com ([156.153.255.214])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATbou-0004Pp-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 00:58:08 -0600
Received: from xatlrelay2.atl.hp.com (xatlrelay2.atl.hp.com [15.45.89.191])
	by atlrel9.hp.com (Postfix) with ESMTP
	id 502F51C011A7; Tue,  9 Dec 2003 01:58:07 -0500 (EST)
Received: from xatlbh4.atl.hp.com (xatlbh4.atl.hp.com [15.45.89.189])
	by xatlrelay2.atl.hp.com (Postfix) with ESMTP
	id 4973C1C00A4D; Tue,  9 Dec 2003 01:58:07 -0500 (EST)
Received: by xatlbh4.atl.hp.com with Internet Mail Service (5.5.2657.72)
	id <YKN6KX2L>; Tue, 9 Dec 2003 01:58:07 -0500
Message-ID: <1758A044D46A8A4CB320429F9462D6C248F7C4@xsun03.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Mark Fullmer'" <maf@eng.oar.net>,
        "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
Cc: "''Ipfix Wg' (E-mail)'" <ipfix@net.doit.wisc.edu>
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
Date: Tue, 9 Dec 2003 01:58:04 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Hi,

  My preference would be milliseconds with a signed quantity.

  This gives you about +/- 2147 seconds on either side of the sentinel time.
If you do not use a signed offset it forces a flow record to be adjusted
"backward" so that all time offsets are positive (could be tricky for
FlowCreationTime).

  Using microseconds would yield only +/- 2.14 seconds which is a pretty
narrow window for grouping flows.


-- Jeff

-----Original Message-----
From: Mark Fullmer [mailto:maf@eng.oar.net]
Sent: Monday, December 08, 2003 10:18 PM
To: MEYER,JEFFREY D (HP-Cupertino,ex1)
Cc: ''Ipfix Wg' (E-mail)'
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding


Microsecond might be okay...

mark

On Mon, Dec 08, 2003 at 10:04:48PM -0800, MEYER,JEFFREY D (HP-Cupertino,ex1)
wrote:
> OK,
> 
>   I'll get it right yet...
> 
>   It should say for dateTimeMsec   "...32-bit integer count of (signed)
>   millisecond offset... [not microsecond]"

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 02:32:58 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA14558
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 02:32:58 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATc9P-0005L6-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 01:19:19 -0600
Received: from sv1.eng.oar.net ([192.148.251.86])
	by mil.doit.wisc.edu with smtp (Exim 3.13 #1)
	id 1ATc9O-0005L1-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 01:19:18 -0600
Received: (qmail 20110 invoked from network); 9 Dec 2003 07:19:17 -0000
Received: from dev1.eng.oar.net (192.148.251.71)
  by sv1.eng.oar.net with SMTP; 9 Dec 2003 07:19:17 -0000
Received: (qmail 21867 invoked by uid 4454); 9 Dec 2003 07:19:17 -0000
Date: Tue, 9 Dec 2003 02:19:17 -0500
From: Mark Fullmer <maf@eng.oar.net>
To: "MEYER,JEFFREY D \(HP-Cupertino,ex1\)" <jeff.meyer2@hp.com>
Cc: "''Ipfix Wg' \(E-mail\)'" <ipfix@net.doit.wisc.edu>
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
Message-ID: <20031209021917.A21725@net.ohio-state.edu>
References: <1758A044D46A8A4CB320429F9462D6C248F7C4@xsun03.ptp.hp.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <1758A044D46A8A4CB320429F9462D6C248F7C4@xsun03.ptp.hp.com>; from jeff.meyer2@hp.com on Tue, Dec 09, 2003 at 01:58:04AM -0500
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

I think you're off by one SI unit, or I'm sending e-mail too late at night...

Millisecond : 10^-3 seconds
Microsecond : 10^-6 seconds
Nanosecond  : 10^-9 seconds

2^32 * 10^-3 = 4294967 seconds
2^32 * 10^-6 = 4294 seconds
2^32 * 10^-9 = 4 seconds

I'm not sure running down the list of flows per export packet to fix
the timestamps is that big a deal, but it probably doesn't matter.  An
implementation that wants the full range can put the header/sentinel
time in the middle of the range.

mark

On Tue, Dec 09, 2003 at 01:58:04AM -0500, MEYER,JEFFREY D (HP-Cupertino,ex1) wrote:
> Hi,
> 
>   My preference would be milliseconds with a signed quantity.
> 
>   This gives you about +/- 2147 seconds on either side of the sentinel time.
> If you do not use a signed offset it forces a flow record to be adjusted
> "backward" so that all time offsets are positive (could be tricky for
> FlowCreationTime).
> 
>   Using microseconds would yield only +/- 2.14 seconds which is a pretty
> narrow window for grouping flows.
> 
> 
> -- Jeff
> 
> -----Original Message-----
> From: Mark Fullmer [mailto:maf@eng.oar.net]
> Sent: Monday, December 08, 2003 10:18 PM
> To: MEYER,JEFFREY D (HP-Cupertino,ex1)
> Cc: ''Ipfix Wg' (E-mail)'
> Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
> 
> 
> Microsecond might be okay...
> 
> mark
> 
> On Mon, Dec 08, 2003 at 10:04:48PM -0800, MEYER,JEFFREY D (HP-Cupertino,ex1)
> wrote:
> > OK,
> > 
> >   I'll get it right yet...
> > 
> >   It should say for dateTimeMsec   "...32-bit integer count of (signed)
> >   millisecond offset... [not microsecond]"

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 03:08:55 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA16253
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 03:08:55 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATckQ-0006Bt-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 01:57:34 -0600
Received: from atlrel8.hp.com ([156.153.255.206])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATckP-0006Bo-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 01:57:33 -0600
Received: from xatlrelay2.atl.hp.com (xatlrelay2.atl.hp.com [15.45.89.191])
	by atlrel8.hp.com (Postfix) with ESMTP id 17DD81C00E43
	for <ipfix@net.doit.wisc.edu>; Tue,  9 Dec 2003 02:57:30 -0500 (EST)
Received: from xatlbh1.atl.hp.com (xatlbh1.atl.hp.com [15.45.89.186])
	by xatlrelay2.atl.hp.com (Postfix) with ESMTP id 12B761C00A4A
	for <ipfix@net.doit.wisc.edu>; Tue,  9 Dec 2003 02:57:30 -0500 (EST)
Received: by xatlbh1.atl.hp.com with Internet Mail Service (5.5.2657.72)
	id <YM2P3RD2>; Tue, 9 Dec 2003 02:57:29 -0500
Message-ID: <1758A044D46A8A4CB320429F9462D6C248F7C7@xsun03.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Ipfix Wg' (E-mail)" <ipfix@net.doit.wisc.edu>
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
Date: Tue, 9 Dec 2003 02:57:29 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Resend to list...

-----Original Message-----
From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
Sent: Monday, December 08, 2003 11:57 PM
To: 'Mark Fullmer'
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding


Mark,

  You're right.  It's too late at night and microseconds give you a
reasonable window.

  So the two IPFIX information types would be:

  dateTimeUsec - signed microsecond reslolution, yielding a +/- 2147 second
window in IPFIX encoding model.

  dateTimeNsec - nanosecond resolution, encoded using 64-bit NTP format with
about 136 year rollover.

  Both formats have a relatively narrow (on a geologic scale) time window.  

  Java's 64-bit dateTimeMsec format increases the 64-bit rollover interval
to +/- 292M years approximately.  I.e. A range of 2**64 msec, treating this
as a signed quantity means it should roll over in  +/-
(10**-3)*(2**63)/60/60/24/365 ~= 292,471,208.

  So as a general purpose time representation, dateTimeMsec has some
desirable properties.  But it may be that time for IPFIX is typically sent
in dateTimeUsec or dateTimeNsec, but is persisted or transformed to
dateTimeMsec for further processing, dependent on application.  It still may
make sense to define dateTimeMsec encoding according to Java time.  

  I would agree that basic dateTime (second resolution) could logically be
transmitted using the dateTimeUsec encoding and simply stripping off the
subsecond resolution.  So there may be no need to define an encoding for
this in IPFIX, but it would satisfy completeness.

  How about recommending the use of dateTimeUsec or dateTimeNsec, but
defining encodings for all four resolutions?

  In particular, the default flowCreationTime and flowEndTime would be
redefined in the current information model as dateTimeUsec.


-- Jeff


-----Original Message-----
From: Mark Fullmer [mailto:maf@eng.oar.net]
Sent: Monday, December 08, 2003 11:19 PM
To: MEYER,JEFFREY D (HP-Cupertino,ex1)
Cc: ''Ipfix Wg' (E-mail)'
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding


I think you're off by one SI unit, or I'm sending e-mail too late at
night...

Millisecond : 10^-3 seconds
Microsecond : 10^-6 seconds
Nanosecond  : 10^-9 seconds

2^32 * 10^-3 = 4294967 seconds
2^32 * 10^-6 = 4294 seconds
2^32 * 10^-9 = 4 seconds

I'm not sure running down the list of flows per export packet to fix
the timestamps is that big a deal, but it probably doesn't matter.  An
implementation that wants the full range can put the header/sentinel
time in the middle of the range.

mark

On Tue, Dec 09, 2003 at 01:58:04AM -0500, MEYER,JEFFREY D (HP-Cupertino,ex1)
wrote:
> Hi,
> 
>   My preference would be milliseconds with a signed quantity.
> 
>   This gives you about +/- 2147 seconds on either side of the sentinel
time.
> If you do not use a signed offset it forces a flow record to be adjusted
> "backward" so that all time offsets are positive (could be tricky for
> FlowCreationTime).
> 
>   Using microseconds would yield only +/- 2.14 seconds which is a pretty
> narrow window for grouping flows.
> 
> 
> -- Jeff
> 
> -----Original Message-----
> From: Mark Fullmer [mailto:maf@eng.oar.net]
> Sent: Monday, December 08, 2003 10:18 PM
> To: MEYER,JEFFREY D (HP-Cupertino,ex1)
> Cc: ''Ipfix Wg' (E-mail)'
> Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
> 
> 
> Microsecond might be okay...
> 
> mark
> 
> On Mon, Dec 08, 2003 at 10:04:48PM -0800, MEYER,JEFFREY D
(HP-Cupertino,ex1)
> wrote:
> > OK,
> > 
> >   I'll get it right yet...
> > 
> >   It should say for dateTimeMsec   "...32-bit integer count of (signed)
> >   millisecond offset... [not microsecond]"

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 07:16:50 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA23655
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 07:16:50 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATgPm-0006o2-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 05:52:30 -0600
Received: from tokyo.netlab.nec.de ([195.37.70.2] helo=tokyo.ccrle.nec.de)
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATgPl-0006nw-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 05:52:29 -0600
Received: from venus.office (venus.office [10.1.1.11])
	by tokyo.ccrle.nec.de (8.12.10/8.12.9) with ESMTP id hB9BqRCx026922
	for <ipfix@net.doit.wisc.edu>; Tue, 9 Dec 2003 12:52:28 +0100 (CET)
Received: from ccrle.nec.de (molina.office [10.1.1.126])
	by venus.office (Postfix on SuSE Linux eMail Server 3.0) with ESMTP id 77ED9E8078
	for <ipfix@net.doit.wisc.edu>; Tue,  9 Dec 2003 12:52:27 +0100 (CET)
Message-ID: <3FD5B77B.1020107@ccrle.nec.de>
Date: Tue, 09 Dec 2003 12:52:27 +0100
From: Maurizio Molina <molina@ccrle.nec.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "'Ipfix Wg' (E-mail)" <ipfix@net.doit.wisc.edu>
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
References: <1758A044D46A8A4CB320429F9462D6C248F7C7@xsun03.ptp.hp.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.35
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>
Content-Transfer-Encoding: 7bit


MEYER,JEFFREY D (HP-Cupertino,ex1) wrote:

>Resend to list...
>
>-----Original Message-----
>From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
>Sent: Monday, December 08, 2003 11:57 PM
>To: 'Mark Fullmer'
>Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
>
>
>Mark,
>
>  You're right.  It's too late at night and microseconds give you a
>reasonable window.
>
>  So the two IPFIX information types would be:
>
>  dateTimeUsec - signed microsecond reslolution, yielding a +/- 2147 second
>window in IPFIX encoding model.
>
>  dateTimeNsec - nanosecond resolution, encoded using 64-bit NTP format with
>about 136 year rollover.
>
>  Both formats have a relatively narrow (on a geologic scale) time window.  
>
>  Java's 64-bit dateTimeMsec format increases the 64-bit rollover interval
>to +/- 292M years approximately.  I.e. A range of 2**64 msec, treating this
>as a signed quantity means it should roll over in  +/-
>(10**-3)*(2**63)/60/60/24/365 ~= 292,471,208.
>
>  So as a general purpose time representation, dateTimeMsec has some
>desirable properties.  But it may be that time for IPFIX is typically sent
>in dateTimeUsec or dateTimeNsec, but is persisted or transformed to
>dateTimeMsec for further processing, dependent on application.  It still may
>make sense to define dateTimeMsec encoding according to Java time.  
>
>  I would agree that basic dateTime (second resolution) could logically be
>transmitted using the dateTimeUsec encoding and simply stripping off the
>subsecond resolution.  So there may be no need to define an encoding for
>this in IPFIX, but it would satisfy completeness.
>
I agree with supporting this basic 32 bit encoding.

>
>  How about recommending the use of dateTimeUsec or dateTimeNsec, but
>defining encodings for all four resolutions?
>
For the other 3 "high-res" 64 bit discussed encoding schemes, the 
"desirable" characteristics I saw discussed so far were
1) Allowed maximum resolution
2) possibility to "split" into 32bit (header) + 32 bit (flow record) so 
that to save space in export msg
3) maximum flow lifetime

According to these 3 creteria dateTimeNsec is certainly better than 
dateTimeUsec.
dateTimeNsec is better than dateTimeMsec  for  the first two, worse for 
the third. But I think that a maximum flow duration time of 292Myears is 
not really an advantage wrt a maximum flow duration of 136 years, while 
I see a flow duration of 2147 secs as a limitation.
My conclusion would be that on this basis there is no advantage in 
supporting also dateTimeMsec and dateTimeUsec.
However, there's of course a fourth factor, which is the difficulty of 
transforming internal time representations in that format. This 
difficulty depends on the specific HW/SW of the exporter/collector and 
this may be a good reason for supporting also the other two formats.
Therefore, I think IPFIX should support them only if somebody loudly 
says "yes, I want them because with my implementation it's easier". That 
would be a good reason. Even in that case, my preference would be to 
specify dateTimeNsec as the default in the info model.
Maurizio

>  In particular, the default flowCreationTime and flowEndTime would be
>redefined in the current information model as dateTimeUsec.
>
>
>-- Jeff
>
>
>-----Original Message-----
>From: Mark Fullmer [mailto:maf@eng.oar.net]
>Sent: Monday, December 08, 2003 11:19 PM
>To: MEYER,JEFFREY D (HP-Cupertino,ex1)
>Cc: ''Ipfix Wg' (E-mail)'
>Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
>
>
>I think you're off by one SI unit, or I'm sending e-mail too late at
>night...
>
>Millisecond : 10^-3 seconds
>Microsecond : 10^-6 seconds
>Nanosecond  : 10^-9 seconds
>
>2^32 * 10^-3 = 4294967 seconds
>2^32 * 10^-6 = 4294 seconds
>2^32 * 10^-9 = 4 seconds
>
>I'm not sure running down the list of flows per export packet to fix
>the timestamps is that big a deal, but it probably doesn't matter.  An
>implementation that wants the full range can put the header/sentinel
>time in the middle of the range.
>
>mark
>
>On Tue, Dec 09, 2003 at 01:58:04AM -0500, MEYER,JEFFREY D (HP-Cupertino,ex1)
>wrote:
>  
>
>>Hi,
>>
>>  My preference would be milliseconds with a signed quantity.
>>
>>  This gives you about +/- 2147 seconds on either side of the sentinel
>>    
>>
>time.
>  
>
>>If you do not use a signed offset it forces a flow record to be adjusted
>>"backward" so that all time offsets are positive (could be tricky for
>>FlowCreationTime).
>>
>>  Using microseconds would yield only +/- 2.14 seconds which is a pretty
>>narrow window for grouping flows.
>>
>>
>>-- Jeff
>>
>>-----Original Message-----
>>From: Mark Fullmer [mailto:maf@eng.oar.net]
>>Sent: Monday, December 08, 2003 10:18 PM
>>To: MEYER,JEFFREY D (HP-Cupertino,ex1)
>>Cc: ''Ipfix Wg' (E-mail)'
>>Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
>>
>>
>>Microsecond might be okay...
>>
>>mark
>>
>>On Mon, Dec 08, 2003 at 10:04:48PM -0800, MEYER,JEFFREY D
>>    
>>
>(HP-Cupertino,ex1)
>  
>
>>wrote:
>>    
>>
>>>OK,
>>>
>>>  I'll get it right yet...
>>>
>>>  It should say for dateTimeMsec   "...32-bit integer count of (signed)
>>>  millisecond offset... [not microsecond]"
>>>      
>>>
>
>--
>Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
>Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
>"unsubscribe ipfix" in message body
>Archive     http://ipfix.doit.wisc.edu/archive/
>  
>



--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 07:17:35 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA23684
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 07:17:35 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATgRy-0006z1-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 05:54:46 -0600
Received: from mailhub.fokus.fraunhofer.de ([193.174.154.14])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATgRx-0006yw-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 05:54:45 -0600
Received: from fokus.fraunhofer.de (dhcp226 [195.37.78.226])
	by mailhub.fokus.fraunhofer.de (8.11.6p2/8.11.6) with ESMTP id hB9BsY101530;
	Tue, 9 Dec 2003 12:54:34 +0100 (MET)
Message-ID: <3FD5B77B.1050309@fokus.fraunhofer.de>
Date: Tue, 09 Dec 2003 12:52:27 +0100
From: Sebastian Zander <zander@fokus.fraunhofer.de>
Organization: Fraunhofer FOKUS
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
CC: "'Ipfix Wg' (E-mail)" <ipfix@net.doit.wisc.edu>
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
References: <1758A044D46A8A4CB320429F9462D6C248F7C7@xsun03.ptp.hp.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>
Content-Transfer-Encoding: 7bit

Jeff,

some questions on the delta timestamps:

Why should the microsecond deltas be _signed_?

What happens when the flow is longer than 2147 seconds? Is a new flow
started? Is there a timestamp refreshment e.g. every x export includes
an absolute (sentinel) timestamp or is there an absolute timestamp
if the exporters detects the duration is > 2147?

What happens in case of unreliable transport when packets with
sentinel time get lost?

In my view delta timestamp support seems to be a bit more than just simple
encoding and I don't fully understand how it works now.

At the moment I tend to agree in keeping all four encodings.

Cheers,

Sebastian

MEYER,JEFFREY D (HP-Cupertino,ex1) wrote:
> Resend to list...
> 
> -----Original Message-----
> From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
> Sent: Monday, December 08, 2003 11:57 PM
> To: 'Mark Fullmer'
> Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
> 
> 
> Mark,
> 
>   You're right.  It's too late at night and microseconds give you a
> reasonable window.
> 
>   So the two IPFIX information types would be:
> 
>   dateTimeUsec - signed microsecond reslolution, yielding a +/- 2147 second
> window in IPFIX encoding model.
> 
>   dateTimeNsec - nanosecond resolution, encoded using 64-bit NTP format with
> about 136 year rollover.
> 
>   Both formats have a relatively narrow (on a geologic scale) time window.  
> 
>   Java's 64-bit dateTimeMsec format increases the 64-bit rollover interval
> to +/- 292M years approximately.  I.e. A range of 2**64 msec, treating this
> as a signed quantity means it should roll over in  +/-
> (10**-3)*(2**63)/60/60/24/365 ~= 292,471,208.
> 
>   So as a general purpose time representation, dateTimeMsec has some
> desirable properties.  But it may be that time for IPFIX is typically sent
> in dateTimeUsec or dateTimeNsec, but is persisted or transformed to
> dateTimeMsec for further processing, dependent on application.  It still may
> make sense to define dateTimeMsec encoding according to Java time.  
> 
>   I would agree that basic dateTime (second resolution) could logically be
> transmitted using the dateTimeUsec encoding and simply stripping off the
> subsecond resolution.  So there may be no need to define an encoding for
> this in IPFIX, but it would satisfy completeness.
> 
>   How about recommending the use of dateTimeUsec or dateTimeNsec, but
> defining encodings for all four resolutions?
> 
>   In particular, the default flowCreationTime and flowEndTime would be
> redefined in the current information model as dateTimeUsec.
> 
> 
> -- Jeff
> 
> 
> -----Original Message-----
> From: Mark Fullmer [mailto:maf@eng.oar.net]
> Sent: Monday, December 08, 2003 11:19 PM
> To: MEYER,JEFFREY D (HP-Cupertino,ex1)
> Cc: ''Ipfix Wg' (E-mail)'
> Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
> 
> 
> I think you're off by one SI unit, or I'm sending e-mail too late at
> night...
> 
> Millisecond : 10^-3 seconds
> Microsecond : 10^-6 seconds
> Nanosecond  : 10^-9 seconds
> 
> 2^32 * 10^-3 = 4294967 seconds
> 2^32 * 10^-6 = 4294 seconds
> 2^32 * 10^-9 = 4 seconds
> 
> I'm not sure running down the list of flows per export packet to fix
> the timestamps is that big a deal, but it probably doesn't matter.  An
> implementation that wants the full range can put the header/sentinel
> time in the middle of the range.
> 
> mark
> 
> On Tue, Dec 09, 2003 at 01:58:04AM -0500, MEYER,JEFFREY D (HP-Cupertino,ex1)
> wrote:
> 
>>Hi,
>>
>>  My preference would be milliseconds with a signed quantity.
>>
>>  This gives you about +/- 2147 seconds on either side of the sentinel
> 
> time.
> 
>>If you do not use a signed offset it forces a flow record to be adjusted
>>"backward" so that all time offsets are positive (could be tricky for
>>FlowCreationTime).
>>
>>  Using microseconds would yield only +/- 2.14 seconds which is a pretty
>>narrow window for grouping flows.
>>
>>
>>-- Jeff
>>
>>-----Original Message-----
>>From: Mark Fullmer [mailto:maf@eng.oar.net]
>>Sent: Monday, December 08, 2003 10:18 PM
>>To: MEYER,JEFFREY D (HP-Cupertino,ex1)
>>Cc: ''Ipfix Wg' (E-mail)'
>>Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
>>
>>
>>Microsecond might be okay...
>>
>>mark
>>
>>On Mon, Dec 08, 2003 at 10:04:48PM -0800, MEYER,JEFFREY D
> 
> (HP-Cupertino,ex1)
> 
>>wrote:
>>
>>>OK,
>>>
>>>  I'll get it right yet...
>>>
>>>  It should say for dateTimeMsec   "...32-bit integer count of (signed)
>>>  millisecond offset... [not microsecond]"
>>
> 
> --
> Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
> Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> "unsubscribe ipfix" in message body
> Archive     http://ipfix.doit.wisc.edu/archive/
> 


-- 
Sebastian Zander                         E-mail: zander@fokus.fraunhofer.de
Fraunhofer FOKUS / METEOR                Tel: +49-30-3463-7287
Kaiserin-Augusta-Allee 31                Fax: +49-30-3463-8287
D-10589 Berlin, Germany                  www.fokus.fraunhofer.de/usr/sebastian.zander





--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 07:52:07 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA24427
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 07:52:06 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATh2q-0000IN-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 06:32:52 -0600
Received: from tokyo.netlab.nec.de ([195.37.70.2] helo=tokyo.ccrle.nec.de)
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATh2o-0000IH-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 06:32:50 -0600
Received: from tokyo.ccrle.nec.de (localhost [127.0.0.1])
	by tokyo.ccrle.nec.de (8.12.10/8.12.9) with ESMTP id hB9CWlD3029857
	for <ipfix@net.doit.wisc.edu>; Tue, 9 Dec 2003 13:32:49 +0100 (CET)
Received: (from defang@localhost)
	by tokyo.ccrle.nec.de (8.12.10/8.12.8/Submit) id hB9CVcMm029812
	for <ipfix@net.doit.wisc.edu>; Tue, 9 Dec 2003 13:31:38 +0100 (CET)
X-Authentication-Warning: tokyo.ccrle.nec.de: defang set sender to <molina@ccrle.nec.de> using -f
Received: from venus.office (venus.office [10.1.1.11])
	by pluto.office (8.12.9/8.12.9+MIMEDefang) with ESMTP id hB9CVcCx029811; Tue, 09 Dec 2003 13:31:38 +0100 (CET)
Received: from ccrle.nec.de (molina.office [10.1.1.126])
	by venus.office (Postfix on SuSE Linux eMail Server 3.0) with ESMTP
	id B19DEE826B; Tue,  9 Dec 2003 13:31:37 +0100 (CET)
Message-ID: <3FD5C0A9.4000903@ccrle.nec.de>
Date: Tue, 09 Dec 2003 13:31:37 +0100
From: Maurizio Molina <molina@ccrle.nec.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Fullmer <maf@eng.oar.net>
Cc: "'Ipfix Wg' (E-mail)" <ipfix@net.doit.wisc.edu>
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
References: <1758A044D46A8A4CB320429F9462D6C248F7BB@xsun03.ptp.hp.com> <20031209003110.A20537@net.ohio-state.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.35
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>
Content-Transfer-Encoding: 7bit



Mark Fullmer wrote:

>Do we really need four ways to represent time?  How about one 32 bit
>format and one 64 bit format?
>
>The existing NetFlow 32 bit msec Start/End time stamps + header
>real time offset gives you msec real time resolution.  Implementations
>that can not support / don't need msec resolution can just leave the low
>order bits 0.  So this covers dateTime and dateTimeMsec with one 32
>bit encoding.
>
>64 bit NTP format format with nanosecond resolution covers microsecond
>resolution implementations.  Again, implementations that want microsecond
>just leave the low order fractional bits 0.
>
I think this opens an interesting issue:
Should IPFIX explicitly define a method for letting the exporter 
indicating the precision of its clock, e.g. via this zero-padding you 
mention?
In this case, how do we deal with the case the exporter has, for 
example, millisecond resolution but it has by chance  to fill a record 
exacly with three zeros in the fractional part, i.e. 12345.000? Should 
IPFIX specify that it has to force it 12345.001? Or should this 
precision indication be sent once and for all, e.g. in an option record? 
Or shouldn't it be sent at all?
Maurizio

>
>
>mark
>
>On Mon, Dec 08, 2003 at 10:57:32PM -0500, MEYER,JEFFREY D (HP-Cupertino,ex1) wrote:
>  
>
>>Resending to full mail list...
>>
>>-- Jeff
>>
>>-----Original Message-----
>>From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
>>Sent: Monday, December 08, 2003 3:53 PM
>>To: 'Nevil Brownlee'
>>Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
>>
>>
>>Hi,
>>
>>  Here's a proposal for encoding:
>>
>>   - dateTime -> 32-bit integer seconds since 1970
>>   - dateTimeMsec -> 64-bit integer msec since 1970 (Java format)
>>   - dateTimeUsec -> split 32-bit integer seconds since 1970 carried in 
>>                   IPFIX flow header and 32-bit integer count of (signed)
>>                   microseconds offset from the header.  **This would
>>                   imply that all events for a flow set using this
>>optimization 
>>                   would need to occur w/in about 2000 seconds before or
>>                   after the sentinel time in the header. [+/- 2000 seconds
>>                   is +/-2,000,000,000 usecs, around the signed int32 limit]
>>   - dateTimeNsec -> 64-bit time in NTP format with 32-bits of seconds since
>>                   1900 (NOT 1970!) and 32-bit fraction of a second
>>component.
>>                   Both values occur in the flow record.
>>
>> 
>>  Note a separate issue is what type should the basic flowCreationTime
>>and flowEndTime information elements should have?  Currently Info-02 has
>>them
>>as dateTime, but should probably be dateTimeMsec to reflect current
>>information
>>content of deployed netflow, or perhaps dateTimeUsec, if folks prefer to
>>only use 32-bits to achieve some size reduction when passing many
>>timestamps.
>>
>>  My preference would be dateTimeMsec.
>>
>>-- Jeff
>>
>>    
>>
>>>-----Original Message-----
>>>From: majordomo listserver 
>>>[mailto:majordomo@mil.doit.wisc.edu]On Behalf
>>>Of Nevil Brownlee
>>>Sent: Monday, December 08, 2003 2:07 PM
>>>To: carter@qosient.com
>>>Cc: ipfix@net.doit.wisc.edu
>>>Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
>>>
>>>
>>>Hello Carter:
>>>
>>>      
>>>
>>>>   This is an interesting question, as it assumes that
>>>>all the records are coming from a single IPFIX data
>>>>source.  What happens if IPFIX is transporting data
>>>>from multiple sources as they are received, but the
>>>>timestamps in the various records are not synchronized?
>>>>        
>>>>
>>>Sounds like a good reason not to do it.  
>>>That would simply mean that timestamps in an IPFIX record would all 
>>>be in whichever of the four encodings the meter was configured to 
>>>send, right?
>>>
>>>Cheers, Nevil
>>>
>>>--------------------------------------------------------------
>>>---------
>>>   Nevil Brownlee                   Director, Technology Development
>>>   Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
>>>   FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand
>>>
>>>
>>>-------------------------------------------------
>>>This mail sent through University of Auckland
>>>http://www.auckland.ac.nz/
>>>
>>>--
>>>Help        mailto:majordomo@net.doit.wisc.edu and say "help" 
>>>in message body
>>>Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
>>>"unsubscribe ipfix" in message body
>>>Archive     http://ipfix.doit.wisc.edu/archive/
>>>
>>>      
>>>
>>--
>>Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
>>Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
>>"unsubscribe ipfix" in message body
>>Archive     http://ipfix.doit.wisc.edu/archive/
>>    
>>
>
>--
>Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
>Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
>"unsubscribe ipfix" in message body
>Archive     http://ipfix.doit.wisc.edu/archive/
>  
>



--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 08:07:51 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA24696
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 08:07:51 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1AThR2-0000zG-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 06:57:52 -0600
Received: from tokyo.netlab.nec.de ([195.37.70.2] helo=tokyo.ccrle.nec.de)
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1AThR1-0000zA-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 06:57:51 -0600
Received: from venus.office (venus.office [10.1.1.11])
	by tokyo.ccrle.nec.de (8.12.10/8.12.9) with ESMTP id hB9CvoCx032395
	for <ipfix@net.doit.wisc.edu>; Tue, 9 Dec 2003 13:57:50 +0100 (CET)
Received: from ccrle.nec.de (molina.office [10.1.1.126])
	by venus.office (Postfix on SuSE Linux eMail Server 3.0) with ESMTP id 9D8C0E83E5
	for <ipfix@net.doit.wisc.edu>; Tue,  9 Dec 2003 13:57:49 +0100 (CET)
Message-ID: <3FD5C6CD.7070206@ccrle.nec.de>
Date: Tue, 09 Dec 2003 13:57:49 +0100
From: Maurizio Molina <molina@ccrle.nec.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ipfix@net.doit.wisc.edu
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
References: <5C8959A16A71B449AE793CF52FBBED66252FE0@ptah.newyork.qosient.com> <5C8959A16A71B449AE793CF52FBBED6607A734@ptah.newyork.qosient.com> <20031209012719.C21108@net.ohio-state.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.35
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>
Content-Transfer-Encoding: 7bit



Mark Fullmer wrote:

>It depends on how smart the exporter is...A simple way to do this
>would be to limit flows from each source to a single message.  Note, The
>existing draft uses the term "packet" where it it should be message.
>
>There appear to be some deeper problems with having multiple
>data sources in a single IPFIX session though.  For example there
>is currently no mechanism defined to describe where the data in a
>template or multiple templates representing the same data source 
>come from.
>
>The protocol can move the data but reporting tools that work with
>it don't know how its related.
>
>mark
>
>On Mon, Dec 08, 2003 at 02:27:43PM -0500, Carter Bullard wrote:
>  
>
>>Hey Nevil,
>>   This is an interesting question, as it assumes that
>>all the records are coming from a single IPFIX data
>>source.  What happens if IPFIX is transporting data
>>from multiple sources as they are received, but the
>>timestamps in the various records are not synchronized?
>>
>>Carter
>>
>>    
>>
Having heard pros and cons on this issue, why not to let timestamps in 
the  flow records encoded in one of the formats that "allows" splitting 
in 32+32 bit to appear in the flow record either as 32 or as 64 bit? If 
they are of 64 bit, the first 32 bit override whatever value it's 
written in the header (but for the flow thery're relative to only) if 
they are 32 bit they refer to the common 32 bit in the header for the 
integer part (and for all flows making use of the  header portion 
synchronization is assumed).
In this way, even in the same message, we can have coexisting full 64 
bit timestamps and 32 (header) + 32 (flow rec) timestamps.
The cost of this is that in the type definition we must explicitly 
separate the "high" and "low" part for each encoding scheme that allows 
this splitting.
For 32 bit only encoding (e.g. dateTime) or 64 bit encoding schemes not 
allowing splitting (if we decide to support them...) the timestamp in 
the header is always ignored.
Maurizio

>>
>>
>>-----Original Message-----
>>From: Nevil Brownlee [mailto:n.brownlee@auckland.ac.nz]
>>Sent: Monday, December 08, 2003 1:34 PM
>>To: carter@qosient.com; 'Maurizio Molina'
>>Cc: ipfix@net.doit.wisc.edu
>>Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
>>
>>
>>Hi Carter and Maurizio
>>
>>    
>>
>>>   I have customers today that are using uSec granularity
>>>exclusively and we're moving to nSec granularity for some
>>>applications shortly.  So, these resolutions are not exotic
>>>for my customers, they are the norm.
>>>      
>>>
>>OK, by all means let's keep all four of Jeff's timestamp formats.
>>
>>Now what about the notion of having a dateTimeUsec timestamp in the
>>header and 32-bit offsets from that for timestamps in flow groups?
>>Would that save enough space to be useful?
>>
>>CHeers, Nevil
>>
>>-----------------------------------------------------------------------
>>   Nevil Brownlee                   Director, Technology Development
>>   Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
>>   FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand
>>
>>
>>-------------------------------------------------
>>This mail sent through University of Auckland
>>http://www.auckland.ac.nz/
>>
>>
>>
>>
>>--
>>Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
>>Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
>>"unsubscribe ipfix" in message body
>>Archive     http://ipfix.doit.wisc.edu/archive/
>>    
>>



--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 10:10:28 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA28679
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 10:10:27 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATjJs-0004dc-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 08:58:36 -0600
Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATjJr-0004dX-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 08:58:35 -0600
Received: from 207-237-36-98.c3-0.avec-ubr10.nyr-avec.ny.cable.rcn.com ([207.237.36.98] helo=osiris)
	by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4)
	id 1ATjJq-00008q-00; Tue, 09 Dec 2003 09:58:34 -0500
Reply-To: <carter@qosient.com>
From: "Carter Bullard" <carter@qosient.com>
To: "'Mark Fullmer'" <maf@eng.oar.net>
Cc: "'Nevil Brownlee'" <n.brownlee@auckland.ac.nz>,
        "'Maurizio Molina'" <molina@ccrle.nec.de>, <ipfix@net.doit.wisc.edu>
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
Date: Tue, 9 Dec 2003 09:58:31 -0500
Organization: QoSient, LLC
Message-ID: <5C8959A16A71B449AE793CF52FBBED661AB501@ptah.newyork.qosient.com>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4510
Importance: Normal
In-Reply-To: <5C8959A16A71B449AE793CF52FBBED662554E8@ptah.newyork.qosient.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Hey Mark,
   IPFIX really does need to be able to support transport
of records from many sources at the same time.

Carter



-----Original Message-----
From: majordomo listserver [mailto:majordomo@mil.doit.wisc.edu] On Behalf Of
Mark Fullmer
Sent: Tuesday, December 09, 2003 1:27 AM
To: Carter Bullard
Cc: 'Nevil Brownlee'; 'Maurizio Molina'; ipfix@net.doit.wisc.edu
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding


It depends on how smart the exporter is...A simple way to do this
would be to limit flows from each source to a single message.  Note, The
existing draft uses the term "packet" where it it should be message.

There appear to be some deeper problems with having multiple
data sources in a single IPFIX session though.  For example there
is currently no mechanism defined to describe where the data in a
template or multiple templates representing the same data source
come from.

The protocol can move the data but reporting tools that work with
it don't know how its related.

mark

On Mon, Dec 08, 2003 at 02:27:43PM -0500, Carter Bullard wrote:
> Hey Nevil,
>    This is an interesting question, as it assumes that
> all the records are coming from a single IPFIX data
> source.  What happens if IPFIX is transporting data
> from multiple sources as they are received, but the
> timestamps in the various records are not synchronized?
>
> Carter
>
>
>
>
> -----Original Message-----
> From: Nevil Brownlee [mailto:n.brownlee@auckland.ac.nz]
> Sent: Monday, December 08, 2003 1:34 PM
> To: carter@qosient.com; 'Maurizio Molina'
> Cc: ipfix@net.doit.wisc.edu
> Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
>
>
> Hi Carter and Maurizio
>
> >    I have customers today that are using uSec granularity
> > exclusively and we're moving to nSec granularity for some
> > applications shortly.  So, these resolutions are not exotic
> > for my customers, they are the norm.
>
> OK, by all means let's keep all four of Jeff's timestamp formats.
>
> Now what about the notion of having a dateTimeUsec timestamp in the
> header and 32-bit offsets from that for timestamps in flow groups?
> Would that save enough space to be useful?
>
> CHeers, Nevil
>
> -----------------------------------------------------------------------
>    Nevil Brownlee                   Director, Technology Development
>    Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
>    FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand
>
>
> -------------------------------------------------
> This mail sent through University of Auckland
> http://www.auckland.ac.nz/
>
>
>
>
> --
> Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message
body
> Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> "unsubscribe ipfix" in message body
> Archive     http://ipfix.doit.wisc.edu/archive/

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message
body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/




--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 10:14:41 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA29126
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 10:14:41 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATjQ0-0004l5-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 09:04:56 -0600
Received: from smtp02.mrf.mail.rcn.net ([207.172.4.61])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATjQ0-0004l0-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 09:04:56 -0600
Received: from 207-237-36-98.c3-0.avec-ubr10.nyr-avec.ny.cable.rcn.com ([207.237.36.98] helo=osiris)
	by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4)
	id 1ATjPz-0001Qg-00; Tue, 09 Dec 2003 10:04:55 -0500
Reply-To: <carter@qosient.com>
From: "Carter Bullard" <carter@qosient.com>
To: "'MEYER,JEFFREY D \(HP-Cupertino,ex1\)'" <jeff.meyer2@hp.com>,
        "'Mark Fullmer'" <maf@eng.oar.net>
Cc: "''Ipfix Wg' \(E-mail\)'" <ipfix@net.doit.wisc.edu>
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
Date: Tue, 9 Dec 2003 10:04:52 -0500
Organization: QoSient, LLC
Message-ID: <5C8959A16A71B449AE793CF52FBBED661AB502@ptah.newyork.qosient.com>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4510
Importance: Normal
In-Reply-To: <5C8959A16A71B449AE793CF52FBBED662555DB@ptah.newyork.qosient.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Gentle People,
There will always be problems with using offsets,
because there are flows that live longer than the offset
rollover period, no matter what the offset scheme is.

You will need to support both Absolute and Relative
timestamps for IPFIX.

You should be able to support Unix timeval timestamps,
simply because tcpdump() is a significant source of
raw data for flow modelers.  Why waste the time
converting from timevals, that are in the packet stream
to begin with?

Carter


-----Original Message-----
From: majordomo listserver [mailto:majordomo@mil.doit.wisc.edu] On Behalf Of
MEYER,JEFFREY D (HP-Cupertino,ex1)
Sent: Tuesday, December 09, 2003 1:58 AM
To: 'Mark Fullmer'; MEYER,JEFFREY D (HP-Cupertino,ex1)
Cc: ''Ipfix Wg' (E-mail)'
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding


Hi,

  My preference would be milliseconds with a signed quantity.

  This gives you about +/- 2147 seconds on either side of the sentinel time.
If you do not use a signed offset it forces a flow record to be adjusted
"backward" so that all time offsets are positive (could be tricky for
FlowCreationTime).

  Using microseconds would yield only +/- 2.14 seconds which is a pretty
narrow window for grouping flows.


-- Jeff

-----Original Message-----
From: Mark Fullmer [mailto:maf@eng.oar.net]
Sent: Monday, December 08, 2003 10:18 PM
To: MEYER,JEFFREY D (HP-Cupertino,ex1)
Cc: ''Ipfix Wg' (E-mail)'
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding


Microsecond might be okay...

mark

On Mon, Dec 08, 2003 at 10:04:48PM -0800, MEYER,JEFFREY D (HP-Cupertino,ex1)
wrote:
> OK,
>
>   I'll get it right yet...
>
>   It should say for dateTimeMsec   "...32-bit integer count of (signed)
>   millisecond offset... [not microsecond]"

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message
body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/




--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 14:03:51 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA08018
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 14:03:51 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATmz7-0003Z9-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 12:53:25 -0600
Received: from sv1.eng.oar.net ([192.148.251.86])
	by mil.doit.wisc.edu with smtp (Exim 3.13 #1)
	id 1ATmz6-0003Z3-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 12:53:24 -0600
Received: (qmail 26026 invoked from network); 9 Dec 2003 18:53:24 -0000
Received: from dev1.eng.oar.net (192.148.251.71)
  by sv1.eng.oar.net with SMTP; 9 Dec 2003 18:53:24 -0000
Received: (qmail 28548 invoked by uid 4454); 9 Dec 2003 18:53:24 -0000
Date: Tue, 9 Dec 2003 13:53:24 -0500
From: Mark Fullmer <maf@eng.oar.net>
To: "MEYER,JEFFREY D \(HP-Cupertino,ex1\)" <jeff.meyer2@hp.com>
Cc: "'Ipfix Wg' \(E-mail\)" <ipfix@net.doit.wisc.edu>
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
Message-ID: <20031209135324.A28405@net.ohio-state.edu>
References: <1758A044D46A8A4CB320429F9462D6C248F7C7@xsun03.ptp.hp.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <1758A044D46A8A4CB320429F9462D6C248F7C7@xsun03.ptp.hp.com>; from jeff.meyer2@hp.com on Tue, Dec 09, 2003 at 02:57:29AM -0500
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

How do you envision an exporter implementing "split time?"

Foreach flow the metering could use a unix timeval structure internally,
ie tv_sec and tv_usec.  Then when a collection of flows is ready for
export the exporter would need to run down the list of flows, pick
a suitable "header time" then adjust all the flow Start and End times
to the correct usec offset.

This seems like a lot of extra work compared to the existing NetFlow
method where the flow times are not offsets and no special work
needs to be done during export.

Do you see an easier way to implement this?

mark

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 14:17:16 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA08562
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 14:17:16 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATn9B-0003kB-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 13:03:49 -0600
Received: from atlrel8.hp.com ([156.153.255.206])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATn9A-0003k5-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 13:03:48 -0600
Received: from xatlrelay2.atl.hp.com (xatlrelay2.atl.hp.com [15.45.89.191])
	by atlrel8.hp.com (Postfix) with ESMTP
	id DBF0D1C03080; Tue,  9 Dec 2003 14:03:47 -0500 (EST)
Received: from xatlbh4.atl.hp.com (xatlbh4.atl.hp.com [15.45.89.189])
	by xatlrelay2.atl.hp.com (Postfix) with ESMTP
	id D0BC01C00B5C; Tue,  9 Dec 2003 14:03:47 -0500 (EST)
Received: by xatlbh4.atl.hp.com with Internet Mail Service (5.5.2657.72)
	id <YKN6NMVM>; Tue, 9 Dec 2003 14:03:47 -0500
Message-ID: <1758A044D46A8A4CB320429F9462D6C248F7C8@xsun03.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Maurizio Molina'" <molina@ccrle.nec.de>, Mark Fullmer <maf@eng.oar.net>
Cc: "'Ipfix Wg' (E-mail)" <ipfix@net.doit.wisc.edu>
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
Date: Tue, 9 Dec 2003 14:03:45 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

  I would say "ClockPrecision" is another "Option Information Element",
which could
be transmitted by an exporter in a option flow record, rather than try to
infer
it from precision.  

  If we treat the 32 bit quantity as signed usecs, then if you only have
msec clock accuracy, your values would always be in increments of 1000.
(e.g. 32000, -27000, 1000...).  If you only have second precision you
increment/decrement in units of 1 million.

  Alternatively you specify time with 64-bit NTP style.  Again populating to
the available precision of the system.  I.e. if you only have a second
resolution clock, then the 32-bit fraction would always be 0.

-- Jeff

-----Original Message-----
From: majordomo listserver [mailto:majordomo@mil.doit.wisc.edu]On Behalf
Of Maurizio Molina
Sent: Tuesday, December 09, 2003 4:32 AM
To: Mark Fullmer
Cc: 'Ipfix Wg' (E-mail)
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding




Mark Fullmer wrote:

>Do we really need four ways to represent time?  How about one 32 bit
>format and one 64 bit format?
>
>The existing NetFlow 32 bit msec Start/End time stamps + header
>real time offset gives you msec real time resolution.  Implementations
>that can not support / don't need msec resolution can just leave the low
>order bits 0.  So this covers dateTime and dateTimeMsec with one 32
>bit encoding.
>
>64 bit NTP format format with nanosecond resolution covers microsecond
>resolution implementations.  Again, implementations that want microsecond
>just leave the low order fractional bits 0.
>
I think this opens an interesting issue:
Should IPFIX explicitly define a method for letting the exporter 
indicating the precision of its clock, e.g. via this zero-padding you 
mention?
In this case, how do we deal with the case the exporter has, for 
example, millisecond resolution but it has by chance  to fill a record 
exacly with three zeros in the fractional part, i.e. 12345.000? Should 
IPFIX specify that it has to force it 12345.001? Or should this 
precision indication be sent once and for all, e.g. in an option record? 
Or shouldn't it be sent at all?
Maurizio

>
>
>mark
>
>On Mon, Dec 08, 2003 at 10:57:32PM -0500, MEYER,JEFFREY D
(HP-Cupertino,ex1) wrote:
>  
>
>>Resending to full mail list...
>>
>>-- Jeff
>>
>>-----Original Message-----
>>From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
>>Sent: Monday, December 08, 2003 3:53 PM
>>To: 'Nevil Brownlee'
>>Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
>>
>>
>>Hi,
>>
>>  Here's a proposal for encoding:
>>
>>   - dateTime -> 32-bit integer seconds since 1970
>>   - dateTimeMsec -> 64-bit integer msec since 1970 (Java format)
>>   - dateTimeUsec -> split 32-bit integer seconds since 1970 carried in 
>>                   IPFIX flow header and 32-bit integer count of (signed)
>>                   microseconds offset from the header.  **This would
>>                   imply that all events for a flow set using this
>>optimization 
>>                   would need to occur w/in about 2000 seconds before or
>>                   after the sentinel time in the header. [+/- 2000
seconds
>>                   is +/-2,000,000,000 usecs, around the signed int32
limit]
>>   - dateTimeNsec -> 64-bit time in NTP format with 32-bits of seconds
since
>>                   1900 (NOT 1970!) and 32-bit fraction of a second
>>component.
>>                   Both values occur in the flow record.
>>
>> 
>>  Note a separate issue is what type should the basic flowCreationTime
>>and flowEndTime information elements should have?  Currently Info-02 has
>>them
>>as dateTime, but should probably be dateTimeMsec to reflect current
>>information
>>content of deployed netflow, or perhaps dateTimeUsec, if folks prefer to
>>only use 32-bits to achieve some size reduction when passing many
>>timestamps.
>>
>>  My preference would be dateTimeMsec.
>>
>>-- Jeff
>>
>>    
>>
>>>-----Original Message-----
>>>From: majordomo listserver 
>>>[mailto:majordomo@mil.doit.wisc.edu]On Behalf
>>>Of Nevil Brownlee
>>>Sent: Monday, December 08, 2003 2:07 PM
>>>To: carter@qosient.com
>>>Cc: ipfix@net.doit.wisc.edu
>>>Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
>>>
>>>
>>>Hello Carter:
>>>
>>>      
>>>
>>>>   This is an interesting question, as it assumes that
>>>>all the records are coming from a single IPFIX data
>>>>source.  What happens if IPFIX is transporting data
>>>>from multiple sources as they are received, but the
>>>>timestamps in the various records are not synchronized?
>>>>        
>>>>
>>>Sounds like a good reason not to do it.  
>>>That would simply mean that timestamps in an IPFIX record would all 
>>>be in whichever of the four encodings the meter was configured to 
>>>send, right?
>>>
>>>Cheers, Nevil
>>>
>>>--------------------------------------------------------------
>>>---------
>>>   Nevil Brownlee                   Director, Technology Development
>>>   Phone: +64 9 373 7599 x88941     ITSS, The University of Auckland
>>>   FAX: +64 9 373 7021      Private Bag 92019, Auckland, New Zealand
>>>
>>>
>>>-------------------------------------------------
>>>This mail sent through University of Auckland
>>>http://www.auckland.ac.nz/
>>>
>>>--
>>>Help        mailto:majordomo@net.doit.wisc.edu and say "help" 
>>>in message body
>>>Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
>>>"unsubscribe ipfix" in message body
>>>Archive     http://ipfix.doit.wisc.edu/archive/
>>>
>>>      
>>>
>>--
>>Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message
body
>>Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
>>"unsubscribe ipfix" in message body
>>Archive     http://ipfix.doit.wisc.edu/archive/
>>    
>>
>
>--
>Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message
body
>Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
>"unsubscribe ipfix" in message body
>Archive     http://ipfix.doit.wisc.edu/archive/
>  
>



--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message
body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 15:05:50 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA11202
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 15:05:50 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1ATnyB-00055H-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 13:56:31 -0600
Received: from atlrel9.hp.com ([156.153.255.214])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1ATnyA-00055C-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 13:56:30 -0600
Received: from xatlrelay2.atl.hp.com (xatlrelay2.atl.hp.com [15.45.89.191])
	by atlrel9.hp.com (Postfix) with ESMTP id 304BE1C02235
	for <ipfix@net.doit.wisc.edu>; Tue,  9 Dec 2003 14:56:29 -0500 (EST)
Received: from xatlbh2.atl.hp.com (xatlbh2.atl.hp.com [15.45.89.187])
	by xatlrelay2.atl.hp.com (Postfix) with ESMTP id 2A42A1C00B55
	for <ipfix@net.doit.wisc.edu>; Tue,  9 Dec 2003 14:56:29 -0500 (EST)
Received: by xatlbh2.atl.hp.com with Internet Mail Service (5.5.2657.72)
	id <YMQTN89W>; Tue, 9 Dec 2003 14:56:28 -0500
Message-ID: <1758A044D46A8A4CB320429F9462D6C248F7CC@xsun03.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Ipfix Wg' (E-mail)" <ipfix@net.doit.wisc.edu>
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
Date: Tue, 9 Dec 2003 14:56:21 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

To the rest of the list.

-----Original Message-----
From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
Sent: Tuesday, December 09, 2003 11:45 AM
To: 'Mark Fullmer'
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding


Mark,

  Here's some pseudo code for how this might work.

-- Jeff


//  pseudo code for microsecond offset in IPFIX encoded flow records.
//

   struct flow{
      uint32  tv_sec;
      uint32  tv_usec;
      uint32  numbytes;
      ...  // other information elements...
   };
   
   struct flow flowtable [MAX_TABLE_SIZE];
   int lastflowindex = -1;
   
   
   writeflows() {
   
      if (lastflowindex < 0) return;
      
      // simply take the second field from the first available flow
      // and make this the base time for this collection of flows.
      uint32  base_sec = flowtable[0].tv_sec;
      
      writeheaderToSocket(base_sec); // put 32-bit second value in header
      
      for (int i=0; i<=lastflowindex; i++){
      
         int32 offset = (flowtable[i].tv_sec - base_sec) * 1000000 +
flowtable[i].tv_usec;
         writeint32ToSocket(offset);  // put the 32-bit time offset in the
record.
         
         // write other information elements...
      }
   }

-----Original Message-----
From: majordomo listserver [mailto:majordomo@mil.doit.wisc.edu]On Behalf
Of Mark Fullmer
Sent: Tuesday, December 09, 2003 10:53 AM
To: MEYER,JEFFREY D (HP-Cupertino,ex1)
Cc: 'Ipfix Wg' (E-mail)
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding


How do you envision an exporter implementing "split time?"

Foreach flow the metering could use a unix timeval structure internally,
ie tv_sec and tv_usec.  Then when a collection of flows is ready for
export the exporter would need to run down the list of flows, pick
a suitable "header time" then adjust all the flow Start and End times
to the correct usec offset.

This seems like a lot of extra work compared to the existing NetFlow
method where the flow times are not offsets and no special work
needs to be done during export.

Do you see an easier way to implement this?

mark

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message
body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Tue Dec  9 15:27:03 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA13877
	for <ipfix-archive@lists.ietf.org>; Tue, 9 Dec 2003 15:27:03 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1AToDB-0005py-00
	for ipfix-list@mil.doit.wisc.edu; Tue, 09 Dec 2003 14:12:01 -0600
Received: from atlrel7.hp.com ([156.153.255.213])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1AToDB-0005pf-00
	for ipfix@net.doit.wisc.edu; Tue, 09 Dec 2003 14:12:01 -0600
Received: from xatlrelay2.atl.hp.com (xatlrelay2.atl.hp.com [15.45.89.191])
	by atlrel7.hp.com (Postfix) with ESMTP
	id 483AC1C01E0A; Tue,  9 Dec 2003 15:11:58 -0500 (EST)
Received: from xatlbh3.atl.hp.com (xatlbh3.atl.hp.com [15.45.89.188])
	by xatlrelay2.atl.hp.com (Postfix) with ESMTP
	id 405591C00B66; Tue,  9 Dec 2003 15:11:58 -0500 (EST)
Received: by xatlbh3.atl.hp.com with Internet Mail Service (5.5.2657.72)
	id <YKN6QBNR>; Tue, 9 Dec 2003 15:11:58 -0500
Message-ID: <1758A044D46A8A4CB320429F9462D6C248F7CD@xsun03.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Sebastian Zander'" <zander@fokus.fraunhofer.de>,
        "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
Cc: "'Ipfix Wg' (E-mail)" <ipfix@net.doit.wisc.edu>
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
Date: Tue, 9 Dec 2003 15:11:54 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Sebastian,

  Comments inline <Jeff></Jeff>

-- Jeff

-----Original Message-----
From: Sebastian Zander [mailto:zander@fokus.fraunhofer.de]
Sent: Tuesday, December 09, 2003 3:52 AM
To: MEYER,JEFFREY D (HP-Cupertino,ex1)
Cc: 'Ipfix Wg' (E-mail)
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding


Jeff,

some questions on the delta timestamps:

Why should the microsecond deltas be _signed_?

<Jeff>
If I have a collection of flows which have both FlowCreation and FlowEnd
time,
then rather than scanning the list for the "lowest value", you simply pick
the
first time value.  Signed allows you to avoid finding the lowest timestamp.

Calculating the offset time is done by looking at the difference between
the current time stamps second value and the sentinel second value in 
the header, multiply the SIGNED difference by 1000000 and add to the 
current tv_usec value.
</Jeff>


What happens when the flow is longer than 2147 seconds? Is a new flow
started? Is there a timestamp refreshment e.g. every x export includes
an absolute (sentinel) timestamp or is there an absolute timestamp
if the exporters detects the duration is > 2147?

<Jeff>
My experience with netflow is that there are active flow timers which
"chop" flows up for long duration sessions.  I think typical values are
30 minutes = 180 seconds.

So this common behavior falls easily within the window.
</Jeff>

What happens in case of unreliable transport when packets with
sentinel time get lost?
<Jeff>
The sentinel time is sent in the header of ALL flowrecord sets, so this
should not be an issue.
</Jeff>

In my view delta timestamp support seems to be a bit more than just simple
encoding and I don't fully understand how it works now.
<Jeff>
Maybe this made it clearer.  I agree that split time stamps are harder to
work with than having the full info available in one place.  And if you
split there are a couple of ways to do it.  I think the offset method I
outlined may be simplest, alternatively, something more like the current
NFv9 time encoding may be preferred, but it currently only has msec
resolution.
</Jeff>

At the moment I tend to agree in keeping all four encodings.
<Jeff>
I think so as well.  It's just a question of the details of each encoding.
I would recommend simple encoding for dateTime and dateTimeMsec (i.e. 32-bit
or 64-bit count of seconds or msecs since 1970), and leave the dateTimeUsec
and dateTimeNsec for whatever the group hammers out.
</Jeff>

Cheers,

Sebastian

MEYER,JEFFREY D (HP-Cupertino,ex1) wrote:
> Resend to list...
> 
> -----Original Message-----
> From: MEYER,JEFFREY D (HP-Cupertino,ex1) 
> Sent: Monday, December 08, 2003 11:57 PM
> To: 'Mark Fullmer'
> Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
> 
> 
> Mark,
> 
>   You're right.  It's too late at night and microseconds give you a
> reasonable window.
> 
>   So the two IPFIX information types would be:
> 
>   dateTimeUsec - signed microsecond reslolution, yielding a +/- 2147
second
> window in IPFIX encoding model.
> 
>   dateTimeNsec - nanosecond resolution, encoded using 64-bit NTP format
with
> about 136 year rollover.
> 
>   Both formats have a relatively narrow (on a geologic scale) time window.

> 
>   Java's 64-bit dateTimeMsec format increases the 64-bit rollover interval
> to +/- 292M years approximately.  I.e. A range of 2**64 msec, treating
this
> as a signed quantity means it should roll over in  +/-
> (10**-3)*(2**63)/60/60/24/365 ~= 292,471,208.
> 
>   So as a general purpose time representation, dateTimeMsec has some
> desirable properties.  But it may be that time for IPFIX is typically sent
> in dateTimeUsec or dateTimeNsec, but is persisted or transformed to
> dateTimeMsec for further processing, dependent on application.  It still
may
> make sense to define dateTimeMsec encoding according to Java time.  
> 
>   I would agree that basic dateTime (second resolution) could logically be
> transmitted using the dateTimeUsec encoding and simply stripping off the
> subsecond resolution.  So there may be no need to define an encoding for
> this in IPFIX, but it would satisfy completeness.
> 
>   How about recommending the use of dateTimeUsec or dateTimeNsec, but
> defining encodings for all four resolutions?
> 
>   In particular, the default flowCreationTime and flowEndTime would be
> redefined in the current information model as dateTimeUsec.
> 
> 
> -- Jeff
> 
> 
> -----Original Message-----
> From: Mark Fullmer [mailto:maf@eng.oar.net]
> Sent: Monday, December 08, 2003 11:19 PM
> To: MEYER,JEFFREY D (HP-Cupertino,ex1)
> Cc: ''Ipfix Wg' (E-mail)'
> Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
> 
> 
> I think you're off by one SI unit, or I'm sending e-mail too late at
> night...
> 
> Millisecond : 10^-3 seconds
> Microsecond : 10^-6 seconds
> Nanosecond  : 10^-9 seconds
> 
> 2^32 * 10^-3 = 4294967 seconds
> 2^32 * 10^-6 = 4294 seconds
> 2^32 * 10^-9 = 4 seconds
> 
> I'm not sure running down the list of flows per export packet to fix
> the timestamps is that big a deal, but it probably doesn't matter.  An
> implementation that wants the full range can put the header/sentinel
> time in the middle of the range.
> 
> mark
> 
> On Tue, Dec 09, 2003 at 01:58:04AM -0500, MEYER,JEFFREY D
(HP-Cupertino,ex1)
> wrote:
> 
>>Hi,
>>
>>  My preference would be milliseconds with a signed quantity.
>>
>>  This gives you about +/- 2147 seconds on either side of the sentinel
> 
> time.
> 
>>If you do not use a signed offset it forces a flow record to be adjusted
>>"backward" so that all time offsets are positive (could be tricky for
>>FlowCreationTime).
>>
>>  Using microseconds would yield only +/- 2.14 seconds which is a pretty
>>narrow window for grouping flows.
>>
>>
>>-- Jeff
>>
>>-----Original Message-----
>>From: Mark Fullmer [mailto:maf@eng.oar.net]
>>Sent: Monday, December 08, 2003 10:18 PM
>>To: MEYER,JEFFREY D (HP-Cupertino,ex1)
>>Cc: ''Ipfix Wg' (E-mail)'
>>Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
>>
>>
>>Microsecond might be okay...
>>
>>mark
>>
>>On Mon, Dec 08, 2003 at 10:04:48PM -0800, MEYER,JEFFREY D
> 
> (HP-Cupertino,ex1)
> 
>>wrote:
>>
>>>OK,
>>>
>>>  I'll get it right yet...
>>>
>>>  It should say for dateTimeMsec   "...32-bit integer count of (signed)
>>>  millisecond offset... [not microsecond]"
>>
> 
> --
> Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message
body
> Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> "unsubscribe ipfix" in message body
> Archive     http://ipfix.doit.wisc.edu/archive/
> 


-- 
Sebastian Zander                         E-mail: zander@fokus.fraunhofer.de
Fraunhofer FOKUS / METEOR                Tel: +49-30-3463-7287
Kaiserin-Augusta-Allee 31                Fax: +49-30-3463-8287
D-10589 Berlin, Germany
www.fokus.fraunhofer.de/usr/sebastian.zander




--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Wed Dec 10 11:23:25 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA20105
	for <ipfix-archive@lists.ietf.org>; Wed, 10 Dec 2003 11:23:25 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1AU6ji-0000BS-00
	for ipfix-list@mil.doit.wisc.edu; Wed, 10 Dec 2003 09:58:50 -0600
Received: from tokyo.netlab.nec.de ([195.37.70.2] helo=tokyo.ccrle.nec.de)
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1AU6jg-0000BC-00
	for ipfix@net.doit.wisc.edu; Wed, 10 Dec 2003 09:58:49 -0600
Received: from venus.office (venus.office [10.1.1.11])
	by tokyo.ccrle.nec.de (8.12.10/8.12.9) with ESMTP id hBAFwj6x021769
	for <ipfix@net.doit.wisc.edu>; Wed, 10 Dec 2003 16:58:45 +0100 (CET)
Received: from ccrle.nec.de (molina.office [10.1.1.126])
	by venus.office (Postfix on SuSE Linux eMail Server 3.0) with ESMTP id B597D34FF7
	for <ipfix@net.doit.wisc.edu>; Wed, 10 Dec 2003 16:58:44 +0100 (CET)
Message-ID: <3FD742B4.9020501@ccrle.nec.de>
Date: Wed, 10 Dec 2003 16:58:44 +0100
From: Maurizio Molina <molina@ccrle.nec.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "'Ipfix Wg' (E-mail)" <ipfix@net.doit.wisc.edu>
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding
References: <1758A044D46A8A4CB320429F9462D6C248F7C7@xsun03.ptp.hp.com> <3FD5B77B.1020107@ccrle.nec.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.35
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>
Content-Transfer-Encoding: 7bit


>
>>
>>  How about recommending the use of dateTimeUsec or dateTimeNsec, but
>> defining encodings for all four resolutions?
>>
> For the other 3 "high-res" 64 bit discussed encoding schemes, the 
> "desirable" characteristics I saw discussed so far were
> 1) Allowed maximum resolution
> 2) possibility to "split" into 32bit (header) + 32 bit (flow record) 
> so that to save space in export msg
> 3) maximum flow lifetime
>
> According to these 3 creteria dateTimeNsec is certainly better than 
> dateTimeUsec.

I went through this thread once again, and I realize that this my 
statement is clearly incorrect, as dateTimeNsec (NTP encoding) cannot be 
split  between the header and the flow record. Then it is a good reason 
to support all 4 types of encoding.
Maurizio



--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Wed Dec 10 14:09:37 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA10537
	for <ipfix-archive@lists.ietf.org>; Wed, 10 Dec 2003 14:09:37 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1AU8js-0003id-00
	for ipfix-list@mil.doit.wisc.edu; Wed, 10 Dec 2003 12:07:08 -0600
Received: from palrel10.hp.com ([156.153.255.245])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1AU8jr-0003iX-00
	for ipfix@net.doit.wisc.edu; Wed, 10 Dec 2003 12:07:07 -0600
Received: from xparelay1.ptp.hp.com (xparelay1.ptp.hp.com [15.1.28.62])
	by palrel10.hp.com (Postfix) with ESMTP
	id 4EB901C02DDB; Wed, 10 Dec 2003 10:07:06 -0800 (PST)
Received: from xpabh2.ptp.hp.com (xpabh2.ptp.hp.com [15.1.28.61])
	by xparelay1.ptp.hp.com (Postfix) with ESMTP
	id 30F6710054E7; Wed, 10 Dec 2003 10:07:06 -0800 (PST)
Received: by xpabh2.ptp.hp.com with Internet Mail Service (5.5.2657.72)
	id <YQ0LA4N8>; Wed, 10 Dec 2003 10:07:06 -0800
Message-ID: <1758A044D46A8A4CB320429F9462D6C248F7D7@xsun03.ptp.hp.com>
From: "MEYER,JEFFREY D (HP-Cupertino,ex1)" <jeff.meyer2@hp.com>
To: "'Maurizio Molina'" <molina@ccrle.nec.de>,
        "'Ipfix Wg' (E-mail)" <ipfix@net.doit.wisc.edu>
Subject: RE: [ipfix] [issue] INFO-24 High-res time encoding
Date: Wed, 10 Dec 2003 10:06:56 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Maurizio,

  Thanks for reviewing the threads to date.

  At this point, I believe there is an acknowledgement that all four types
may be used.  However for the default flow record one of these four needs to
be chosen.  

  I think there is also agreement that two of the types should be encoded as

follows:

   dateTime - 32-bit unsigned seconds since 1970
   dateTimeNsec - NTP format time which occupies 64-bits.  High order
32-bits
     represent seconds since 1900 (not 1970!) and low order 32-bits
represent
     the fractional seconds (fraction ranging from 0 - (2**32-1)/2**32.

  I would recommend that the following encoding also be used:

   dateTimeMsec - 64-bit unsigned milliseconds since 1970

  Finally for dateTimeUsec, I would recommend that some form of split time 
be used, where base time information is stored in a flow header and some
offset is stored in 32-bits.

  Also making dateTimeUsec the default time will provide more compact 
flow records with high resolution time.

  I've proposed a specific model for dateTimeUsec, based on a signed
microsecond component, but I don't think there is consensus on this 
point, although I'm not sure what the specific proposed alternatives
are (perhaps using the NFv9 model?).  The one issue I have w/ NFv9 is that
I don't think it achieves the optimal space efficiency and time
resolution tradeoff compared to the microsecond proposal.


Regards,

  Jeff Meyer


-----Original Message-----
From: majordomo listserver [mailto:majordomo@mil.doit.wisc.edu]On Behalf
Of Maurizio Molina
Sent: Wednesday, December 10, 2003 7:59 AM
To: 'Ipfix Wg' (E-mail)
Subject: Re: [ipfix] [issue] INFO-24 High-res time encoding



>
>>
>>  How about recommending the use of dateTimeUsec or dateTimeNsec, but
>> defining encodings for all four resolutions?
>>
> For the other 3 "high-res" 64 bit discussed encoding schemes, the 
> "desirable" characteristics I saw discussed so far were
> 1) Allowed maximum resolution
> 2) possibility to "split" into 32bit (header) + 32 bit (flow record) 
> so that to save space in export msg
> 3) maximum flow lifetime
>
> According to these 3 creteria dateTimeNsec is certainly better than 
> dateTimeUsec.

I went through this thread once again, and I realize that this my 
statement is clearly incorrect, as dateTimeNsec (NTP encoding) cannot be 
split  between the header and the flow record. Then it is a good reason 
to support all 4 types of encoding.
Maurizio



--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message
body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Thu Dec 11 15:18:08 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA20192
	for <ipfix-archive@lists.ietf.org>; Thu, 11 Dec 2003 15:18:08 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1AUWvB-0005uw-00
	for ipfix-list@mil.doit.wisc.edu; Thu, 11 Dec 2003 13:56:25 -0600
Received: from auemail1.lucent.com ([192.11.223.161] helo=auemail1.firewall.lucent.com)
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1AUWvA-0005uq-00
	for ipfix@net.doit.wisc.edu; Thu, 11 Dec 2003 13:56:24 -0600
Received: from nl0006exch001h.wins.lucent.com (h135-85-76-62.lucent.com [135.85.76.62])
	by auemail1.firewall.lucent.com (Switch-2.2.8/Switch-2.2.0) with ESMTP id hBBJuKg12058
	for <ipfix@net.doit.wisc.edu>; Thu, 11 Dec 2003 13:56:21 -0600 (CST)
Received: by nl0006exch001h.nl.lucent.com with Internet Mail Service (5.5.2656.59)
	id <XRFGP1GH>; Thu, 11 Dec 2003 20:56:02 +0100
Message-ID: <7D5D48D2CAA3D84C813F5B154F43B155031D6F36@nl0006exch001u.nl.lucent.com>
From: "Wijnen, Bert (Bert)" <bwijnen@lucent.com>
To: "'Ipfix Wg' (E-mail) (E-mail)" <ipfix@net.doit.wisc.edu>
Subject: [ipfix] Minutes from IETF58
Date: Thu, 11 Dec 2003 20:55:59 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2656.59)
Content-Type: text/plain;
	charset="iso-8859-1"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Need to be submitted to minutes@ietf.org no later than
Friday 19th of December.

Current status:  No materials submitted  
 
See: http://www.ietf.org/proceedings/03nov/index.html 
 

Thanks,
Bert 

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec 22 07:41:10 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA12698
	for <ipfix-archive@lists.ietf.org>; Mon, 22 Dec 2003 07:41:10 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1AYOn9-0005Cq-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 22 Dec 2003 06:04:07 -0600
Received: from weird-brew.cisco.com ([144.254.15.118] helo=strange-brew.cisco.com)
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1AYOn8-0005Cl-00
	for ipfix@net.doit.wisc.edu; Mon, 22 Dec 2003 06:04:06 -0600
Received: from cisco.com (dhcp-peg3-vl30-144-254-7-237.cisco.com [144.254.7.237])
	by strange-brew.cisco.com (8.11.7+Sun/8.8.8) with ESMTP id hBMC44705048;
	Mon, 22 Dec 2003 13:04:04 +0100 (CET)
Message-ID: <3FE6DDB3.1030306@cisco.com>
Date: Mon, 22 Dec 2003 13:04:03 +0100
From: Benoit Claise <bclaise@cisco.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4.1) Gecko/20031008
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Fullmer <maf@eng.oar.net>
CC: ipfix@net.doit.wisc.edu
Subject: Re: [ipfix] Option templates issues
References: <3AFDB932-1A25-11D8-BFFE-000A95DA1C38@eng.oar.net>
In-Reply-To: <3AFDB932-1A25-11D8-BFFE-000A95DA1C38@eng.oar.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>
Content-Transfer-Encoding: 7bit

Mark,

[sorry for the delay, i've been absent from the list for a while]

I understand the concern but let me ask a few questions.
What if the metering process can't "meter" one of them? Ex: flows not 
exported due to resource starvation
What if we would like to export some extra data types? Ex: IPv6 packets 
and bytes dropped
So what if the METERSTAT struct is slightly modified?

Ganesh had a good point I think:
    If the group can come up with fixed structs that you mentioned below,
    then I think what you propose can be adopted.

Aren't we going to spend a long time to determine what MUST be exported 
in this/those structure(s)?
What you defined in your METERSTAT makes perfectly from a collector 
point of view but will not always be possible to collect on the exporter?
And it does perfectly sense now, but what about in 1 year? So would we 
have a new data type with a new slightly different structure?

I'm just wondering what we should say in the protocol draft:
    1. SHOULD export a METERSTAT data type(as described in your email)? 
What if one data type can't be exported, we don't send any metering 
stats "message"?
    2. MUST export a metering statistics Options Templates that SHOULD 
contain lost_flows, lost_flows_pkts, lost_flows_bytes, lost_pkts, 
lost_bytes, time.
    3. MUST export a metering statistics Options Templates that MUST 
contain X, Y, and SHOULD contain Z
    4. MUST export a metering statistics Options Templates that contain 
at least X, Y

Actually, I think the flexibility of the Options Template is benefitial 
for any data types.

Now, this is a different story for the Hello, Failover, etc... types of 
messages that you spoke about, as the goal is totally different!

Regards, Benoit.

>
> I'd like to propose an alternative mechanism for sending auxiliary 
> data such
> as time synch messages, protocol hellos (needed for fail-over), metering
> process loss statistics (ie packets/flows lost due to resource 
> starvation),
> etc.
>
> The existing framework allows "other" data to be sent in options 
> templates.
> Take for example a metering process stat message.  Lets say the metering
> process will periodically report statistics such as
>
>   struct METERSTAT {
>     u_int32_t lost_flows;       /* flows not exported due to resource 
> starvation */
>     u_int32_t lost_flows_pkts;  /* packets in the lost flows */
>     u_int32_t lost_flows_bytes; /* bytes in the lost flows */
>     u_int32_t lost_pkts;   /* packets dropped by metering process */
>     u_int32_t lost_bytes;  /* bytes dropped by metering process */
>     time_t    now;         /* when this record was generated */
>   };
>
>   The question becomes how to encode this with an options template.
>
>   Each field in the record could have a type (6 types), then the 
> options template
>   would list each of the 6 types.  The problem here is during 
> decoding.  What
>   will the collector do if only 5 of these items show up.  The packet 
> decode
>   process is also not very straightforward when just data is sent 
> (other option
>   fields could be in the same template) because it will have to figure 
> out
>   what to do based on the field type and there's no way to group fields. 

>
>   The other option is to call METERSTAT a type (of length 24).  Now the
>   decode process can key off of the type and all the fields will 
> always be
>   there because METERSTAT is fixed and defined in the protocol 
> document just
>   like other fields like PACKETS, BYTES, PROTOCOL, etc.  The issue I 
> have here
>   is why are we bothering with a template/data model for this.  Why 
> not just
>   use traditional TLV's.
>
>   So what I'd like to see (I think) is to take one of the existing 
> reserved
>   flowset ID's, lets say 3 and use it for generic TLV data encodings.  
> Then
>   define structured data in the protocol such as METERSTAT.  IMHO this 
> allows us
>   to address a number of other issues including how to add HELLO's for 
> the
>   (optional) reliable failover, how to add aux flags like "this is 
> potentially
>   a duplicate PDU because I failed over", etc.
>
>   The TLV encodings would only be used for the low bit-rate protocol 
> messages,
>   NOT the high bandwidth flow data.  I'm also not proposing the option 
> templates
>   go away, just that we use a more traditional method for encoding the 
> non flow
>   data.
>
> mark
>
>
>
> -- 
> Help        mailto:majordomo@net.doit.wisc.edu and say "help" in 
> message body
> Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> "unsubscribe ipfix" in message body
> Archive     http://ipfix.doit.wisc.edu/archive/




--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec 22 11:44:48 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA24479
	for <ipfix-archive@lists.ietf.org>; Mon, 22 Dec 2003 11:44:46 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1AYSkL-0004Dp-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 22 Dec 2003 10:17:29 -0600
Received: from zcamail03.zca.compaq.com ([161.114.32.103])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1AYSkK-0004Dj-00
	for ipfix@net.doit.wisc.edu; Mon, 22 Dec 2003 10:17:28 -0600
Received: from cacexg12.americas.cpqcorp.net (cacexg12.americas.cpqcorp.net [16.92.1.46])
	by zcamail03.zca.compaq.com (Postfix) with ESMTP
	id A3A9AB8DA; Mon, 22 Dec 2003 08:17:27 -0800 (PST)
Received: from cacexc03.americas.cpqcorp.net ([16.92.1.27]) by cacexg12.americas.cpqcorp.net with Microsoft SMTPSVC(6.0.3790.0);
	 Mon, 22 Dec 2003 08:17:27 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [ipfix] Option templates issues
Date: Mon, 22 Dec 2003 08:17:26 -0800
Message-ID: <A747B346BDCCAB45831C24F0CD7C7F09177CEE@cacexc03.americas.cpqcorp.net>
Thread-Topic: [ipfix] Option templates issues
Thread-Index: AcPIhO3X4eIIFeVJRbOm7Kylo5LXvAAIf/qA
From: "Meyer, Jeffrey D (http://usage.fc.hp.c)" <jeff.meyer2@hp.com>
To: "Benoit Claise" <bclaise@cisco.com>, "Mark Fullmer" <maf@eng.oar.net>
Cc: <ipfix@net.doit.wisc.edu>
X-OriginalArrivalTime: 22 Dec 2003 16:17:27.0301 (UTC) FILETIME=[17547350:01C3C8A7]
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>
Content-Transfer-Encoding: quoted-printable

Hi,

  Again, I'd point out, that as Benoit indicates, there are likely to=20
be different things we want to send as "options".

  Rather than inventing an entirely new model, just make option a=20
flag on the template and REUSE what we already have for data records.
It's that simple!

-- Jeff

-----Original Message-----
From: majordomo listserver [mailto:majordomo@mil.doit.wisc.edu]On Behalf
Of Benoit Claise
Sent: Monday, December 22, 2003 4:04 AM
To: Mark Fullmer
Cc: ipfix@net.doit.wisc.edu
Subject: Re: [ipfix] Option templates issues


Mark,

[sorry for the delay, i've been absent from the list for a while]

I understand the concern but let me ask a few questions.
What if the metering process can't "meter" one of them? Ex: flows not=20
exported due to resource starvation
What if we would like to export some extra data types? Ex: IPv6 packets=20
and bytes dropped
So what if the METERSTAT struct is slightly modified?

Ganesh had a good point I think:
    If the group can come up with fixed structs that you mentioned =
below,
    then I think what you propose can be adopted.

Aren't we going to spend a long time to determine what MUST be exported=20
in this/those structure(s)?
What you defined in your METERSTAT makes perfectly from a collector=20
point of view but will not always be possible to collect on the =
exporter?
And it does perfectly sense now, but what about in 1 year? So would we=20
have a new data type with a new slightly different structure?

I'm just wondering what we should say in the protocol draft:
    1. SHOULD export a METERSTAT data type(as described in your email)?=20
What if one data type can't be exported, we don't send any metering=20
stats "message"?
    2. MUST export a metering statistics Options Templates that SHOULD=20
contain lost_flows, lost_flows_pkts, lost_flows_bytes, lost_pkts,=20
lost_bytes, time.
    3. MUST export a metering statistics Options Templates that MUST=20
contain X, Y, and SHOULD contain Z
    4. MUST export a metering statistics Options Templates that contain=20
at least X, Y

Actually, I think the flexibility of the Options Template is benefitial=20
for any data types.

Now, this is a different story for the Hello, Failover, etc... types of=20
messages that you spoke about, as the goal is totally different!

Regards, Benoit.

>
> I'd like to propose an alternative mechanism for sending auxiliary=20
> data such
> as time synch messages, protocol hellos (needed for fail-over), =
metering
> process loss statistics (ie packets/flows lost due to resource=20
> starvation),
> etc.
>
> The existing framework allows "other" data to be sent in options=20
> templates.
> Take for example a metering process stat message.  Lets say the =
metering
> process will periodically report statistics such as
>
>   struct METERSTAT {
>     u_int32_t lost_flows;       /* flows not exported due to resource=20
> starvation */
>     u_int32_t lost_flows_pkts;  /* packets in the lost flows */
>     u_int32_t lost_flows_bytes; /* bytes in the lost flows */
>     u_int32_t lost_pkts;   /* packets dropped by metering process */
>     u_int32_t lost_bytes;  /* bytes dropped by metering process */
>     time_t    now;         /* when this record was generated */
>   };
>
>   The question becomes how to encode this with an options template.
>
>   Each field in the record could have a type (6 types), then the=20
> options template
>   would list each of the 6 types.  The problem here is during=20
> decoding.  What
>   will the collector do if only 5 of these items show up.  The packet=20
> decode
>   process is also not very straightforward when just data is sent=20
> (other option
>   fields could be in the same template) because it will have to figure =

> out
>   what to do based on the field type and there's no way to group =
fields.=20

>
>   The other option is to call METERSTAT a type (of length 24).  Now =
the
>   decode process can key off of the type and all the fields will=20
> always be
>   there because METERSTAT is fixed and defined in the protocol=20
> document just
>   like other fields like PACKETS, BYTES, PROTOCOL, etc.  The issue I=20
> have here
>   is why are we bothering with a template/data model for this.  Why=20
> not just
>   use traditional TLV's.
>
>   So what I'd like to see (I think) is to take one of the existing=20
> reserved
>   flowset ID's, lets say 3 and use it for generic TLV data encodings.  =

> Then
>   define structured data in the protocol such as METERSTAT.  IMHO this =

> allows us
>   to address a number of other issues including how to add HELLO's for =

> the
>   (optional) reliable failover, how to add aux flags like "this is=20
> potentially
>   a duplicate PDU because I failed over", etc.
>
>   The TLV encodings would only be used for the low bit-rate protocol=20
> messages,
>   NOT the high bandwidth flow data.  I'm also not proposing the option =

> templates
>   go away, just that we use a more traditional method for encoding the =

> non flow
>   data.
>
> mark
>
>
>
> --=20
> Help        mailto:majordomo@net.doit.wisc.edu and say "help" in=20
> message body
> Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> "unsubscribe ipfix" in message body
> Archive     http://ipfix.doit.wisc.edu/archive/




--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message =
body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec 22 12:17:14 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA25709
	for <ipfix-archive@lists.ietf.org>; Mon, 22 Dec 2003 12:17:13 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1AYTRX-0005YF-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 22 Dec 2003 11:02:07 -0600
Received: from ihemail2.lucent.com ([192.11.222.163] helo=ihemail2.firewall.lucent.com)
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1AYTRW-0005YA-00
	for ipfix@net.doit.wisc.edu; Mon, 22 Dec 2003 11:02:06 -0600
Received: from nl0006exch001h.wins.lucent.com (h135-85-76-62.lucent.com [135.85.76.62])
	by ihemail2.firewall.lucent.com (Switch-2.2.8/Switch-2.2.0) with ESMTP id hBMH22e09626
	for <ipfix@net.doit.wisc.edu>; Mon, 22 Dec 2003 11:02:02 -0600 (CST)
Received: by nl0006exch001h.nl.lucent.com with Internet Mail Service (5.5.2656.59)
	id <Z1K6NJ9J>; Mon, 22 Dec 2003 17:46:57 +0100
Message-ID: <7D5D48D2CAA3D84C813F5B154F43B155028EC41F@nl0006exch001u.nl.lucent.com>
From: "Wijnen, Bert (Bert)" <bwijnen@lucent.com>
To: "'Ipfix Wg' (E-mail) (E-mail)" <ipfix@net.doit.wisc.edu>
Cc: "'simon@limmat.switch.ch'" <simon@limmat.switch.ch>
Subject: [ipfix] AD Evaluation of: draft-leinen-ipfix-eval-contrib-01.txt
Date: Mon, 22 Dec 2003 17:46:55 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2656.59)
Content-Type: text/plain;
	charset="iso-8859-1"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Serious questions:
- Many of the documents for the protcools that were evaluated 
  are (possibly expired or soon to expire) internet-drafts.
  Are you sure they are just informative and that there is no
  need to read them in order to understand the evaluation?
  Possibly they are not needed (I think I can see that after
  reading the whol draft). It might be good to make an explicit
  statement at the end of section 1 to say that you have extracted
  the relevant information from the evaluation drafts and that
  the detailed content of those drafts is not needed to understand 
  this summary/executive/consolidated evaluation document.

- Anyway, 
  - I see that some have made it to RFC. 
    RFC3423 - draft-kzhang-crane-protocol-05.txt
    RFC3588 - draft-ietf-aaa-diameter-17.txt
  - These are still there as (very old) drafts
    draft-kzhang-ipfix-eval-crane-00.txt
    draft-zander-ipfix-diameter-eval-00.txt
    draft-calato-ipfix-lfap-eval-00.txt
    draft-bclaise-netflow-9-00.txt
  - I do not see/find:
    expired: draft-riverstone-lfap-01.txt
    expired: draft-riverstone-lfap-data-01.txt
    expired: draft-claise-ipfix-eval-netflow-04.txt
  And so on.
- 6.  Security Considerations
    The security mechanisms of the candidate protocols were discussed in
    the section about the Security requirement (6.3.2).
  I think it would be good to make a reference here to the doc that 
  contains that sect 6.3.2 !! And porbably you mean sect 6.3.3. in
  the ipfix requirements doc anyway!

Nits and admin comments

- abstract speaks about "this draft", you man "this document"
  draft dioes not read so well when it is an RFC.
- first sentence in sect 4.1 missing right parenthesis
- sect 4.10.3.2 3rd line: s/evel/level/
- ANy idea, where reference [NDM-U-3.1] can be obtained/accessed?
  

Thanks,
Bert 

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec 22 12:22:24 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA25837
	for <ipfix-archive@lists.ietf.org>; Mon, 22 Dec 2003 12:22:24 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1AYTYX-0005d9-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 22 Dec 2003 11:09:22 -0600
Received: from zcamail03.zca.compaq.com ([161.114.32.103])
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1AYTYW-0005d4-00
	for ipfix@net.doit.wisc.edu; Mon, 22 Dec 2003 11:09:21 -0600
Received: from cacexg11.americas.cpqcorp.net (cacexg11.americas.cpqcorp.net [16.92.1.50])
	by zcamail03.zca.compaq.com (Postfix) with ESMTP
	id ACB8FBB38; Mon, 22 Dec 2003 09:08:30 -0800 (PST)
Received: from cacexc03.americas.cpqcorp.net ([16.92.1.27]) by cacexg11.americas.cpqcorp.net with Microsoft SMTPSVC(6.0.3790.0);
	 Mon, 22 Dec 2003 09:08:30 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [ipfix] AD Evaluation of: draft-leinen-ipfix-eval-contrib-01.txt
Date: Mon, 22 Dec 2003 09:08:29 -0800
Message-ID: <A747B346BDCCAB45831C24F0CD7C7F09177CF4@cacexc03.americas.cpqcorp.net>
Thread-Topic: [ipfix] AD Evaluation of: draft-leinen-ipfix-eval-contrib-01.txt
Thread-Index: AcPIrcyo6P6/25PARJOkh+UpJ96hrgAADqZA
From: "Meyer, Jeffrey D (http://usage.fc.hp.c)" <jeff.meyer2@hp.com>
To: "Wijnen, Bert (Bert)" <bwijnen@lucent.com>,
        "'Ipfix Wg' (E-mail) (E-mail)" <ipfix@net.doit.wisc.edu>
Cc: <simon@limmat.switch.ch>
X-OriginalArrivalTime: 22 Dec 2003 17:08:30.0249 (UTC) FILETIME=[38FD3990:01C3C8AE]
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>
Content-Transfer-Encoding: quoted-printable

Hi Bert,

  In answer to your very last question.  NDM-U 3.1.1 is available at the
following URL:

  http://www.ipdr.org/documents/NDM-U_3.1.1.pdf

Regards,

  Jeff Meyer

-----Original Message-----
From: majordomo listserver [mailto:majordomo@mil.doit.wisc.edu]On Behalf
Of Wijnen, Bert (Bert)
Sent: Monday, December 22, 2003 8:47 AM
To: 'Ipfix Wg' (E-mail) (E-mail)
Cc: 'simon@limmat.switch.ch'
Subject: [ipfix] AD Evaluation of:
draft-leinen-ipfix-eval-contrib-01.txt


Serious questions:
- Many of the documents for the protcools that were evaluated=20
  are (possibly expired or soon to expire) internet-drafts.
  Are you sure they are just informative and that there is no
  need to read them in order to understand the evaluation?
  Possibly they are not needed (I think I can see that after
  reading the whol draft). It might be good to make an explicit
  statement at the end of section 1 to say that you have extracted
  the relevant information from the evaluation drafts and that
  the detailed content of those drafts is not needed to understand=20
  this summary/executive/consolidated evaluation document.

- Anyway,=20
  - I see that some have made it to RFC.=20
    RFC3423 - draft-kzhang-crane-protocol-05.txt
    RFC3588 - draft-ietf-aaa-diameter-17.txt
  - These are still there as (very old) drafts
    draft-kzhang-ipfix-eval-crane-00.txt
    draft-zander-ipfix-diameter-eval-00.txt
    draft-calato-ipfix-lfap-eval-00.txt
    draft-bclaise-netflow-9-00.txt
  - I do not see/find:
    expired: draft-riverstone-lfap-01.txt
    expired: draft-riverstone-lfap-data-01.txt
    expired: draft-claise-ipfix-eval-netflow-04.txt
  And so on.
- 6.  Security Considerations
    The security mechanisms of the candidate protocols were discussed in
    the section about the Security requirement (6.3.2).
  I think it would be good to make a reference here to the doc that=20
  contains that sect 6.3.2 !! And porbably you mean sect 6.3.3. in
  the ipfix requirements doc anyway!

Nits and admin comments

- abstract speaks about "this draft", you man "this document"
  draft dioes not read so well when it is an RFC.
- first sentence in sect 4.1 missing right parenthesis
- sect 4.10.3.2 3rd line: s/evel/level/
- ANy idea, where reference [NDM-U-3.1] can be obtained/accessed?
 =20

Thanks,
Bert=20

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message =
body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


From majordomo@mil.doit.wisc.edu  Mon Dec 22 15:33:42 2003
Received: from mil.doit.wisc.edu (mil.doit.wisc.edu [128.104.31.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA06284
	for <ipfix-archive@lists.ietf.org>; Mon, 22 Dec 2003 15:33:42 -0500 (EST)
Received: from majordomo by mil.doit.wisc.edu with local (Exim 3.13 #1)
	id 1AYWMk-0002fm-00
	for ipfix-list@mil.doit.wisc.edu; Mon, 22 Dec 2003 14:09:22 -0600
Received: from ihemail2.lucent.com ([192.11.222.163] helo=ihemail2.firewall.lucent.com)
	by mil.doit.wisc.edu with esmtp (Exim 3.13 #1)
	id 1AYWMk-0002fh-00
	for ipfix@net.doit.wisc.edu; Mon, 22 Dec 2003 14:09:22 -0600
Received: from nl0006exch001h.wins.lucent.com (h135-85-76-62.lucent.com [135.85.76.62])
	by ihemail2.firewall.lucent.com (Switch-2.2.8/Switch-2.2.0) with ESMTP id hBMK9Ie02255
	for <ipfix@net.doit.wisc.edu>; Mon, 22 Dec 2003 14:09:18 -0600 (CST)
Received: by nl0006exch001h.nl.lucent.com with Internet Mail Service (5.5.2656.59)
	id <Z1K6NM7M>; Mon, 22 Dec 2003 21:09:17 +0100
Message-ID: <7D5D48D2CAA3D84C813F5B154F43B155028EC422@nl0006exch001u.nl.lucent.com>
From: "Wijnen, Bert (Bert)" <bwijnen@lucent.com>
To: "'Meyer, Jeffrey D (http://usage.fc.hp.c)'" <jeff.meyer2@hp.com>,
        "Wijnen, Bert (Bert)" <bwijnen@lucent.com>,
        "'Ipfix Wg' (E-mail) (E-mail)" <ipfix@net.doit.wisc.edu>
Cc: simon@limmat.switch.ch
Subject: RE: [ipfix] AD Evaluation of: draft-leinen-ipfix-eval-contrib-01.
	txt
Date: Mon, 22 Dec 2003 21:09:06 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2656.59)
Content-Type: text/plain;
	charset="iso-8859-1"
Precedence: bulk
Sender: majordomo listserver <majordomo@mil.doit.wisc.edu>

Of course my idea was that such could/should be added to
the reference specification!?

Thanks,
Bert 

> -----Original Message-----
> From: Meyer, Jeffrey D (http://usage.fc.hp.c)
> [mailto:jeff.meyer2@hp.com]
> Sent: maandag 22 december 2003 18:08
> To: Wijnen, Bert (Bert); 'Ipfix Wg' (E-mail) (E-mail)
> Cc: simon@limmat.switch.ch
> Subject: RE: [ipfix] AD Evaluation of:
> draft-leinen-ipfix-eval-contrib-01.txt
> 
> 
> Hi Bert,
> 
>   In answer to your very last question.  NDM-U 3.1.1 is 
> available at the
> following URL:
> 
>   http://www.ipdr.org/documents/NDM-U_3.1.1.pdf
> 
> Regards,
> 
>   Jeff Meyer
> 
> -----Original Message-----
> From: majordomo listserver 
> [mailto:majordomo@mil.doit.wisc.edu]On Behalf
> Of Wijnen, Bert (Bert)
> Sent: Monday, December 22, 2003 8:47 AM
> To: 'Ipfix Wg' (E-mail) (E-mail)
> Cc: 'simon@limmat.switch.ch'
> Subject: [ipfix] AD Evaluation of:
> draft-leinen-ipfix-eval-contrib-01.txt
> 
> 
> Serious questions:
> - Many of the documents for the protcools that were evaluated 
>   are (possibly expired or soon to expire) internet-drafts.
>   Are you sure they are just informative and that there is no
>   need to read them in order to understand the evaluation?
>   Possibly they are not needed (I think I can see that after
>   reading the whol draft). It might be good to make an explicit
>   statement at the end of section 1 to say that you have extracted
>   the relevant information from the evaluation drafts and that
>   the detailed content of those drafts is not needed to understand 
>   this summary/executive/consolidated evaluation document.
> 
> - Anyway, 
>   - I see that some have made it to RFC. 
>     RFC3423 - draft-kzhang-crane-protocol-05.txt
>     RFC3588 - draft-ietf-aaa-diameter-17.txt
>   - These are still there as (very old) drafts
>     draft-kzhang-ipfix-eval-crane-00.txt
>     draft-zander-ipfix-diameter-eval-00.txt
>     draft-calato-ipfix-lfap-eval-00.txt
>     draft-bclaise-netflow-9-00.txt
>   - I do not see/find:
>     expired: draft-riverstone-lfap-01.txt
>     expired: draft-riverstone-lfap-data-01.txt
>     expired: draft-claise-ipfix-eval-netflow-04.txt
>   And so on.
> - 6.  Security Considerations
>     The security mechanisms of the candidate protocols were 
> discussed in
>     the section about the Security requirement (6.3.2).
>   I think it would be good to make a reference here to the doc that 
>   contains that sect 6.3.2 !! And porbably you mean sect 6.3.3. in
>   the ipfix requirements doc anyway!
> 
> Nits and admin comments
> 
> - abstract speaks about "this draft", you man "this document"
>   draft dioes not read so well when it is an RFC.
> - first sentence in sect 4.1 missing right parenthesis
> - sect 4.10.3.2 3rd line: s/evel/level/
> - ANy idea, where reference [NDM-U-3.1] can be obtained/accessed?
>   
> 
> Thanks,
> Bert 
> 
> --
> Help        mailto:majordomo@net.doit.wisc.edu and say "help" 
> in message body
> Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
> "unsubscribe ipfix" in message body
> Archive     http://ipfix.doit.wisc.edu/archive/
> 

--
Help        mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe ipfix" in message body
Archive     http://ipfix.doit.wisc.edu/archive/


