I just downloaded the program and I notice that all of the RTP packets
aren't being decoded as RTP, they're being decoded as UDP. Why's that?
JUST KIDDING!!! I've seen a lot of these kinds of emails after searching
through the archives, so I thought I'd be an ass :)
Anyway, I've written packet-ipdc.c so that Ethereal supports IPDC (Internet
Protocol Device Control) now. When our SoftSwitch sets up the gateways for
RTP, it uses IPDC to do so. This means that inside one of the IPDC packets
is all of the information about port numbers for RTP (i.e. IPDC gives the
gateway a directive to use port # blah for RTP). Unfortunately, this is
all inside the data portion of the packet and I have the parsing
information inside the if(tree) block. So, where's the problem? Well, the
if(tree) block is skipped when the packets are decoded...so how can I tell
future UDP packets to dissect themselves as RTP packets if they're on a
certain port, if the packet hasn't been dissected yet? Do I just have to
take out the if(tree) statement?
If you want more clarification, let me know.
--
PC Drew
Be nice, or I'll replace you with a very
small shell script