Produce various reports on a trace (or traceset)
tracereport [ -f bpf | --filter=bpf ] [ -e | --error ] [ -F | --flow ] [ -m | --misc ] [ -P | --protocol ] [ -p | --port ] [ -T | --tos ] [ -t | --ttl ] [ -O | --tcpoptions ] [ -o | --synoptions ] [ -n | --nlp ] [ -d | --direction ] [ -C | --ecn ] [ -s | --tcpsegment ] inputuri...
tracereport -H | --help
tracereport can produce a variety of reports on the properties of a trace. The user specifies the reports required using command-line options.
-f bpf-filter
-\^-filter bpf-filter
Only report on packets that match the provided bpf filter. See tcpdump(1) for the syntax of the bpf-filter expression.
-e
-\^-error
Produce a report on packet errors (e.g checksum failures, rxerrors)
-F
-\^-flow
Produces a report on the number of flows observed in the trace
-m
-\^-misc
Provides a report listing the time of the first packet, and the time of the last packet in the trace, the duration, the total number of packets in the trace, and the average number of packets per second.
-P
-\^-protocol
Produces a report on which transport layer protocols are observed in the trace
-p
-\^-port
Produces a report on which port numbers are observed in the trace
-T
-\^-tos
Produces a report on the contents of the IP header's ToS field
-t
-\^-ttl
Produces a report on the TTL of packets in the trace
-O
-\^-tcpoptions
Produces a report on which TCP options are observed on all packets in the trace
-o
-\^-synoptions
Produces a report on which combinations of TCP options are observed on SYN packets in the trace
-n
-\^-nlp
Produces a report on the network layer protocols observed in the trace
-d
-\^-direction
Produces a report on how much traffic is travelling in each direction
-C
-\^-ecn
Produces a report on the usage of the ECN field of the TCP header
-s
-\^-tcpsegment
Produces a report on the sizes of TCP segments in the trace
-H
-\^-help
Provides usage instructions
More details about tracereport (and libtrace) can be found at http://www.wand.net.nz/trac/libtrace/wiki/UserDocumentation
Perry Lorier <[email protected]>