aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtpproxy.c
AgeCommit message (Collapse)AuthorFilesLines
2014-06-19Revert "Fixup: tvb_* -> tvb_captured"Michael Mann1-1/+1
https://www.wireshark.org/lists/wireshark-dev/201406/msg00131.html This reverts commit 246fe2ca4c67d8c98caa84e2f57694f6322e2f96. Change-Id: Ib24bae0198c13a84bd7f731bf4af921212109a8f Reviewed-on: https://code.wireshark.org/review/2430 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-18Fixup: tvb_* -> tvb_capturedDario Lombardo1-1/+1
Change-Id: I9209c1271967405c34c1b6fa43e1726a4d3a5a3f Reviewed-on: https://code.wireshark.org/review/2377 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-18Fixup: tvb_get_string(z) -> tvb_get_string(z)_encDario Lombardo1-24/+24
Change-Id: I63a3704effe3fcab01a193dc39b6a22e9f1cf3fe Reviewed-on: https://code.wireshark.org/review/2376 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-03packet-bencode: proto_tree_add_text -> somthing filterableMichael Mann1-1/+1
Also, cleanup dissector being called only with tree and a few tvb_new_subset calls. Change-Id: I1dab1b42ef1a27fc85b05d126f51f1582d7e5c58 Reviewed-on: https://code.wireshark.org/review/1932 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-05-21Add cast to satisfy buildbotEvan Huus1-1/+1
Change-Id: Ib0f66fb6e4a577da7381a75789b08a0d0371ddd2 Reviewed-on: https://code.wireshark.org/review/1709 Reviewed-by: Evan Huus <eapache@gmail.com>
2014-05-20Don't panic in case of mediaproxy-ng/rtpengine extensionPeter Lemenkov1-1/+14
Change-Id: Id0441ec3e68b594051930623c17f45e806b79616 Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-on: https://code.wireshark.org/review/1633 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-02-20Initial basic RTPproxy-ng dissectorPeter Lemenkov1-1/+31
Initial basic RTPproxy-ng dissector which uses bencode packing. Change-Id: I5b3e9f6e745977b3df12263c3a9f4ee9a3e1445e Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-on: https://code.wireshark.org/review/268 Reviewed-by: Evan Huus <eapache@gmail.com> Tested-by: Evan Huus <eapache@gmail.com>
2014-02-11Add expert info about skipped notify IP addressPeter Lemenkov1-2/+5
- Add expert info about skipped notify IP address - Add a couple of comments (cosmetic) Change-Id: I6caa904cf16b304724c5da1933531cf865daf619 Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-on: https://code.wireshark.org/review/171 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-02-10Use IP types instead of plain strings where possiblePeter Lemenkov1-45/+84
Change-Id: Ia4a78e1ef3a7c45761cc271ecc17e7868b8456d9 Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-on: https://code.wireshark.org/review/157 Reviewed-by: Evan Huus <eapache@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2013-12-26Add numeric types instead of string where possible in the RTPproxy ↵Michael Mann1-24/+32
dissector. Bug 9561 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9561) From Peter Lemenkov svn path=/trunk/; revision=54467
2013-12-21Add missing includesJakub Zawadzki1-0/+1
svn path=/trunk/; revision=54332
2013-12-21New functions: str_to_ip6(), str_to_ip()Jakub Zawadzki1-12/+2
This way we can avoid including lot of system header files in some dissectors and it might fix bug #9581 svn path=/trunk/; revision=54330
2013-12-16From Peter Lemenkov:Bill Meier1-4/+4
"This patch removes misleading dereferencing operator from the array's name. E.g. consider the following declaration: guint32 ipaddr[4]; ipaddr points to the address of an array of guint32's, while &ipaddr points to the first' guint32 object. E.g. &ipaddr == &ipaddr[0]. The value is the same, but has different type which is necessary sometimes. However inet_pton treats latest argument as void*, and this information is left anyway. So no need to bother with types and let's just pass pointer to the array." https://bugs.wireshark.org/bugzilla/attachment.cgi?id=12304 From me: Remove dereferencing operator from 'ipaddr' in two calls to wmem_memdup(). svn path=/trunk/; revision=54156
2013-12-15From Peter Lemenkov via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9558Alexis La Goutte1-1/+5
Mark generated fields as generated in RTPproxy dissector This patch is cosmetic. It just marks generated fields as generated (to avoid confusion) Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> svn path=/trunk/; revision=54123
2013-12-13From Peter Lemenkov via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9556Alexis La Goutte1-8/+3
Cosmetic change in a LF field representation in the RTPproxy dissector Don't display any value for LF field Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> svn path=/trunk/; revision=54045
2013-12-13Fix [-Wmissing-prototypes]Anders Broman1-1/+0
svn path=/trunk/; revision=54025
2013-12-12- Make local functions static.Anders Broman1-4/+7
- Forward declaration of register functions. svn path=/trunk/; revision=53958
2013-12-03When including <epan/prefs.h> don't force inclusion of <epan/uat.h>Jakub Zawadzki1-0/+1
svn path=/trunk/; revision=53769
2013-12-03Clean up indentation.Guy Harris1-1/+1
svn path=/trunk/; revision=53742
2013-12-02Fix Coverity CID 1134045: Printf format string issue. (As documented in the ↵Chris Maynard1-1/+1
printf man page for the ' option, "Note that many versions of gcc(1) cannot parse this option and will issue a warning." (r47940 reverted a similar change, so this keeps things consistent.) svn path=/trunk/; revision=53705
2013-11-30From Peter Lemenkov via ↵Pascal Quantin1-3/+17
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9490 : Couple packets in RTPproxy dissector not only with CookieID but also with Call-IDs svn path=/trunk/; revision=53673
2013-11-29From Peter Lemenkov via ↵Pascal Quantin1-2/+5
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9487 : Use RTP payload descriptions from RTP dissector in RTPproxy codec param value svn path=/trunk/; revision=53658
2013-11-28RTPproxy dissector: Add expert info about timeouts. Bug 9484 ↵Michael Mann1-0/+31
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9484) From Peter Lemenkov svn path=/trunk/; revision=53622
2013-11-27Reinitialize counter between loops to avoid an out of bound access found ↵Pascal Quantin1-1/+2
with fuzz testing. svn path=/trunk/; revision=53612
2013-11-26Squelch a compiler warning.Guy Harris1-2/+5
svn path=/trunk/; revision=53606
2013-11-26From Peter Lemenkov via ↵Pascal Quantin1-2/+9
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9476 : Add DTMF dissector setup based on the information found in RTPproxy requests svn path=/trunk/; revision=53605
2013-11-26From Peter Lemenkov via ↵Pascal Quantin1-1/+287
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9444 : Add initial parameter parser for commands in RTPproxy dissector svn path=/trunk/; revision=53604
2013-11-26From Peter Lemenkov via ↵Pascal Quantin1-2/+56
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9397 : Add RTP/RTCP dissector setup based on the replies found in rtpproxy dissector svn path=/trunk/; revision=53603
2013-11-25Fix typo errorsPascal Quantin1-6/+6
svn path=/trunk/; revision=53585
2013-11-17add a cast to fix compiler warningMartin Kaiser1-1/+1
svn path=/trunk/; revision=53401
2013-11-17From Peter Lemenkov via ↵Pascal Quantin1-10/+33
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9441 : Fix Notify IPv6 address parsing in RTPproxy dissector svn path=/trunk/; revision=53394
2013-11-17From Peter Lemenkov via ↵Pascal Quantin1-3/+3
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9440 : RTPproxy: use proto_item_append_text instead of rewriting the entire item's text svn path=/trunk/; revision=53393
2013-11-17From Peter Lemenkov via ↵Pascal Quantin1-0/+2
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9430 : Fix empty ToTag in RTPproxy's Offer/Update command svn path=/trunk/; revision=53391
2013-11-17From Peter Lemenkov via ↵Pascal Quantin1-15/+30
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9429 : Fix Notify info parsing in RTPproxy dissector svn path=/trunk/; revision=53385
2013-11-11replace proto_tree_add_string_format_value() with proto_tree_add_item()Martin Kaiser1-2/+4
svn path=/trunk/; revision=53261
2013-11-11From Peter LemenkovMartin Kaiser1-1/+16
display a text description for the RTPProxy version request https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9416 svn path=/trunk/; revision=53249
2013-11-11Decode more error replies in RTPproxy dissector. Bug 9408 ↵Michael Mann1-8/+22
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9408) From Peter Lemenkov svn path=/trunk/; revision=53245
2013-11-06Add response time to the rtpproxy dissector. Bug 9380 ↵Michael Mann1-0/+25
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9380) From Peter Lemenkov. svn path=/trunk/; revision=53115
2013-10-09Fix signed vs. unsigned comparison warnings.Guy Harris1-4/+4
svn path=/trunk/; revision=52483
2013-10-09Try to fixAnders Broman1-4/+4
packet-rtpproxy.c:217: warning: comparison between signed and unsigned svn path=/trunk/; revision=52477
2013-10-09Make RTPProxy a newstyle dissector.Anders Broman1-6/+17
svn path=/trunk/; revision=52476
2013-10-02Let's please fix-encoding-args.plPascal Quantin1-3/+3
svn path=/trunk/; revision=52334
2013-10-02From Peter Lemenkov via ↵Pascal Quantin1-0/+84
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9211 : Add basic conversation support for rtpproxy dissector svn path=/trunk/; revision=52331
2013-09-22emem -> wmem conversion:Pascal Quantin1-1/+1
- ep_tvb_get_bits() -> wmem_packet_tvb_get_bits() - tvb_g_memdup()/ep_tvb_memdup() -> tvb_memdup() - tvb_fake_unicode()/tvb_get_ephemeral_faked_unicode() -> tvb_get_faked_unicode() - tvb_get_g_string()/tvb_get_ephemeral_string()/tvb_get_seasonal_string() -> tvb_get_string() - tvb_get_g_unicode_string()/tvb_get_ephemeral_unicode_string() -> tvb_get_unicode_string() - tvb_get_ephemeral_string_enc() -> tvb_get_string_enc() - update docs accordingly svn path=/trunk/; revision=52172
2013-08-19Fix Coverity CID 1063335: Unused pointer value.Chris Maynard1-1/+1
svn path=/trunk/; revision=51430
2013-08-18One more 64/32-conversion fix for rtpproxyEvan Huus1-1/+1
svn path=/trunk/; revision=51421
2013-08-18Take another stab atEvan Huus1-1/+1
packet-rtpproxy.c:226: warning: implicit conversion shortens 64-bit value into a 32-bit value svn path=/trunk/; revision=51420
2013-08-18Add a cast to try and fixEvan Huus1-1/+1
packet-rtpproxy.c:226: warning: implicit conversion shortens 64-bit value into a 32-bit value I'm not quite sure what's going on here, all the values in use are either gint or guint so they should all be the same size? svn path=/trunk/; revision=51419
2013-08-18From Peter Lemenkov via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8326Evan Huus1-0/+808
Dissector for the Sippy RTPproxy controlling protocol. RTPproxy is a well-known (among SIP-engineers) application and it operates using its own simple text-based protocol. There are several competing products but all of them implements it (sometimes slightly extending). svn path=/trunk/; revision=51417