Commit graph

126 commits

Author SHA1 Message Date
Stig Bjørlykke
c198fc6546 From Didier Gautheron via bug 4419:
se_alloc and ep_alloc never return NULL and se_alloc0 already initialized
data with 0.

svn path=/trunk/; revision=31654
2010-01-25 11:47:39 +00:00
Bill Meier
1a4283ccf8 Fixes for gcc -Wshadow warnings; Fix indentation and do other minor cleanup in a few cases.
svn path=/trunk/; revision=31617
2010-01-22 13:56:19 +00:00
Guy Harris
90765a3c3e To check which SIP method we saw, just #define values for the index in
the sip_methods[] table and check the index's value, don't do a string
comparison.

svn path=/trunk/; revision=31595
2010-01-20 21:05:24 +00:00
Anders Broman
46ba2a93c8 From Karl Heinz Wolf:
Marking in dialog SIP requests.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3588

svn path=/trunk/; revision=31594
2010-01-20 20:34:45 +00:00
Jaap Keuter
b8ef5efede From Benoit Sibaud:
New option to allow retransmission detection with different source ports.

svn path=/trunk/; revision=31496
2010-01-11 14:28:51 +00:00
Anders Broman
8e07cb1a33 Update SIP headers.
svn path=/trunk/; revision=30969
2009-11-16 06:48:17 +00:00
Jeff Morriss
1daf990897 From Stephane Bryant via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2815
but (since the patch no longer applied cleanly) essentially manually
re-implemented by me:

Rename "stun" to "classic stun" and "stun2" to "stun", to follow the usage
defined in draft-ietf-behave-rfc3489bis-18 section 2.

svn path=/trunk/; revision=29884
2009-09-13 23:03:38 +00:00
Kovarththanan Rajaratnam
4b6090e576 Don't guard col_set_str (COL_INFO) with col_check
svn path=/trunk/; revision=29342
2009-08-09 07:01:26 +00:00
Kovarththanan Rajaratnam
e971354a54 Don't guard col_set_str (COL_PROTOCOL) with col_check
svn path=/trunk/; revision=29340
2009-08-09 06:26:46 +00:00
Tomas Kukosa
f56e93d1a5 Support for IPv6 addresses in URI
svn path=/trunk/; revision=29227
2009-07-29 09:13:03 +00:00
Stig Bjørlykke
b228488bc0 From Kovarththanan Rajaratnam via bug 3548:
(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-06-18 21:30:42 +00:00
Jaap Keuter
b429593171 Remove C++ style comments.
Cleanup indentation a bit.

svn path=/trunk/; revision=28380
2009-05-17 06:02:48 +00:00
Anders Broman
0f9c96f8fd From Chidambaram Arunachalam:
SIP Patch to include support for Max-Breadth, Answer-Mode, Priv-Answer-Mode, Trigger-Consent and Permission Missing headers
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3463

svn path=/trunk/; revision=28375
2009-05-16 09:16:11 +00:00
Martin Mathieson
efbf22009e Dissect more than one Via entry if found in a single line.
Fixes bug 3406.

svn path=/trunk/; revision=28054
2009-04-15 13:10:55 +00:00
Anders Broman
d457cf380f Try to please the build bot, fix indentation.
svn path=/trunk/; revision=28038
2009-04-13 18:09:20 +00:00
Anders Broman
662bf774f9 From Andreas Heise:
add SIP URI PARTS dissection to packet-sip.c
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3399

svn path=/trunk/; revision=28037
2009-04-13 14:31:13 +00:00
Gerald Combs
dde9618170 More size_t fixes.
svn path=/trunk/; revision=27977
2009-04-06 20:28:47 +00:00
Anders Broman
bd49b6e54b More size_t casts(Unfinished)
svn path=/trunk/; revision=27898
2009-03-30 19:00:00 +00:00
Anders Broman
4e5748c125 From Andreas Heise:
SIP dissector fix: mismatch of P-Asserted-Identity and P-Answer-State headers
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3356

svn path=/trunk/; revision=27859
2009-03-27 07:08:07 +00:00
Anders Broman
c5f1300045 Init. data to zero.
svn path=/trunk/; revision=27378
2009-02-05 18:08:03 +00:00
Guy Harris
3ad5b02052 Use #if 0, not C99-style comments, to get rid of unused code.
svn path=/trunk/; revision=27344
2009-02-01 21:19:38 +00:00
Guy Harris
07d572cc2a Squelch warnings, for now.
svn path=/trunk/; revision=27343
2009-02-01 21:17:46 +00:00
Anders Broman
f9bb905d13 Calculate the avrage setuptime.
svn path=/trunk/; revision=27342
2009-02-01 20:52:38 +00:00
Bill Meier
c53d96ac3b Use ascii_strdown_inplace instead of g_ascii_strdown in a few places.
This also fixes a few cases where memory was not freed after
 g_ascii_strdown.

svn path=/trunk/; revision=27254
2009-01-17 17:33:50 +00:00
Tomas Kukosa
35ae656ccc new "sip.hdr" subdissector table for SIP Extension headers
svn path=/trunk/; revision=26677
2008-11-03 13:53:42 +00:00
Bill Meier
1a7111b603 Minor revision related to proto_reg_handoff ...
svn path=/trunk/; revision=26252
2008-09-23 00:55:28 +00:00
Bill Meier
419e3a47f6 Cleanup related to prefs & proto_reg_handoff
svn path=/trunk/; revision=26128
2008-09-03 16:42:35 +00:00
Anders Broman
47aca4c30f From stéphane bryant:
STUN, STUN2 and TURN dissection enhancements.

svn path=/trunk/; revision=25895
2008-08-01 15:11:06 +00:00
Anders Broman
91cd5cce23 Handle malformed SIP headers (empty header line missing) and add an expert
item explaining the fault.
Fixes bug
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2729

svn path=/trunk/; revision=25862
2008-07-29 18:02:09 +00:00
Martin Mathieson
6f286b94fb Register raw_sip.line with correct protocol, as noticed while testing
patch for 2581.
















svn path=/trunk/; revision=25676
2008-07-08 16:32:56 +00:00
Jaap Keuter
98899e9996 Fix for bug 2659:
Account for IPv6 addresses representation in Via header.

svn path=/trunk/; revision=25635
2008-06-30 06:35:22 +00:00
Martin Mathieson
dbfbb872ee Make sip.msg_hdr a string field instead of FT_NONE.
svn path=/trunk/; revision=25602
2008-06-25 12:40:15 +00:00
Martin Mathieson
629c06eadb Save timestamp when updating entry for new request frames in existing call.
svn path=/trunk/; revision=25532
2008-06-23 17:04:52 +00:00
Martin Mathieson
d25c57e884 Show short version of Content-Length header.
Fixes but 2635.














svn path=/trunk/; revision=25531
2008-06-23 14:58:17 +00:00
Stig Bjørlykke
3e7bca5b71 Initialize response_time.
svn path=/trunk/; revision=25350
2008-05-22 09:36:01 +00:00
Martin Mathieson
4cbc427bb6 Calculate and display SIP response time.
svn path=/trunk/; revision=25349
2008-05-22 09:29:29 +00:00
Martin Mathieson
b43f96c99e Try to track SIP responses back to their requests.
svn path=/trunk/; revision=25208
2008-05-01 15:23:54 +00:00
Anders Broman
63c5c71cf8 Remove:
#ifdef NEED_G_ASCII_STRCASECMP_H
#include "g_ascii_strcasecmp.h"
#endif

svn path=/trunk/; revision=24859
2008-04-09 05:36:08 +00:00
Stephen Fisher
726a1caaf1 - Remove GLIB1 code
- 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-07 05:22:54 +00:00
Stig Bjørlykke
b091b8d26c Rewrote to use g_strlcpy and g_strlcat.
svn path=/trunk/; revision=24525
2008-03-01 17:23:39 +00:00
Anders Broman
8b342ea896 Update comments.
svn path=/trunk/; revision=23889
2007-12-16 17:43:10 +00:00
Anders Broman
e5f48395f1 Move the routines tvb_skip_wsp() to tvbuff.c
svn path=/trunk/; revision=23818
2007-12-09 17:41:16 +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
Martin Mathieson
d7f8394c7b Make some capitalisation more consistent.
svn path=/trunk/; revision=23236
2007-10-22 10:47:23 +00:00
Anders Broman
0b4529008d Implement some of the minor possible speed improvment patches.
svn path=/trunk/; revision=23150
2007-10-11 21:23:14 +00:00
Martin Mathieson
5382f41680 Make selected length of first line include \r\n (as header lines do).
Make 'Message Body' a proper filterable field.

svn path=/trunk/; revision=23066
2007-10-04 10:24:59 +00:00
Martin Mathieson
c50311cdc6 Add authentication ik and ck parameters.
svn path=/trunk/; revision=22906
2007-09-19 09:27:34 +00:00
Anders Broman
7c574cb6e3 Translate Q.850 Cause values.
svn path=/trunk/; revision=22602
2007-08-23 17:00:44 +00:00
Jeff Morriss
7a57f956b8 Change COPY_ADDRESS to SE_COPY_ADDRESS: all of these appear to have "seasonal" scope (e.g., they are used in conversations or similar).
svn path=/trunk/; revision=22573
2007-08-21 21:23:37 +00:00
Anders Broman
e5d21a06fa Add forgotten header field.
svn path=/trunk/; revision=22491
2007-08-13 16:28:13 +00:00