Re: [Ethereal-users] Ethereal crash: RTP

2003-12-04 Thread Per Steinar Iversen


On Mon, 13 Oct 2003, Per Steinar Iversen wrote:

> On Fri, 10 Oct 2003, Guy Harris wrote:
> 
> > On Fri, Oct 10, 2003 at 09:12:55AM +0200, Per Steinar Iversen wrote:
> > > It tried this now and the latest ethereal does not crash - it just
> > > complains about "Unsupported coded" and refuses to save the stream in au
> > > format.
> > 
> > Either the stream isn't in a format that the RTP analysis code can
> > handle (u-law or A-law), or there's a bug somewhere in the code.
> > 
> > Lars?
> 
> When I try today I get a different error: "Can't save in a file: File I/O problem!"
> 
> -psi

The problem seems to be that the SPAN on the Cisco switch is VLAN based
and that most packet are seen twice. When sniffing from a hub there is no
problem, so most likely the analysis code does not handle duplicates well.

-psi



Re: [Ethereal-users] Ethereal crash: RTP

2003-12-03 Thread Per Steinar Iversen


On Thu, 9 Oct 2003, Guy Harris wrote:

> 
> On Oct 9, 2003, at 1:50 AM, Per Steinar Iversen wrote:
> 
> > I am trying to use ethereal 0.9.15 to capture VoIP data, a RedHat 9
> > machine is connected to a spanned port on a Cisco 6509. This works well
> > though each packet seems to be seen twice. Ethereal identifies the 
> > traffic
> > as ITU-T G.711 PCMA, that is correct. However if one uses
> > "Tools/Statistics/RTP analysis" then ethereal hangs for a while before
> > crashing, it leaves behind a file in /tmp that is always 2147483647 
> > bytes
> > large, the name is typically something like 
> > /tmp/ethereal_rtp_fwdNytvOO
> >
> > Is this a known problem or limitation of ethereal?
> 
> There were, I think, some bugs in the RTP analysis code that caused 
> crashes.
> 
> The RTP analysis code was rewritten after 0.9.15 came out, and at least 
> some of those bugs might have been fixed as a result; as you're running 
> Linux, you might be more likely to have the tools necessary to compile 
> a CVS snapshot - try downloading a snapshot from
> 
>   http://www.ethereal.com/distribution/nightly-builds/
> 
> (get the most recent one), unpack it, run "./autogen.sh", run 
> "configure", and run "make".
> 
> The RTP analysis code does create temporary files in some cases; if it 
> created the temporary file and crashed after that, the temporary file 
> would not be removed.  It's interesting that the size is 2^31-1 bytes 
> long - that might be due to a bug wherein it was continuously writing 
> to the file (and, as it's not using Large File Summit API's, it might 
> be prevented from going past the 32-bit-signed-offset limit), or just 
> due to that limit.

It tried this now and the latest ethereal does not crash - it just
complains about "Unsupported coded" and refuses to save the stream in au
format.

-psi