Commit Graph

89 Commits

Author SHA1 Message Date
Stephen Fisher 9463667692 Fix for bug #2017: VoIP trace crashes Wireshark when specific RTP Player
buttons are clicked


svn path=/trunk/; revision=24073
2008-01-13 04:24:24 +00:00
Stephen Fisher 430866e511 To ease troubleshooting of bug #2017 and for code clarity in the future, use
two different variables for types voip_rtp_stream_info_t (strinfo) and
voip_calls_info_t (callsinfo) instead of using strinfo for both.


svn path=/trunk/; revision=24038
2008-01-09 08:34:58 +00:00
Ronnie Sahlberg e6ed260aca some more path fixes for g_ascii_strcasecmp.h
svn path=/trunk/; revision=23638
2007-11-28 01:31:23 +00:00
Guy Harris 9c89cdaaa3 strcasecmp(), strncasecmp(), g_strcasecmp(), and g_strncasecmp() delenda
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-11-27 18:52:51 +00:00
Tomas Kukosa 9b3c5f9f03 display SRTP isntead of RTP if stream is established like a SRTP
svn path=/trunk/; revision=23337
2007-11-02 07:43:49 +00:00
Tomas Kukosa d3a00ff8bf do not update call_state if new call_state == VOIP_NO_STATE
svn path=/trunk/; revision=23271
2007-10-25 12:24:01 +00:00
Tomas Kukosa 97dde57b7e fix voip_calls.c:126: warning: missing initializer
svn path=/trunk/; revision=23263
2007-10-24 09:10:43 +00:00
Tomas Kukosa 28cb460c25 add common VoIP TAP listener "voip" which can be used in arbitrary experimental/proprietary protocol (implemented e.g. in plugin) and allows it to make graphs and replay streams
svn path=/trunk/; revision=23262
2007-10-24 08:30:46 +00:00
Tomas Kukosa 44800d2c5a H.460 new dissector implemented (H.460.2-H.460.22)
H.225
 - change RysMessage_vals to h225_Rasmessage_vals
 - use #.PDU directive for H323-UserInformation and RasMessage instead of implementing it by hands
 - register RasMessage_PDU as "h225.ras" dissector for calling it from H.460
asn2wrs make PDUs exportable

svn path=/trunk/; revision=23226
2007-10-18 13:35:57 +00:00
Anders Broman fcbc9389d6 Change mgcp include.
svn path=/trunk/; revision=23197
2007-10-15 22:20:53 +00:00
Jaap Keuter b7d63247ad Get rid of the last warning.
svn path=/trunk/; revision=22930
2007-09-24 06:42:59 +00:00
Jaap Keuter f2c1b7e8f0 From Chad Singer:
I fixed a bug in packet_unistim.c which was causing a 'malformed packet' to
appear when an open stream command is read with no endpoint ip (as is sometimes
done) I added a simple msg_len check to avoid this. 
I also added UFTP to the unistim dissector and adjusted the unistim call-detection 
in voip-info.c to start on an open stream as well as keypresses..

svn path=/trunk/; revision=22929
2007-09-24 06:19:56 +00:00
Jaap Keuter e1541263e4 From Chad Singer:
UNISTIM Tap interface plus call grapher.

svn path=/trunk/; revision=22834
2007-09-10 07:21:27 +00:00
Stephen Fisher 2745f06d96 From Lars Ruoff:
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.


svn path=/trunk/; revision=22017
2007-05-31 18:41:25 +00:00
Sebastien Tandel d3d3f9bc68 fix warnings for gcc 4.2
svn path=/trunk/; revision=21974
2007-05-29 02:29:38 +00:00
Tomas Kukosa cfa43d6daa generate T.38 dissector from ASN.1 source
svn path=/trunk/; revision=21676
2007-05-04 07:10:15 +00:00
Guy Harris f13901ef1c memmove() is needed only if the source and destination might overlap.
svn path=/trunk/; revision=21592
2007-04-26 05:47:34 +00:00
Luis Ontanon 359c840dfb do not avoid redrawing the tap
make sure we do not pass a null pointer to add_to_graph()


svn path=/trunk/; revision=21251
2007-03-28 19:31:54 +00:00
Luis Ontanon 9dbe9adf50 Another iteration over sctp calls (RANAP/BSSAP) a step towards TCAP/(MAP/IMAP/CAMEL)
- Fix SUA calls (I would need some more traces to test this)


svn path=/trunk/; revision=21235
2007-03-27 23:00:55 +00:00
Luis Ontanon 25dbb9216f add Megaco to the "VoIP Calls" tap
svn path=/trunk/; revision=21213
2007-03-26 21:12:24 +00:00
Luis Ontanon 7233064c5a rename h248_* to gcp_* according to changes in epan.
svn path=/trunk/; revision=21190
2007-03-25 21:56:08 +00:00
Ulf Lamping 0aaacb0088 fix new warnings
svn path=/trunk/; revision=21131
2007-03-22 23:29:55 +00:00
Luis Ontanon 7f3e4fea48 Mine:
* add SUA to the "VoIP Calls" tap.
* propagate changes to packet-sccp.h to other dissectors

From Neil Piercy:
* add SLR, DLR and CAUSE to COL_INFO

svn path=/trunk/; revision=21126
2007-03-22 22:59:20 +00:00
Ulf Lamping 13825debb0 fix another three MSVC 8.0 warnings
svn path=/trunk/; revision=21089
2007-03-21 12:37:39 +00:00
Ulf Lamping 407d0aeab0 fix all warnings in gtk dir & set the "treat all warnings as errors" MSVC flag
svn path=/trunk/; revision=21080
2007-03-21 03:26:26 +00:00
Luis Ontanon 16f4a91dfc Add the sccp tap to the "VoIP Calls" Tap (which by now should be renamed to just "Calls") but that's for later.
Now it does H323, SIP, MGCP, ISUP/BICC, RANAP, BSSAP, H.248  and others...

svn path=/trunk/; revision=21077
2007-03-21 00:59:00 +00:00
Luis Ontanon 529c65f713 voip_calls.c:
- instead of wrongly using the h248 call counter use tapinfo's counter

graph_analysis.c:
- beautify  the code (I was trying to the bug that got fixed by bzeroing m3ua tap data however this looks better!).

svn path=/trunk/; revision=21063
2007-03-19 00:36:42 +00:00
Luis Ontanon ef24b97061 have voip_calls using the m3ua tap
svn path=/trunk/; revision=21060
2007-03-18 23:16:54 +00:00
Luis Ontanon cd824a3f67 squelch some warnings
svn path=/trunk/; revision=21057
2007-03-18 22:26:08 +00:00
Luis Ontanon 627f57b351 add h248 to VoIP Calls
svn path=/trunk/; revision=21056
2007-03-18 22:14:12 +00:00
Stephen Fisher 0ebc01dc03 From Sebastien Tandel:
Create two new files (ws_strsplit.[ch]) that use GTK2 code to override
the buggy g_strsplit() function when compiling for GTK1.  Include this
work-around function (ws_strsplit) in libwireshark.def.  Add notes on usage
to README.developer.  Include epan/ws_strsplit.h in all files that use
g_strsplit().


svn path=/trunk/; revision=20804
2007-02-13 20:57:22 +00:00
Jaap Keuter 3475ae994d From Alejandro Vaquero:
Find attached a patch for this bug. The problem was actually in the "Voip Calls" logic, when the first RTP packet was after the last signaling packet (e.g. a call connected and the release not captured), that caused the RTP to not be added to the graph list and therefor to the player.

svn path=/trunk/; revision=19667
2006-10-24 05:17:49 +00:00
Guy Harris 58bbda182a Don't display the Play button if we're not built with the RTP player.
In tests for whether we're built with the RTP player, test
HAVE_LIBPORTAUDIO first - hopefully we can eventually get rid of the
test for the GTK+ version number.

svn path=/trunk/; revision=19641
2006-10-20 20:05:27 +00:00
Guy Harris b6e73ed047 Put the period into ITU-T Recommendation names.
Clean up indentation.

svn path=/trunk/; revision=19635
2006-10-20 18:41:40 +00:00
Ulf Lamping a1b7a22a8e from Stephen Fisher:
Here is a patch for spelling typos in comments and strings in the gtk/ 
directories.

svn path=/trunk/; revision=19568
2006-10-17 01:29:55 +00:00
Guy Harris 2ac8761978 Include "rtp_player.h" in "voip_calls.c" if we're supporting the RTP
player, so that we get declartions of rtp_player_init() and
add_rtp_packet().

Constify the first argument to add_rtp_packet(), as it's passed a
pointer to a const value.

svn path=/trunk/; revision=19272
2006-09-21 17:39:17 +00:00
Anders Broman a1f8b7e084 From Alejandro Vaquero:
Need to use HAVE_LIBPORTAUDIO instead 
of PORTAUDIO_DIR in voip_calls.c

And build the windows version with Port audio.

svn path=/trunk/; revision=19187
2006-09-10 18:03:22 +00:00
Anders Broman 7eac3c2879 From Alejandro Vaquero:
- Change the "listen_rtp" to "rtp_player"
- Change from a plugin to be part of the core
- By default it will not compile with the rtp_player. In order to 
compile it is necessary to:
       + For windows: uncomment the line 
"PORTAUDIO_DIR=$(WIRESHARK_LIBS)\portaudio_v18_1" in config.nmake
       + For linux: using the "--with-portaudio=yes"

svn path=/trunk/; revision=19094
2006-08-30 21:51:31 +00:00
Jaap Keuter e4b7002b5f From: Martin Mathieson
I'm not sure if this will help with the problems that Keith French is
seeing, but when I loaded some of my old H.323 traces, one of them would
assert/abort.  This patch fixes that assertion (looks like it was obviously
asserting on the wrong pointer variable).

svn path=/trunk/; revision=18791
2006-07-25 09:21:41 +00:00
Anders Broman 330a42fc91 From Martin Mathieson:
Mike Oliveras has indicated that for MGCP voip calls, 2 seconds may be a 
better timeout for still matching DLCX requests to a hung-up endpoint, 
as in this patch.

svn path=/trunk/; revision=18662
2006-07-05 05:18:06 +00:00
Jaap Keuter 55d6e6ba0b Make SSRC display (among others) unsigned. Fixes Ethereal bug 1002.
svn path=/trunk/; revision=18559
2006-06-23 15:22:12 +00:00
Ronnie Sahlberg 6ceb4d9b46 coverity 194
this is actually a false positive in coverity and can not trigger since htis pointer can not be null here 
but verifying this before the varialbe is dereferenced does not hurt in case 
the file is changed and this contract is broken.


checking the

svn path=/trunk/; revision=18542
2006-06-22 11:08:35 +00:00
Anders Broman c01e45186f From Martin Mathieson:
Fix the part where the DeleteConnection messages and 
responses were not being included in the graphs.
There is a test that allows messages such as these for 1 second after 
the call has been hung up, but the time calculation was wrong.

svn path=/trunk/; revision=18479
2006-06-15 21:38:37 +00:00
Anders Broman ea3364b8f3 Complete the parch from:
From Cvetan Ivanov: 

voip_calls.c
It seems to me that in gtk/voip_calls.c tmp_h323info->guid is pointer itself, therefore: 
memcmp(&tmp_h323info->guid 
should in fact read: 
memcmp(tmp_h323info->guid

svn path=/trunk/; revision=18424
2006-06-11 06:20:48 +00:00
Anders Broman 6471c00a55 From Cvetan Ivanov:
H225.cnf
I noticed is that the voip call flow graph does not have a label for the setupAck packet. I traced this to the empty frame_label.

voip_calls.c
It seems to me that in gtk/voip_calls.c tmp_h323info->guid is pointer itself, therefore: 
memcmp(&tmp_h323info->guid 
should in fact read: 
memcmp(tmp_h323info->guid

svn path=/trunk/; revision=18304
2006-06-01 20:19:51 +00:00
Guy Harris 92552c2d76 Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUI
strings, and function names.

svn path=/trunk/; revision=18205
2006-05-22 07:29:40 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Guy Harris 7db8eea5c6 Make the GUIDs in various data structures e_guid_t's rather than arrays
of 16 bytes.  Use "sizeof" for the size of e_guid_t's, and use structure
assignment to copy GUID values.

Make functions such as append_h225ras_call() and new_h225ras_call() take
pointers to e_guid_t's as arguments.

Define GUID_LEN in epan/guid-utils.h and use it as the length of a GUID
in a packet.  (Note that "sizeof e_guid_t" is not guaranteed to be 16,
although it is guaranteed to be the size of an e_guid_t.)

When constructing a display filter that matches a GUID, use
guid_to_str() to construct the string for the GUID.

svn path=/trunk/; revision=17676
2006-03-19 20:45:45 +00:00
Anders Broman 1fd7fbdb1d From Alejandro Vaquero:
a patch for the VoipCalls to fix a couple of issues:
- a problem with the RTP Events (RFC2833) not been handle correctly
- Display the RTP stream in time order when the setup frame is after the 
RTP stream.
- fix a init issue that caused the H245 packet to not been displayed 
correctly.

svn path=/trunk/; revision=17383
2006-02-23 20:02:23 +00:00
Jaap Keuter 5a128e3958 Remove uninitalized variable warning
svn path=/trunk/; revision=17037
2006-01-16 06:31:25 +00:00