[flow-tools] flowdumper script
Annie Tong
annie.tong@wcom.com
Wed, 10 Apr 2002 10:09:02 -0700
--Boundary_(ID_nux/iZLf/AsMgzZORnDkyQ)
Content-type: text/plain; format=flowed; charset=us-ascii
Content-transfer-encoding: 7bit
Hi,
I tried to use the script below which I found from the flowdumper doc.,
flowdumper \
-I 'use Net::Patricia;
$pt = Net::Patricia->new;
map { $pt->add_string($_, 1) } qw( a.b.c.d/e
f.g.h.i/k )' \
-se '1 == ($pt->match_integer($srcaddr) +
$pt->match_integer($dstaddr))' flows.*
I got an error,
flowdumper: (-e) 1 == ($pt->match_integer($srcaddr) +
$pt->match_integer($dstaddr)): Use of uninitialized value
Please advice what may cause the problem. Thank you!
Regards,
Annie Tong
MAE Engineering
MCI WorldCom
--Boundary_(ID_nux/iZLf/AsMgzZORnDkyQ)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7bit
<html>
<head>
</head>
<body>
Hi, <br>
<br>
I tried to use the script below which I found from the flowdumper doc., <br>
<br>
<pre wrap=""> flowdumper \
-I 'use Net::Patricia;
$pt = Net::Patricia->new;
map { $pt->add_string($_, 1) } qw( a.b.c.d/e
f.g.h.i/k )' \
-se '1 == ($pt->match_integer($srcaddr) +
$pt->match_integer($dstaddr))' flows.*
</pre>
I got an error,
<div class="moz-text-plain" wrap="true" graphical-quote="true" style="font-family: Courier New; font-size: 13px; ">
<pre wrap="">flowdumper: (-e) 1 == ($pt->match_integer($srcaddr) +
$pt->match_integer($dstaddr)): Use of uninitialized value
</pre>
</div>
Please advice what may cause the problem. Thank you!<br>
<br>
Regards, <br>
<br>
Annie Tong <br>
MAE Engineering <br>
MCI WorldCom<br>
</body>
</html>
--Boundary_(ID_nux/iZLf/AsMgzZORnDkyQ)--