[Cflowd] Please reply about this error message...!!!
̅ȗ̵
tensaich@gngidc.net
Wed, 16 Oct 2002 21:31:39 +0900
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)
}