aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sdp.c
AgeCommit message (Collapse)AuthorFilesLines
2008-12-08Accept leading space, payload type name is case insensitive.etxrab1-12/+23
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26938 f5534014-38df-0310-8fa8-9805f1628bb7
2008-11-11Dissect part ofconfiguration parameter in SDP for MP4V-ES.etxrab1-102/+44
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26754 f5534014-38df-0310-8fa8-9805f1628bb7
2008-08-03Move common code to base64.cetxrab1-19/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25908 f5534014-38df-0310-8fa8-9805f1628bb7
2008-07-29Update mimetype_and_clock_map and ad samle rate to sdp.etxrab1-0/+11
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25860 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-20Minor formatting improvements.martinm1-5/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25324 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-08Stop using deprecated functions identified by checkAPIs script.martinm1-6/+9
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25258 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-07- Remove GLIB1 codesfisher1-5/+0
- 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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24829 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-07Removed even more "statement not reached" warnings.stig1-2/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24286 f5534014-38df-0310-8fa8-9805f1628bb7
2007-12-15Fix preference text (SDP isn't only carried over SIP).martinm1-4/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23876 f5534014-38df-0310-8fa8-9805f1628bb7
2007-12-12tvbuff.c - fix abug if reading last byte in tvbetxrab1-31/+35
Further H.264 decoding in SDP git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23847 f5534014-38df-0310-8fa8-9805f1628bb7
2007-12-10Decode more of H264 info in SDP.etxrab1-9/+81
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23832 f5534014-38df-0310-8fa8-9805f1628bb7
2007-12-04Remove superfluous buffer allocation.jake1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23742 f5534014-38df-0310-8fa8-9805f1628bb7
2007-12-04Use common code for ASCII -> tvb.etxrab1-72/+10
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23741 f5534014-38df-0310-8fa8-9805f1628bb7
2007-12-03Fetch all fmtp parameters.etxrab1-17/+8
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23724 f5534014-38df-0310-8fa8-9805f1628bb7
2007-12-03mark two unused parameters as _U_sahlberg1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23717 f5534014-38df-0310-8fa8-9805f1628bb7
2007-12-03Dissect RTP payload of H.264 and SDP profile-leve-id for H.264.etxrab1-12/+90
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23709 f5534014-38df-0310-8fa8-9805f1628bb7
2007-11-02setup SRTP stream for RTP/SAVP media protocol kukosa1-4/+13
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23336 f5534014-38df-0310-8fa8-9805f1628bb7
2007-09-04we dont have g_hash_table_new_full() on gtk1sahlberg1-0/+5
use g_hash_table_new() on gtk1 and leak memory instead this should actually a be using an se_tree instead of hashtables git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22789 f5534014-38df-0310-8fa8-9805f1628bb7
2007-09-04From Stas Maximov:etxrab1-5/+6
RTP analysis' jitter values are thrown off by RTP events http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1076 a) Ephemeral string (packet duration) was inserted into long-term hash of dynamic payloads b) There was no clock_rate mapping for MIME type "telephone-event". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22780 f5534014-38df-0310-8fa8-9805f1628bb7
2007-08-17Replace a couple more calls to tvb_get_string() with ↵morriss1-1/+1
tvb_get_ephemeral_string(). 2 of the 3 replacements fix memory leaks. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22542 f5534014-38df-0310-8fa8-9805f1628bb7
2007-08-15- s/ntohs/g_ntohsmorriss1-35/+35
- s/ntohl/g_ntohl - s/free/g_free - Change some tvb_get_string()+g_free()'s into tvb_get_ephemeral_string() - Change some tvb_fake_unicode()+g_free()'s into tvb_get_ephemeral_faked_unicode() - Change some tvb_get_string() calls that were clearly memory leaks (like atoi(tvb_get_string(...))) into tvb_get_ephemeral_string() git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22515 f5534014-38df-0310-8fa8-9805f1628bb7
2007-07-17Show malformed SDP line as an expert itemmartinm1-1/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22334 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-01Split out common asn1 stuff to asn1.h and include that where needed.etxrab1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21635 f5534014-38df-0310-8fa8-9805f1628bb7
2007-04-10Add a reference.etxrab1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21377 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-05From Mikael Magnusson:etxrab1-5/+108
This patch adds support for key-mgmt session attributes in SDP (defined in RFC 4567). The patch also contains a Multimedia Internet KEYing (MIKEY is defined in RFC 3830) dissector plugin for "mikey" key-mgmt data. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20977 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-01Those two spaces before sdp were bctp (Q.1990), a protocol conveniently ↵lego1-7/+1
encoded to be two spaces in case of IPBCP (SDP+extras). There's probably something similar in packet-isup.c git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20952 f5534014-38df-0310-8fa8-9805f1628bb7
2007-02-24have sdp ignoring useless caracters efore the first element (this is a hack ↵lego1-1/+11
to avoid the two spaces found before the v= in sdp messages embeded in h248/q1950) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20913 f5534014-38df-0310-8fa8-9805f1628bb7
2006-12-05Fix a cut and paste error.etxrab1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20043 f5534014-38df-0310-8fa8-9805f1628bb7
2006-12-04Add description of CT AS TIAS and H263-2000 profile.etxrab1-3/+55
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20035 f5534014-38df-0310-8fa8-9805f1628bb7
2006-11-03Dissect h324ext_h223lcparm.etxrab1-129/+257
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19786 f5534014-38df-0310-8fa8-9805f1628bb7
2006-10-27Cast away most remaining warnings.martinm1-8/+7
2 will remain, because the 'needle' arg in tvb_pbrk_guint8() isn't const... Should it be? git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19717 f5534014-38df-0310-8fa8-9805f1628bb7
2006-10-27More warningsmartinm1-14/+14
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19716 f5534014-38df-0310-8fa8-9805f1628bb7
2006-10-26More warnings...martinm1-11/+17
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19710 f5534014-38df-0310-8fa8-9805f1628bb7
2006-09-04Fix(?) bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1042etxrab1-3/+2
Does the string need to be freed ad destruction of the hashtable? Surplus add_text removed. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19139 f5534014-38df-0310-8fa8-9805f1628bb7
2006-07-28From Martin Mathieson:etxrab1-25/+91
- allow SDP to parse the IP address + port for the MSRP session from the path attribute - setup an MSRP conversation using this address, whose data points back to the SDP frame - link to the SDP setup frame while dissecting MSRP (can be switched off by a preference) - I also changed sdp.media.port to be a numeric field git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18806 f5534014-38df-0310-8fa8-9805f1628bb7
2006-06-03From Martin Mathieson:etxrab1-4/+37
- while parsing fmtp lines, the dissector looks for the MPEG4 'profile-level-id' parameter. If there is no '=' present, it was throwing an exception and the frame marked as malformed (see e.g. the attached capture) - I've added a few comments where the code wasn't obvious to me... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18332 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21change a whole bunch of ethereal into wiresharksahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18196 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-03From Andrei Emeltchenko:etxrab1-5/+26
I attached patch to add preferences in SDP for RTP stream detection. By default SDP decodes RTP stream but now I can disable it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18080 f5534014-38df-0310-8fa8-9805f1628bb7
2006-04-29Clean up indentation; use 2-space indentation throughout.guy1-678/+672
Save the media encoding name in the transport_info_t structure rather than in a global variable. Allocate it with tvb_get_ephemeral_string() so it's released after the packet is completely processed. Do *NOT* assume it's necessarily non-null in decode_sdp_fmtp(), as the code flow doesn't guarantee that to be true. proto_tree_add_string() now suffices for adding a particular SDP item - strings are now displayed "safely", with escaping of non-printable characters done. Update a comment (we no longer have the Big Transfer Vector to allow plugins to call dissector functions in Windows, we have those functions in a DLL). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18031 f5534014-38df-0310-8fa8-9805f1628bb7
2006-04-28Check Payload type before dissecting fmtp parameters.etxrab1-12/+24
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18028 f5534014-38df-0310-8fa8-9805f1628bb7
2006-04-26Add dissection of MPEG4 fmtp parameter.etxrab1-11/+191
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18010 f5534014-38df-0310-8fa8-9805f1628bb7
2006-01-19Make sure we don't use the ADNS version of inet_aton; it's broken.gerald1-3/+0
This fixes bug 523, but exposes more of bug 658. The TACACS and SDP dissectors don't call inet_aton(), so don't include it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17056 f5534014-38df-0310-8fa8-9805f1628bb7
2006-01-15Hi All,jake1-5/+8
Find attached a couple of changes for t38: - Use the dissector to reassemble t30 frames - Dissect t30 protocol - Move the "Fax t38 analysis" to the "VoIP Calls". Now when selecting "Statistics"->"Fax t38 analysis" option, there is a message that redirect the user to use the "Voip calls" instead. We may keep this option for one release, and then remove it ? - Added in the "Voip calls" the ability to detect a t38 call if there are not signaling associated with it. For example, when using "Decode as.." to dissect t38 packets, it is possible to use the "Voip calls" to analyze that call. - Display "SDP (t38)" in the "Voip calls graph" for SDP t38 sessions. Regards Alejandro Vaquero git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17033 f5534014-38df-0310-8fa8-9805f1628bb7
2005-09-17Move a pile of protocol-related headers from the top-level sourceguy1-1/+1
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15844 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-17replace g_malloc() with ep_alloc() for ftp and sdpsahlberg1-2/+3
sdp never free the allocated memory so it were leaking memory for every packet containng sdp. fix memleak for sdp git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15381 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the ↵sahlberg1-11/+11
documentation in README.developer git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15270 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-02remove a pointless g_strdupsahlberg1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15195 f5534014-38df-0310-8fa8-9805f1628bb7
2005-07-29some more ememification of tvb_get_string()sahlberg1-15/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15142 f5534014-38df-0310-8fa8-9805f1628bb7
2005-07-24some more ep_tvb_get_string updatessahlberg1-13/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15034 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-22add ipbcp attribute as in Q.1970lego1-5/+50
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14724 f5534014-38df-0310-8fa8-9805f1628bb7