TRACEENDS(1)

NAME
traceends - summarise traffic done by every endpoint observed in a trace

SYNOPSIS
traceends [ -t threads | --threads=threads ] [ -f bpf | --filter=bpf ] [ -a addrtype | --address=addrtype ] [ -S | --ignore-source ] [ -D | --ignore-dest ] [ -H | --help] inputuri [inputuri ...]

DESCRIPTION
traceends reports the number of bytes and packets sent and received by each endpoint observed in the input trace(s). Usually, you don't want to run this program directly -- see tracetopends instead.

OPTIONS

-t threads
    Use the given number of threads for packet processing. Defaults to 1 thread.

-f bpf filter
    Ignore packets that do not match this tcpdump style bpf filter.

-A address type
    Specifies how an endpoint should be defined. Suitable options are "mac", "v4" and "v6" which will report endpoint stats for each observed MAC address, IPv4 address and IPv6 address respectively.

-S, --ignore-source
    Do not track endpoints which are sending traffic. Mutually exclusive with the ignore-dest option.

-D, --ignore-dest
    Do not track endpoints which are receiving traffic. Mutually exclusive with the ignore-source option.

OUTPUT
Output is written to stdout in columns separated by blank space. The columns are (in order):
 * Endpoint address
 * Time last observed
 * Packets originating from the endpoint
 * Bytes originating from the endpoint (IP header onwards)
 * Payload originating from the endpoint (post transport header)
 * Packets sent to the endpoint
 * Bytes sent to the endpoint (IP header onwards)
 * Payload sent to the endpoint (post transport header)

EXAMPLES
Get stats for each individual MAC address in a trace:
traceends -a mac erf:trace.erf.gz

LINKS
More details about traceends (and libtrace) can be found at http://www.wand.net.nz/trac/libtrace/wiki/UserDocumentation

SEE ALSO
libtrace(3), tracemerge(1), tracefilter(1), traceconvert(1), tracesplit_dir(1), tracereport(1), tracertstats(1), tracestats(1), tracepktdump(1), traceanon(1), tracesummary(1), tracereplay(1), tracediff(1), tracetopends(1)

AUTHORS
Shane Alcock <salcock@cs.waikato.ac.nz>