Re: sFlow parsing troubles...

From: Elisa Jasinska <elisa.jasinska@ams-ix.net>
Date: 11/23/06
Message-Id: <B93A8B76-97A0-4CAF-8874-8FB5366175F9@ams-ix.net>

Hi,

On Nov 23, 2006, at 8:37 PM, Mandip S Sangha wrote:
> Is there documentation to tell us at what byte within the
> headerBytes to find
> srcIP, dstIP IPProtocol, IPTOS, TCPSrcPort, TCPDstPort?

That is, like the name says, a raw packet header, so you have to look
into how the headers of an ethernet frame look like (IP, TCP, etc.).

>
> Also where in this data is the actual bytes transfered by each of
> the flows?

'Flow' is a bit incorrect in case of sFlow, because it's actually not
showing you flows (like NetFlow does) but packet samples. You can
find out the packet size by looking into the length field of the IP
header.

Cheers

--
Elisa Jasinska - AMS-IX NOC
http://www.ams-ix.net
Received on Thu Nov 23 14:55:59 2006

This archive was generated by hypermail 2.1.8 : 11/23/06 PST