Linux SoftwareProgrammingLibrariesNet::Analysis 0.04

Net::Analysis 0.04


Net::Analysis are modules for analysing network traffic. SYNOPSIS Using an existing analyser: $ perl -MNet::Analysis -e mai
Developer:   Adam Worrall
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   0K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Net::Analysis are modules for analysing network traffic.

SYNOPSIS

Using an existing analyser:

$ perl -MNet::Analysis -e main help
$ perl -MNet::Analysis -e main TCP,v=1 dump.tcp - basic TCP info
$ perl -MNet::Analysis -e main HTTP,v=1 dump.tcp - HTTP stuff
$ perl -MNet::Analysis -e main Example2,regex=img dump.tcp - run an example

Writing your own analyser:

package MyExample;
use base qw(Net::Analysis::Listener::Base);
# Listen to events from other modules
sub tcp_monologue {
my ($self, $args) = @_;
my ($mono) = $args->{monologue};
my $t = $mono->t_elapsed()->as_number();
my $l = $mono->length();
# Emit your own event
$self->emit(name => 'example_event',
args => { kb_sec => ($t) ? $l/($t*1024) : 'N/A' }
);
}
# Process your own event
sub example_event {
my ($self, $args) = @_;
printf "Bandwidth: %10.2f KB/secn", $args->{kb_sec};
}
1;
__top

ABSTRACT

Net::Analysis is a suite of modules that parse tcpdump files, reconstruct TCP sessions from the packets, and provide a very lightweight framework for writing protocol anaylsers.
__top

I wanted a batch version of Ethereal in Perl, so I could:

- sift through parsed protocols with structured filters
- write custom reports that mixed events from multiple protocols

So here it is. Net::Analysis is a stack of protocol handlers that emit, and listen for, events.

Requirements:
  • Perl
    tags mnet analysis  perl mnet  net analysis  your own  dump tcp  example event  own event  self args  events from  

    Download Net::Analysis 0.04


     ftp://ftp.roedu.net/pub/CPAN/authors/id/W/WO/WORRALL/Net-Analysis-0.04.tar.gz


    Authors software

    Net::Analysis 0.04 (by Adam Worrall)
    Net::Analysis are modules for analysing network traffic.

    SYNOPSIS

    Using an existing analyser:

    $ perl -MNet::Analysis -e mai


    Similar software

    Net::Analysis 0.04 (by Adam Worrall)
    Net::Analysis are modules for analysing network traffic.

    SYNOPSIS

    Using an existing analyser:

    $ perl -MNet::Analysis -e mai

    Net::Z3950::SimpleServer 1.03 (by Anders S?nderberg)
    Net::Z3950::SimpleServer is a simple Perl API for building Z39.50 servers.

    SYNOPSIS

    use Net::Z3950::SimpleServer;

    sub my

    Netdude 0.4.7 (by CPK)
    Netdude, the Network Dump data Displayer and Editor, is a framework for inspection, analysis and manipulation of tcpdump trace files.

    Basic Analysis and Security Engine 1.2 (by Kevin Johnson)
    BASE is the Basic Analysis and Security Engine

    Sys::OutPut 2.1 (by Alan K. Stebbens)
    Sys::OutPut is a Perl module to help make output easier.

    SYNOPSIS

    usage Sys::OutPut;

    talk $fmtstr [, @args];

    out $

    TA-Lib : Technical Analysis Library 0.2.0 (by Mario Fortier)
    TA-Lib provides common functions for the technical analysis of stock/future/commodity market data.

    TA-Lib can be reused by trading

    Directory Analysis Tool 0.0.2 (by Loren Bandiera)

    Getopt::Declare 1.11 (by Damian Conway)
    Getopt::Declare is a Perl module with Declaratively Expressed Command-Line Arguments via Regular Expressions.

    SYNOPSIS

    use Get

    CAD::Drawing::GUI::View 0.01_01 (by Eric L. Wilhelm)

    Statistical Traffic Analysis Kit 1.0b2 (by Mateusz Golicz)
    Statistical Traffic Analysis Kit is a set of command-line traffic analysis tools, designed to help a network administrator to see wha


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags