Ethereal-dev: Re: [Ethereal-dev] Define both TCP ports listed by IANA for RTSP (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: Mon, 22 Dec 2003 16:05:39 -0800

On Dec 21, 2003, at 3:12 PM, Anders Broman wrote:

Incuded a patch to define both TCP ports listed by IANA for RTSP and make them configurable,

Checked in, but with the original port's preference name (and variable names) unchanged, and the new port given names with "alternate_port" in them (the IANA page calls it the "alternate port").

 also added abillity to desegment.

It was returning with "more data required" *after* putting stuff into the protocol tree; dissectors shouldn't do that.

HTTP already had desegmentation code, and RTSP is modeled after HTTP; I extracted the HTTP code into a subroutine, in "rreh.c" (for routines to use in dissectors for request/response-and-entity-headers protocols such as HTTP, RTSP, and SIP), and made the RTSP dissector use it in the same way the HTTP dissector does.

I added preferences for desegmenting RTSP headers and bodies, just like the ones HTTP does; you have to enable those preferences in order to get desegmentation.