Re: [IPFIX] exporting ranges in IPFIX

Paul Aitken <paitken@cisco.com> Fri, 08 June 2012 21:06 UTC

Return-Path: <paitken@cisco.com>
X-Original-To: ipfix@ietfa.amsl.com
Delivered-To: ipfix@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5C11211E8113 for <ipfix@ietfa.amsl.com>; Fri, 8 Jun 2012 14:06:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fFSk535ABAvF for <ipfix@ietfa.amsl.com>; Fri, 8 Jun 2012 14:06:21 -0700 (PDT)
Received: from ams-iport-1.cisco.com (ams-iport-1.cisco.com [144.254.224.140]) by ietfa.amsl.com (Postfix) with ESMTP id DBB6021F8692 for <ipfix@ietf.org>; Fri, 8 Jun 2012 14:06:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=paitken@cisco.com; l=1764; q=dns/txt; s=iport; t=1339189578; x=1340399178; h=message-id:date:from:mime-version:to:subject:references: in-reply-to:content-transfer-encoding; bh=+B60ZNopqgNx5m85IjncAKAl5zCYUr5uV6UAcrK/Ndw=; b=E/Oqej29qDhehQfYdKvpxICMlo1q2EKzIKiSNCmP2r94KZTLbwlfwvA+ dn1lTXJbB8WmhYk+un6Cdszx+0ERNbpw0Me8gAohhaGIAniewHo3EMK58 H8NCHIv5GtuNwWeZcueAjnOxrFJvwvDJLbumqaBIhqxj9FMbWAKMAvcHO Q=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAJlo0k+Q/khL/2dsb2JhbABFtFeBB4IYAQEBBAEBAQ8BJTMDChELGAkWDwkDAgECARUwBg0GAgEBHodpC5kWn1yRJgOVHoEShEGIQoFmgmE
X-IronPort-AV: E=Sophos;i="4.75,738,1330905600"; d="scan'208";a="139385854"
Received: from ams-core-2.cisco.com ([144.254.72.75]) by ams-iport-1.cisco.com with ESMTP; 08 Jun 2012 21:06:06 +0000
Received: from [10.61.91.13] (ams3-vpn-dhcp6926.cisco.com [10.61.91.13]) by ams-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id q58L65GS007641 for <ipfix@ietf.org>; Fri, 8 Jun 2012 21:06:06 GMT
Message-ID: <4FD2693E.9090808@cisco.com>
Date: Fri, 08 Jun 2012 22:06:06 +0100
From: Paul Aitken <paitken@cisco.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
MIME-Version: 1.0
To: IETF IPFIX Working Group <ipfix@ietf.org>
References: <4FCE149B.8010802@cisco.com> <4FCE168A.6020603@cisco.com> <4FCE25CB.5020508@cisco.com>
In-Reply-To: <4FCE25CB.5020508@cisco.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: Re: [IPFIX] exporting ranges in IPFIX
X-BeenThere: ipfix@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IPFIX WG discussion list <ipfix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipfix>, <mailto:ipfix-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipfix>
List-Post: <mailto:ipfix@ietf.org>
List-Help: <mailto:ipfix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipfix>, <mailto:ipfix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Jun 2012 21:06:22 -0000

Dear all,

I've had two feedbacks requesting a range start / range end mechanism. 
So I propose to request four fields:

    Port block start:           16 bits
    Port block end:             16 bits
    Port block step size        16 bits
    Number of ports in block    16 bits

These can be reported in whatever way best matches the implementation.

eg, { start, step, number }, { start, end, step }, { start, end, number }.

The default step size will be 1, so { start, end } indicates a 
contiguous range.

Finally, I've upped the step size from 8 bits to 16 bits to allow step 
sizes > 255.

Any further feedback?

Thanks,
P.


On 05/06/12 16:29, Paul Aitken wrote:
> Dear IPFIX experts,
>
> As far as I know, IPFIX doesn't have a generic mechanism for reporting 
> ranges.
>
> I'm looking for a way to report bulk port allocation per section 5 of 
> http://tools.ietf.org/html/draft-ietf-behave-lsn-requirements-05.
>
> This method would be useful for reporting port ranges in 
> draft-tsou-behave-natx4-log-reduction-02 and 
> draft-bajko-pripaddrassign-04.
>
> So I propose to request three new IPFIX Information Elements:
>
>    Port block start:           16 bits
>    Port block step size         8 bits
>    Number of ports in block    16 bits
>
>
> However, there could be better ways to export a "range" which don't 
> require three new IEs each time. Do you forsee a need for a such a 
> mechanism?
>
> Shall I proceed with my request to IANA? If so, should I write a short 
> ID explaining how the three IEs should be used together?
>
> Thanks,
> P.
>
> _______________________________________________
> IPFIX mailing list
> IPFIX@ietf.org
> https://www.ietf.org/mailman/listinfo/ipfix