Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] Small SIP patch

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 31 Jul 2003 11:27:01 -0700

On Thursday, July 31, 2003, at 3:48 AM, Ruud Linders wrote:

A small update to the SIP-decoder.

Checked in.

- Registers the SIP decoder so it can be called from other protocols (i.e. SCTP)

When would the SCTP dissector call the SIP dissector?

If it would do so for packets with particular SCTP port or PPI values, then the SIP dissector should be registered with that value in the "sctp.port" or "sctp.ppi" dissector table.

If it would do so based on checking the payload to see if it looked like an SIP packet, then the SCTP dissector should be given a heuristic dissector table, like the ones that the UDP and TCP dissectors already have, and the SIP heuristic dissector should be registered in that dissector table.