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
Anders Broman
5856a9e4e3
Add header fields.
...
svn path=/trunk/; revision=22481
2007-08-10 11:41:28 +00:00
Anders Broman
aba53f4da7
Wireshark fails to decode the MIME encapsulation part correctly if there is a
...
"white space" in the Content-Type field before the semi-colon.
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1716
Still does not work correctly as packet-multipart.c seems to have got broken.
svn path=/trunk/; revision=22470
2007-08-08 14:25:17 +00:00
Martin Mathieson
b9ac488c45
Make lines of raw SIP filterable. Fix a little whitespace.
...
svn path=/trunk/; revision=22242
2007-07-04 17:27:46 +00:00
Martin Mathieson
ae673b5b38
Allow Via sigcomp-id parameter name to be matched properly.
...
svn path=/trunk/; revision=21804
2007-05-16 14:24:13 +00:00
Tomas Kukosa
840b4e46a9
register the right dissector for SIP over SSL/TLS
...
svn path=/trunk/; revision=21473
2007-04-19 07:09:59 +00:00
Luis Ontanon
fdbc713314
register the right dissector for tcp
...
Fixes Bug 1429
svn path=/trunk/; revision=21457
2007-04-17 15:46:05 +00:00
Martin Mathieson
4b18fbc8a5
Add Via sigcomp-id param (from draft-ietf-rohc-sigcomp-sip)
...
svn path=/trunk/; revision=21389
2007-04-12 14:31:49 +00:00
Jeff Morriss
109388d263
Clean up some more warnings: unused variables, unitialized variables, wrong format (%ld instead of %d) in packet-sccp.c
...
svn path=/trunk/; revision=21167
2007-03-24 13:46:41 +00:00
Martin Mathieson
899c936d3f
Add some missing RFC references to header long text.
...
svn path=/trunk/; revision=20652
2007-01-31 17:42:45 +00:00
Tomas Kukosa
c5a0dfda69
make SIP TCP/TLS ports configurable via preferences
...
svn path=/trunk/; revision=20392
2007-01-11 10:10:03 +00:00