aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtsp.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-2/+2
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-06-22Use ENC_BIG_ENDIAN.Anders Broman1-10/+10
svn path=/trunk/; revision=37753
2011-06-21From Stéphane Gorse:Anders Broman1-0/+179
The menu gets a new item (Statistics -> RTSP -> Packet Counter). Like HTTP, filter can be set and then the dialog windows shows the result of the RTSP analysis. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6042 svn path=/trunk/; revision=37741
2011-05-20Add #include <stdlib.h> to files which reference fcns declared in stdlib.h;Bill Meier1-8/+10
(In many cases I previously incorrectly removed the #include <stdlib.h>). svn path=/trunk/; revision=37334
2011-05-04Cleanup: replace sizeof(arr)/sizeof(arr[0]) with shorter array_length(arr)Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=36986
2011-04-22Fix warning about using wrong enum that is probably causing an actualStephen Fisher1-1/+1
bug: whenever call_state is assigned to VOIP_CALL_SETUP in other parts of Wireshark code (such as gtk/voip_calls.c), then call_active_state is set to VOIP_ACTIVE. Do that here too. It was set to VOIP_NO_STATE (from the wrong enum), which would have likely resulted in the wrong value being assigned. svn path=/trunk/; revision=36824
2011-04-19From Michael Mann via bug 2794:Stig Bjørlykke1-1/+1
Fixed display filters with obvious typos. svn path=/trunk/; revision=36713
2011-03-25From Didier via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3055 :Jeff Morriss1-4/+7
Apply rev 25869 to most of the rest of the TCP-desegmenting dissectors. (The SSL dissector was already updated in one of two spots with bug 4535/rev 32456.) A couple of the patches had to be manually applied. From me: Fix the comments to match the change (including in the TCP and SSL dissectors.) svn path=/trunk/; revision=36332
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-4/+4
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) svn path=/trunk/; revision=35224
2010-08-06From John Sullivan: Fix for 'Uninitialised pointer in packet-rtsp.c causes ↵Bill Meier1-1/+1
crash' See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5081 svn path=/trunk/; revision=33725
2010-05-13As suggested in ↵Jeff Morriss1-28/+19
http://www.wireshark.org/lists/wireshark-dev/200809/msg00075.html (as referenced in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2907 ) and https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3411 : Write a new convenience routine for finding a conversation and, if it is not found, create it. The frame number and addresses are taken from pinfo (as is the common case). Use this function in a bunch of dissectors. svn path=/trunk/; revision=32790
2010-02-04Remove forgotten useless linesTomas Kukosa1-2/+0
svn path=/trunk/; revision=31784
2010-01-08fix Linux build errorTomas Kukosa1-1/+2
svn path=/trunk/; revision=31467
2010-01-08display RTSP in VoIP calls (first simple attempt)Tomas Kukosa1-3/+34
svn path=/trunk/; revision=31466
2009-10-25From Jakub Zawadzki:Anders Broman1-3/+1
Cleanup dissector code - use proper memory functions. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4164 svn path=/trunk/; revision=30691
2009-08-26(FWIW) One step towards including stdio.h & stdlib.h only when req'd.Bill Meier1-1/+1
svn path=/trunk/; revision=29568
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29340
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-11/+11
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2009-05-19Get info about media type(Video or not) a first step towards usage in rtp ↵Anders Broman1-1/+2
statistics. svn path=/trunk/; revision=28415
2009-04-06More size_t fixes.Gerald Combs1-8/+8
svn path=/trunk/; revision=27977
2009-01-17Use ascii_strdown_inplace instead of g_ascii_strdown in a few places.Bill Meier1-7/+7
This also fixes a few cases where memory was not freed after g_ascii_strdown. svn path=/trunk/; revision=27254
2008-11-13Small changes related to proto_register & proto_reg_handoffBill Meier1-1/+1
- Move find_dissector_table(...) to proto_reg_handoff; - Use dissactor_add_handle instead of registering the dissector to tcp port 0; - Use find_dissector when appropriate. svn path=/trunk/; revision=26767
2008-09-15Minor cleanup related to proto_reg_handoffBill Meier1-22/+19
svn path=/trunk/; revision=26196
2008-05-07Comment out condition which is always true (based on theMichael Tüxen1-0/+2
choosen data types). svn path=/trunk/; revision=25250
2008-05-07From Peter Kjellerstedt:Jaap Keuter1-1/+1
For some reason only the first eight interleaved RTSP channels are supported by epan/dissectors/packet-rtsp.c. This is a problem for us as one of our servers use the channel numbers in a round robin fashion and will thus use all 256 channels. svn path=/trunk/; revision=25249
2008-04-09Remove:Anders Broman1-4/+0
#ifdef NEED_G_ASCII_STRCASECMP_H #include "g_ascii_strcasecmp.h" #endif svn path=/trunk/; revision=24859
2008-04-07- Remove GLIB1 codeStephen Fisher1-5/+1
- Change ugly GLIB version checking statements to GLIB_CHECK_VERSION - Remove ws_strsplit files because we no longer need to borrow GLIB2's g_strsplit code for the no longer supported GLIB1 builds svn path=/trunk/; revision=24829
2008-04-04Make the RTSP dissector findable by name.Martin Mathieson1-0/+3
svn path=/trunk/; revision=24771
2007-12-09Move the routines tvb_skip_wsp() to tvbuff.cAnders Broman1-53/+0
svn path=/trunk/; revision=23818
2007-11-27strcasecmp(), strncasecmp(), g_strcasecmp(), and g_strncasecmp() delendaGuy Harris1-7/+11
est. Use g_ascii_strcasecmp() and g_ascii_strncasecmp(), and supply our own versions if they're missing from GLib (as is the case with GLib 1.x). In the code to build the list of named fields for Diameter, don't use g_strdown(); do our own g_ascii_-style upper-case to lower-case mapping in the hash function and use g_ascii_strcasecmp() in the compare function. We do this because there is no guarantee that toupper(), tolower(), and functions that use them will, for example, map between "I" and "i" in all locales; in Turkish locales, for example, there are, in both upper case and lower case, versions of "i" with and without a dot, and the upper-case version of "i" is "I"-with-a-dot and the lower-case version of "I" is "i"-without-a-dot. This causes strings that should match not to match. This finishes fixing bug 2010 - an earlier checkin prevented the crash (as there are other ways to produce the same crash, e.g. a bogus dictionary.xml file), but didn't fix the case-insensitive string matching. svn path=/trunk/; revision=23623
2007-10-27From Andrew Feren:Anders Broman1-1/+2
patch to test for NULL media_type_str_lower_case. svn path=/trunk/; revision=23286
2007-10-24Remove unused variable.Anders Broman1-1/+0
svn path=/trunk/; revision=23269
2007-10-24Use the media_type_dissector_table for the content type.Anders Broman1-67/+103
Add a few media types. svn path=/trunk/; revision=23268
2007-10-23Apply the small performance enhancment patches for:Anders Broman1-1/+1
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster. Replace - col_append_fstr() with faster col_append_str() - col_add_str() with col_set_str() when it's safe svn path=/trunk/; revision=23252
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2005-09-28fix #480: Change defaults for all reassembling settings to ONUlf Lamping1-2/+2
I've changed all settings I could find to TRUE. It might be reasonable to change some protocol settings back to FALSE, if reassembling fails very often. svn path=/trunk/; revision=16048
2005-09-01From Martin MathiesonAnders Broman1-24/+58
These small patches: - add RTSP header 'RDTFeatureLevel as a proper field - show feature level in RDT stream setup info - tidy up RDT info column text svn path=/trunk/; revision=15647
2005-08-19remove g_malloc()Ronnie Sahlberg1-2/+1
svn path=/trunk/; revision=15419
2005-08-12more gmemchunk -> se_alloc() improvementsRonnie Sahlberg1-20/+2
svn path=/trunk/; revision=15312
2005-08-10rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the ↵Ronnie Sahlberg1-1/+1
documentation in README.developer svn path=/trunk/; revision=15270
2005-07-31From Martin MathiesonAnders Broman1-93/+160
- Makes more of the header fields filterable - Rationalises a bit the way header lines are parsed svn path=/trunk/; revision=15160
2005-07-24some more dissectors converted to ep_tvb_get_stringRonnie Sahlberg1-2/+1
again at least one obvious memleak was found in the old code svn path=/trunk/; revision=15031
2005-06-10just to get things straight: a dissector should *never* do any g_assert() calls!Ulf Lamping1-1/+1
in a simple approach, I've replaced all g_assert() and g_assert_not_reached() calls by their exception throwing counterparts DISSECTOR_ASSERT() and DISSECTOR_ASSERT_NOT_REACHED() this will replace application crash by showing a dissector bug, which is the desired behaviour there were some g_assert calls in the protocol registering functions, which might not be acting as expected now, but to be able to simply search for g_assert in the future I've replaced that calls too one g_assert remained, the one when someone throws an unknown exception "into" packet_frame.c, but IMHO this one should remain. svn path=/trunk/; revision=14608
2005-05-26These 2 patches make RDT support pretty complete now:Anders Broman1-3/+14
From Martin Mathieson: packet-rdt.c: - register a configurable UDP port (off by default, but needed where setup traffic isn't captured) - dissect extra 'buffer info' fields - move bit fields into 'flags' subtrees - misc. minor fixes and improvements (mainly formatting) packet-rtsp.c: - improve detection of RDT as the transport - allow interleaved frame data to be dissected as RDT packets svn path=/trunk/; revision=14443
2005-03-27Previous commit failed doing them one by one.Anders Broman1-1/+1
From Alejandro Vaquero : Find attached a patch for SDP sessions to: - Dissect Dynamic payload types in RTP packets - Add the dynamic payload type description in RTP packets - Add RTP dynamic payload types description in the Voip Calls Graph, in the RTP and SDP. svn path=/trunk/; revision=13940
2005-03-10From Alejandro Vaquero:Luis Ontanon1-1/+1
- Automatic dissection of RTP events (RFC2833) set in SDP sessions. - Add RTP events (RFC2833) to the Voip Graph svn path=/trunk/; revision=13697
2005-03-06Get rid of "unknown transport" warnings - don't spam the user justGuy Harris1-1/+0
because we haven't yet written a dissector for a particular protocol. svn path=/trunk/; revision=13615
2005-02-19From Martin MathielsonLuis Ontanon1-17/+46
RDT (Realplayer Data Protocol) dissector and patch RTSP to create RDT conversations svn path=/trunk/; revision=13431
2005-02-02From Jon Ringle:Anders Broman1-3/+3
1) Added a setup_frame parameter to conversation_t 2) Used the conversation_t next to maintain a list of conversations with the same src/dest tuple but different setup_frame number. 3) Changed the signature of find_conversation() and conversation_new() to pass in the frame number. 4) Adjusted packet-sdp to select RTP conversation if both m=audio and m=image are present, and T.38 conversation if only m=image is present. I expect that RTP/T.38 dissecting to be better, but I don't have a way to generate T.38 packets. svn path=/trunk/; revision=13243