From: ̅ȗ̵ (tensaich@gngidc.net)
Date: Wed Oct 16 2002 - 05:31:39 PDT
Hi...
Under the perl source is example...in
http://net.doit.wisc.edu/~plonka/Cflow/Cflow.html.
When I run under example , it show me the next error message...
"flows.20020827: Invalid index in flow data file: DFB00000! Version 5 flow-
export is required with *all* data being saved using the COLLECT field of
the CISCOEXPORTER stanza(s)!"
What's problem ?
plz, reply for me...
thanks
ps. I configured v5 at router .
And cflowd version is 2-1-a6
bye
===============example source
============================================================================
===============
my $udp = getprotobyname('udp');
verbose(0);
find(\&wanted, @ARGV? @ARGV : <*.flows*>);
sub wanted {
return if ($srcport < 1024 || $dstport < 1024);
return unless (($srcport == 31337 || $dstport == 31337) &&
$udp == $protocol);
printf("%s %15.15s.%-5hu %15.15s.%-5hu %2hu %10u %10u\n",
$localtime,
$srcip,
$srcport,
$dstip,
$dstport,
$protocol,
$pkts,
$bytes)
}
_______________________________________________
Cflowd mailing list
Cflowd@caida.org
http://login.caida.org/mailman/listinfo/cflowd
This archive was generated by hypermail 2.1.4 : Wed Oct 16 2002 - 05:47:45 PDT