Skip to content

Netflow::Parser will parse NetFlow datagrams by applying known templates and execute a callback method for each flow.

Notifications You must be signed in to change notification settings

p-alik/Netflow-Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netflow-Parser

CPAN version Build Status Coverage Status

Netflow::Parser

  • supports only Netflow V9
  • parses NetFlow datagrams by applying known templates and execute a callback method for each flow.

EXAMPLE shows simple Netflow::Collector implementation

my $p = Netflow::Parser->new(
    verbose      => 1,
    flow_cb      => sub {
        my ($hr) = @_;
        ...
    }
);

my $c = Netflow::Collector->new(
    port => $port,
    dispatch => sub { $p->parse(@_) }
        );

$c->run();

About

Netflow::Parser will parse NetFlow datagrams by applying known templates and execute a callback method for each flow.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages