[flow-tools] flow-receive

Mark Fullmer maf@eng.oar.net
Mon, 17 Jun 2002 21:28:24 -0400


Bug.  Fix below.

Index: flow-receive.c
===================================================================
RCS file: /usr/home/djnz-cvsroot/flow-tools/src/flow-receive.c,v
retrieving revision 1.40
diff -r1.40 flow-receive.c
116c116
<   tag_active = "";
---
>   tag_active = (char*)0L;


On Mon, Jun 17, 2002 at 06:14:00PM -0700, Saro Hayan wrote:
> I keep getting the following errors with flow-receive:
> 
> /usr/local/netflow/bin>flow-receive 0/0/9999 | flow-print
> flow-receive: open(/var/ft/cfg/tag_defs): No such file or directory
> flow-receive: fttag_load(): failed
> flow-print: short read while loading header top
> flow-print: ftiheader_read(): failed
> flow-print: ftio_init(): failed
> 
> I don't want to use tags, i just want to troubleshoot a problem by looking
> at flows for a few minutes.  If I create a blank file in /var/ft/cfg called
> tag_defs, it works, but the flow-receive then no longer reports on src/dst
> port and gets only the following fields:
> 
> srcTag      dstTag      srcIP            dstIP            octets
> packets
> 
> Saro Hayan
> 
> 
> _______________________________________________
> flow-tools@splintered.net
> http://www.splintered.net/sw/flow-tools