Subject: Re: [OPSAWG] draft-gray-sampled-streaming-01.txt

From: "Gray, Andrew A" <[email-masked]>
Date: Fri, 27 Sep 2019 16:37:06 +0000

That’s a good point, and one I hadn’t considered before.  I think an implementation would be relatively straight forward for this use case – your capture points would be listed as one per interface, and the points reporting a 1:1 mapping of the interfaces.

I believe the YANG model is flexible enough to describe the PCAP-NG enhanced packet block format with its current definitions, minus having the extra options and block total length after the variable length packet data – right now the model only allows one variable length field (which would be the packet data).
The capture filters would be relatively straight-forward to convert to the command line arguments, as you mention, so the filtering support would be easy as well.

This may actually be useful to write up as a proof-of-concept/running-code type example for the draft.  I would need to ponder this a little bit more and give it a try and see how it would work against the prototype receiver I wrote for lab/testing work.

From: Dmytro Shytyi <[email-masked]>
Date: Friday, September 27, 2019 at 12:50 AM
To: "Gray, Andrew A" <[email-masked]>
Cc: opsawg <[email-masked]>
Subject: Re: [OPSAWG] draft-gray-sampled-streaming-01.txt

Hello,
Is it possible that this approach is applicable to non ASIC equipment?
For example the devices that are running NFVIs (uCPE I-D "opsawg vysm") with x86 capabilities. Normally the tcpdump/tshark can be started in this kind of devices. One can imagine that this yang model variables could be mapped to the filter arguments  on the sniffing software?
Best,
Dmytro Shytyi.
Get BlueMail for Android<http://www.bluemail.me/r?b=15656>
On Sep 26, 2019, at 22:09, "Gray, Andrew A" <[email-masked]<mailto:[email-masked]>> wrote:

I have updated draft-gray-sampled-streaming with the feedback I have received to do (thank you to those that reviewed and provided that feedback).

-01 includes additional clarifications about format, clarifying how traffic direction is handled, and some other cleanups.  I have not yet had a chance to look at Flowspec for rule definitions, so that part is not in yet.

Please feel free to take a look, and am interested in getting feedback back.  Thanks!

A new version of I-D, draft-gray-sampled-streaming-01.txt
has been successfully submitted by Andrew Gray and posted to the
IETF repository.

Name:  draft-gray-sampled-streaming
Revision: 01
Title:  Sampled Traffic Streaming
Document date: 2019-09-25
Group:  Individual Submission
Pages:  18
URL:            https://www.ietf.org/internet-drafts/draft-gray-sampled-streaming-01.txt
Status:         https://datatracker.ietf.org/doc/draft-gray-sampled-streaming/
Htmlized:       https://tools.ietf.org/html/draft-gray-sampled-streaming-01
Htmlized:       https://datatracker.ietf.org/doc/html/draft-gray-sampled-streaming
Diff:           https://www.ietf.org/rfcdiff?url2=draft-gray-sampled-streaming-01

Abstract:
   This document standardizes the means of requesting a sampled capture
   stream from a router, receiving details about the resulting data
   flow, and the structure of the data flow itself.  This is
   specifically tailored to having various hardware ASICs be able to
   perform this operation as quickly as possible, by allowing
   communication of the specific bit formats of headers applied to the
   packet flow, in a way that enhances interoperability between sources
   and sinks.  Historically, NetFlow and its ilk have been used for
   these use cases, however the growth in hardware forward speeds is far
   outpacing the growth in CPU speeds, and the CPU-heavy parts of
   NetFlow is resulting in a reduction of sampling rates that include
   all of the fields provided by NetFlow that require CPU lookups.

E-MAIL CONFIDENTIALITY NOTICE:
The contents of this e-mail message and any attachments are intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the intended recipient of this message or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. If you are not the intended recipient, you are notified that any use, dissemination, distribution, copying, or storage of this message or any attachment is strictly prohibited.

________________________________

OPSAWG mailing list
[email-masked]
https://www.ietf.org/mailman/listinfo/opsawg
E-MAIL CONFIDENTIALITY NOTICE: 
The contents of this e-mail message and any attachments are intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the intended recipient of this message or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. If you are not the intended recipient, you are notified that any use, dissemination, distribution, copying, or storage of this message or any attachment is strictly prohibited.