Corsaro allows high-speed analysis of trace data on a per-packet basis and provides a mechanism for aggregating results based on customizable time intervals. Trace data is read using the libtrace trace processing library, and a high-level IO abstraction layer allows results to be transparently written to compressed files, using threaded IO. The actual trace analysis logic is clearly separated into a set of plugins, several of which are shipped with Corsaro.
In addition to the Core Plugins which are shipped with Corsaro, the plugin framework makes the creation of new plugins as simple as possible. The low overhead involved in creating a new plugin, coupled with the efficiency and reliability of Corsaro means that it can be used both to perform ad-hoc exploratory investigations as well as in a production context to carry out large-scale near-realtime analysis.
Corsaro can be used both as a library and as a stand-alone application for processing any format of trace data that libtrace supports. The Corsaro distribution also includes several other supporting tools for basic analysis of Corsaro output data.
If you want to just dive right in and get started using Corsaro, take a look at the Quick Start guide.
Corsaro requires libtrace version 3.0.14 or higher (3.0.8 or higher can be used if the libwandio patch included in the corsaro distribution is applied).
usage: corsaro [-alP] -o outfile [-i interval] [-m mode] [-n name] [-p plugin] [-f filter] [-r intervals] trace_uri [trace_uri...] -a align the end time of the first interval -o <outfile> use <outfile> as a template for file names. - %P => plugin name - %N => monitor name - see man strftime(3) for more options -f <filter> BPF filter to apply to packets -i <interval> distribution interval in seconds (default: 60) -l the input file has legacy intervals (FlowTuple only) -m <mode> output in 'ascii' or 'binary'. (default: binary) -n <name> monitor name (default: gibi.caida.org) -p <plugin> enable the given plugin, -p can be used multiple times (default: all) available plugins: - flowtuple use -p "<plugin_name> -?" to see plugin options -P enable promiscuous mode on the input (if supported) -r rotate output files after n intervals -R rotate corsaro meta files after n intervalsFor more details on using Corsaro, refer to the usage documentation.
The online Corsaro Manual is the best source of information about using Corsaro. It contains full API documentation, usage instructions for the Corsaro tools. It also has tutorials about writing Corsaro plugins and using the libcorsaro library to perform analysis on Corsaro-generated data.
|2014 Mar||A. King||Internet Garbage: Storage, Access, and Analysis||Workshop on Network Data Storage, Access and Analysis (NDSAA) at SWITCH|
|2013 Feb||A. King||Toward Realtime Visualization of Garbage||Internet Statistics and Metrics Analysis Workshops (Workshop on Active Internet Measurements)|
|2012 May||A. King||Corsaro||Intl Workshop on Darkspace and UnSolicited Traffic Analysis (DUST)|