Red Hat Bugzilla – Bug 165450
Output Anomaly from tethereal -z stats package
Last modified: 2007-11-30 17:11:11 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Description of problem:
Use of the tethereal -z statistics module produces some anolalous output.
e.g. tethereal -r file -z "io,stats,1,SUM(frame.pkt_len)frame.pkt_len" finds no traffic so produces no output after the headers.
The same command run on a version of ethereal build from source-code downloaded from ethereal.com on a FC4 system produces correct output.
The FC4 RPM was downloaded from rpmfind.net.
I believe that this situation has been present in RPMs from RedHat for some time, at least since about 0.10.10.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. tethereal -r <pcapfile> -z "io,stat,1,SUM(frame.pkt_len)frame.pkt_len"
2. Running on new-build FC4 system
Actual Results: System produces standard stats package output headers but then 0 (zero) data instead of a table of numbers.
Expected Results: Table of numbers.
tethereal -r <pcapfile> -z "io,stat,1,SUM(tcp.len)tcp.len"
for example on file with TCP/IP traffic capture.
I suspect that this anomaly has been present in RedHat builds of ethereal RPMs placed on rpmfind.net since at least version 0.10.10 of ethereal.
Which configure parameters do you pass to your localy build ethereal? It seems
to work for me, some of the statitics display non-zero values.
No configure parameters at all.
Source code build is timple gunzip, tar, ./configure, make, make install process.
I have done a complete new build of FC4 (on Intel) using the Workstation option
accepting defaults at all stages.
Then I install the dmidecode, lm_sensors, net-snmp and net-snmp-libs rpms, all
from the FC4 distribution (all on CD#1) to meet the rpm dependency requirements.
Then I install the ethereal-0.10.12-1.FC4.2.i386.rpm rpm downloaded from the
redhat we site.
All rpm commands use simple rpm -ivh <rpmfile> commands and proceed normally.
tethereal -r <pcapfile> -z "io,stat,1,SUM(frame.pkt_len)frame.pkt_len" command
continues to show zero output.
Any use of a "frame..." operator in the stats package continues to get no
output. Other operators work normally. e.g. the similar command
tethereal -r <pcapfile> -z "io,stat,1,SUM(ip.len)ip.len" functions normally.
Upstream has already fixed it, will come out with next release.
Fixed in ethereal-0.10.12-6 (picked up latest upstream source)