Mailing List Archive

Getting the transmitted bytes src/dst in a flow
Hi,

I am having a hard time trying to realize how I could get the source and destination traffic in bytes of a flow.
I tried to use these elements of structs but with little success:

- packet_direction_counter
- byte_counter

How can I get the amount of bytes coming from the source and coming from the destination in a flow?


Thanks!

Gouveia
Re: Getting the transmitted bytes src/dst in a flow [ In reply to ]
Hi Gouveia
are you generating flows with nprobe or collecting them? Please explain the context

Thanks Luca

> On 19 Sep 2017, at 20:01, Henrique Nascimento Gouveia <h.gouveia@icloud.com> wrote:
>
> Hi,
>
> I am having a hard time trying to realize how I could get the source and destination traffic in bytes of a flow.
> I tried to use these elements of structs but with little success:
>
> - packet_direction_counter
> - byte_counter
>
> How can I get the amount of bytes coming from the source and coming from the destination in a flow?
>
>
> Thanks!
>
> Gouveia
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
Ntop-misc@listgateway.unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-misc
Re: Getting the transmitted bytes src/dst in a flow [ In reply to ]
OK. I am not using nprobe.

I am collection packets that were read from a pcap and using them to build flows with ndpi.


Send Ntop-misc mailing list submissions to
   ntop-misc@listgateway.unipi.it

To subscribe or unsubscribe via the World Wide Web, visit
 http://listgateway.unipi.it/mailman/listinfo/ntop-misc
or, via email, send a message with subject or body 'help' to
       ntop-misc-request@listgateway.unipi.it

You can reach the person managing the list at
 ntop-misc-owner@listgateway.unipi.it

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ntop-misc digest..."


Today's Topics:

1. Getting the transmitted bytes src/dst in a flow
(Henrique Nascimento Gouveia)
2. Re: Getting the transmitted bytes src/dst in a flow (Luca Deri)


----------------------------------------------------------------------

Message: 1
Date: Tue, 19 Sep 2017 18:01:26 +0000 (GMT)
From: Henrique Nascimento Gouveia <h.gouveia@icloud.com>
To: ntop-misc@listgateway.unipi.it
Subject: [Ntop-misc] Getting the transmitted bytes src/dst in a flow
Message-ID: <cf88d11d-dc39-4768-9768-7a0038788654@me.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Hi,

I am having a hard time trying to realize how I could get the source and destination traffic in bytes of a flow.
I tried to use these elements of structs but with little success:

- packet_direction_counter
- byte_counter

How can I get the amount of bytes coming from the source and coming from the destination in a flow?


Thanks!

Gouveia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listgateway.unipi.it/mailman/private/ntop-misc/attachments/20170919/e91e5573/attachment-0001.htm>

------------------------------

Message: 2
Date: Tue, 19 Sep 2017 22:12:06 +0200
From: Luca Deri <deri@ntop.org>
To: ntop-misc@listgateway.unipi.it
Subject: Re: [Ntop-misc] Getting the transmitted bytes src/dst in a
       flow
Message-ID: <5742B2A3-90B5-4D5D-945D-76B685D992A4@ntop.org>
Content-Type: text/plain; charset=us-ascii

Hi Gouveia
are you generating flows with nprobe or collecting them? Please explain the context

Thanks Luca

On 19 Sep 2017, at 20:01, Henrique Nascimento Gouveia <h.gouveia@icloud.com> wrote:

Hi,

I am having a hard time trying to realize how I could get the source and destination traffic in bytes of a flow.
I tried to use these elements of structs but with little success:

- packet_direction_counter
- byte_counter

How can I get the amount of bytes coming from the source and coming from the destination in a flow?


Thanks!

Gouveia
_______________________________________________
Ntop-misc mailing list
Ntop-misc@listgateway.unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-misc



------------------------------

_______________________________________________
Ntop-misc mailing list
Ntop-misc@listgateway.unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

End of Ntop-misc Digest, Vol 159, Issue 15
******************************************