[Asterisk-Dev] Asterisk ethereal plugin bug

Armijn Hemel armijn at uulug.nl
Tue Apr 12 14:46:05 MST 2005


hi,

it seems I've subscribed to this mailinglist on the right time. I'm poking
around a bit in IAX, because I want to have an IAX softphone on my PocketPC
device. I'm dabbling a bit in C#, doing development with Mono on Linux (it
had to be either C# or Java since I don't have a Windows PC for PocketPC
development) and planning to run it in the .NET Compact Framework.

Anyway, I too read the incomplete draft and the iax header files, trying
to understand what happens. To check if I'm implementing the protocol
correctly (not far at all after two evenings) I'm firing IAX packets at an
"out of the box" install of Asterisk and sniffing the request and response
with Ethereal. I found out that sending a malformed packet crashes Ethereal,
most probably due to a bug in the IAX2 plugin for Ethereal.

The bugreport including some testcode and Ethereal dumpfile with the
offending packet can be found here:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154589

Basically what I did was create a new packet to set up a new connection
and added an incomplete information element, with just the ie and length
fields specified, but no actual data is in the packet.

I don't know who the maintainer of the Ethereal plugin is, just hoping
that he/she is reading this mailinglist, so the bug can be addressed.

For the rest, I'm also looking forward to see the full(er) IAX2
specifications. It will be a lot more convenient than digging through
the code.

armijn

-- 
 ---------------------------------------------------------------------------
  armijn at uulug.nl | http://www.uulug.nl/ | UULug: Utrecht Linux Users Group
 ---------------------------------------------------------------------------



More information about the asterisk-dev mailing list