aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtp.c
AgeCommit message (Collapse)AuthorFilesLines
2008-10-13Back out the expert info - it's wrong.etxrab1-16/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26441 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-11Add an expert item if src port = dst port.etxrab1-2/+17
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26410 f5534014-38df-0310-8fa8-9805f1628bb7
2008-09-25From Sagar Pai:jake1-9/+20
This is a dissector for ZRTP, the Zfone projects secure media protocol, developed by Phil Zimmermann. It is updated to the latest IETF draft draft-zimmermann-avt-zrtp-08. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26274 f5534014-38df-0310-8fa8-9805f1628bb7
2008-09-15Fix so pkt_ccc port pref works; proto_reg_handoff's: gen'l cleanup.wmeier1-26/+35
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26205 f5534014-38df-0310-8fa8-9805f1628bb7
2008-08-01From stéphane bryant:etxrab1-0/+1
STUN, STUN2 and TURN dissection enhancements. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25895 f5534014-38df-0310-8fa8-9805f1628bb7
2008-07-11prefs_register_uint_preference() takes as its argument a pointer to a uint, ↵morriss1-7/+7
not a pointer to a gboolean. Similarly prefs_register_enum_preference takes a pointer to a gint, not a guint. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25710 f5534014-38df-0310-8fa8-9805f1628bb7
2008-07-11In a call to proto_tree_add_bytes_format(): actually pass a pointer to the ↵morriss1-34/+34
start of the bytes git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25709 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-27From Alon Tal:jake1-1/+4
RTP header extensions that are longer than 4 bytes (rtp.ext.len > 1) get dissected incorrectly. The first 4 bytes of the header extension are repeated rtp.ext.len times, and the remaining bytes are ignored. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25184 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-23From Peter Fuller:jake1-5/+5
If a UDP packet is submitted to the RTP heuristic dissector with either odd src or dst ports, the heuristic will correctly return FALSE. However, that interferes with the next few lines of code that can potentially treat version 0 RTP packets as either STUN or T38 depending on preference settings. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25150 f5534014-38df-0310-8fa8-9805f1628bb7
2008-03-07Adjust the RTP heuristic dissector:martinm1-15/+21
- loosen by accpepting dynamic payload type range - tighten by only accepting even-numbered ports git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24583 f5534014-38df-0310-8fa8-9805f1628bb7
2008-03-01Rewrote to use g_strlcpy and g_strlcat.stig1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24525 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-25Avoid misreporting of cryto state of RTP payload.jake1-4/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24461 f5534014-38df-0310-8fa8-9805f1628bb7
2008-01-09#ifdef DEBUG around left-over printfs. Should these just be deleted?martinm1-0/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24045 f5534014-38df-0310-8fa8-9805f1628bb7
2008-01-09more sophisticated H245 OLC handling focusing on more reliable T.38 ↵kukosa1-0/+2
establishment git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24043 f5534014-38df-0310-8fa8-9805f1628bb7
2008-01-06Fix for bug 2026:jake1-18/+10
Clean up RTP header extension code. Remove duplicate raw presentation. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24016 f5534014-38df-0310-8fa8-9805f1628bb7
2007-12-23From Andreas St:jake1-0/+15
In our communication systems, we make use of the RTP header extension to encode signalling information in the form of a bit mask. To improve our debugging, we extended the default RTP dissector to call back any subdissector registering for a particular RTP payload type string. This allows to render the value of the header extension in a different, more flexible way compared to the default numeric representation, such as in form of a subtree. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23943 f5534014-38df-0310-8fa8-9805f1628bb7
2007-12-12- register RFC 2198 as RTP dynamic payload type "red"kukosa1-5/+22
- display dynamic payload type names inside RFC 2198 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23846 f5534014-38df-0310-8fa8-9805f1628bb7
2007-11-02display SRTP isntead of RTP if stream is established like a SRTPkukosa1-1/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23337 f5534014-38df-0310-8fa8-9805f1628bb7
2007-09-13Allow for full size setup method name.jake1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22863 f5534014-38df-0310-8fa8-9805f1628bb7
2007-08-21From Neil Piercy:jake1-6/+95
This patch set provides a an API for out of band signalling protocols to register flows as SRTP/SRTCP using extended versions of the existing rt(c)p_add_address functions. At present the encrypted portions of the payloads are simply skipped, and the auth tags etc added as fields. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22562 f5534014-38df-0310-8fa8-9805f1628bb7
2007-07-23Make contributing items and hdr extensions proper fields.martinm1-3/+33
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22382 f5534014-38df-0310-8fa8-9805f1628bb7
2007-05-31From Lars Ruoff:sfisher1-4/+4
find attached several trivial diffs for viewing RTP SSRC values in Hex rather than Dec at various places in the UI. Also includes change from BASE_DEC to BASE_HEX_DEC for corresponding RTP and RTCP dissector header fields. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22017 f5534014-38df-0310-8fa8-9805f1628bb7
2007-02-23From Charles Lepple:etxrab1-2/+2
When dissecting RTP packets with a H.263 payload, the "Mark" flag runs into the Mode A/B flag in the info column. From me abriviate Payload type to PT. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20899 f5534014-38df-0310-8fa8-9805f1628bb7
2007-02-22From Richard van der Hoff:etxrab1-4/+5
Along with this bug, identified by Mark, there is another problem, in that one of the chunks of my earlier patch seemed to get missed off when Anders committed it. This won't break anything yet, as the H.223-over-RTP dissection hasn't landed on trunk yet, but it will cause all sorts of nasties when it does. Here is a new patch, against current trunk, which should fix Mark's bug, my bug, and a comment typo. And a patch wich improves the general robustness of the h.223 dissector (making it less likely to crash on malformed data). Hopefully this also fixes a bug raised by Fabio Sguanci a few weeks ago. Fabio: I think a better way to fix the problem is to stop the dissector crashing when it finds a malformed PDU, so that it just treats the first pdu as malformed; there is then no need to special-case it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20898 f5534014-38df-0310-8fa8-9805f1628bb7
2007-02-21From Richard van der Hoff:etxrab1-9/+411
Here's a patch which adds an option enabling subdissectors to request defragmentation of packets over RTP streams, using the pinfo->desegment_{len,offset} API. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20891 f5534014-38df-0310-8fa8-9805f1628bb7
2007-02-16Make RFC2198 pt preference work (wasn't callingmartinm1-9/+19
proto_reg_handoff_rtp when prefs changed). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20822 f5534014-38df-0310-8fa8-9805f1628bb7
2007-02-01Don't call subdissector for dynamic PT based on PT number if conversation ↵etxrab1-2/+12
info exists. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20678 f5534014-38df-0310-8fa8-9805f1628bb7
2006-10-02Set correct length for extensions rootmartinm1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19393 f5534014-38df-0310-8fa8-9805f1628bb7
2006-06-27the 1st very simple attempt to support RFC 2198 Redundant Audio Datakukosa1-1/+138
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18581 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-02-09ntp_fmt_ts() doesn't take two arguments any more.gerald1-7/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17231 f5534014-38df-0310-8fa8-9805f1628bb7
2006-02-09Add support for PacketCable CCC-encapsulated RTP data, described ingerald1-1/+114
PKT-SP-ESP1.5-I01-050128. Sponsored by CableLabs. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17230 f5534014-38df-0310-8fa8-9805f1628bb7
2006-01-31Fix description of version0_type, now that it also supports T.38.guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17130 f5534014-38df-0310-8fa8-9805f1628bb7
2006-01-29Add an option to dissect purported RTP packets with a version number ofguy1-0/+12
0 as T.38 rather than STUN. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17116 f5534014-38df-0310-8fa8-9805f1628bb7
2005-11-05Packet-amr Register as "AMR" not "amr".etxrab1-1/+4
Add Dynamic PT:s mimestring to rtp_info if avalable. Use Dynamic PT:s mime string to find clock rate. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16397 f5534014-38df-0310-8fa8-9805f1628bb7
2005-10-27remove a strcpy callsahlberg1-1/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16333 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-09-05For SNMP, malloc memory that we're going to free later. Fixes bug 406.gerald1-8/+0
For RTP, don't free se_allocated memory. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15694 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-12more gmemchunk -> se_alloc() improvementssahlberg1-19/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15312 f5534014-38df-0310-8fa8-9805f1628bb7
2005-07-30Make some funtions static. More char -> const char warning fixesjmayer1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15146 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-07From: Martin Mathiesonlego1-1/+1
fix cases where %d has been used instead of %u... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14583 f5534014-38df-0310-8fa8-9805f1628bb7
2005-05-04From Lars Roland:gerald1-1/+1
Make sure a hash table exists before trying to access it. Fixes bug 105. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14305 f5534014-38df-0310-8fa8-9805f1628bb7
2005-04-04From Lars Ruoffsahlberg1-27/+35
Make it possible to tap 4 PDUs from one frame git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14015 f5534014-38df-0310-8fa8-9805f1628bb7
2005-04-01"get_conv_info()" doesn't use the tvbuff passed to it, so don't pass itguy1-3/+3
one. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13994 f5534014-38df-0310-8fa8-9805f1628bb7
2005-03-28Pass a NULL instead of an empty string in the value_string/true_false_stringgerald1-1/+1
field of hf_rtp_payload_type. This should fix the "values output" test failures in the FreeBSD builder. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13959 f5534014-38df-0310-8fa8-9805f1628bb7
2005-03-27Fix a typoetxrab1-5/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13947 f5534014-38df-0310-8fa8-9805f1628bb7
2005-03-27 From Alejandro Vaquero :etxrab1-36/+84
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13942 f5534014-38df-0310-8fa8-9805f1628bb7
2005-03-16Fix some comments.guy1-9/+13
Use the same code to handle payload types in sessions set up by SDP and sessions set up by other protocols, rather than duplicating that code. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13775 f5534014-38df-0310-8fa8-9805f1628bb7
2005-03-16Try the pt_dissector table also if conversation has been set up with SDP.etxrab1-2/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13772 f5534014-38df-0310-8fa8-9805f1628bb7
2005-03-10From Alejandro Vaquero:lego1-4/+22
- Automatic dissection of RTP events (RFC2833) set in SDP sessions. - Add RTP events (RFC2833) to the Voip Graph git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13697 f5534014-38df-0310-8fa8-9805f1628bb7