Commit Graph

99 Commits

Author SHA1 Message Date
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
Martin Mathieson 55905b7bf3 Make Expires header value a numeric field
svn path=/trunk/; revision=20309
2007-01-04 17:56:17 +00:00
Martin Mathieson d9da45e31e Dissect details of RAck header, and change RSeq to a numerical field.
svn path=/trunk/; revision=20271
2007-01-02 17:06:00 +00:00
Guy Harris 303082812e From Sebastien Tandel: fix places where a signed character was being
passed to ctype.h macros.

Make some routines in packet-exec.c not used outside that file static,
and fix a typo.

svn path=/trunk/; revision=20222
2006-12-26 22:56:35 +00:00
Anders Broman bb3b431776 Prepare to decode Q.850 REASON.
svn path=/trunk/; revision=20056
2006-12-06 22:08:32 +00:00
Martin Mathieson 3c9a154750 Via param name copy-paste error
svn path=/trunk/; revision=20047
2006-12-05 14:20:55 +00:00
Anders Broman 34a2c27714 Add hf fields for the latest headers from IANA.
svn path=/trunk/; revision=20030
2006-12-01 18:49:09 +00:00
Jörg Mayer dd26a7021b nikai@nikai.net:
Remaining fixes from:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1225

svn path=/trunk/; revision=19895
2006-11-14 20:32:29 +00:00
Martin Mathieson 49a3e2a6e5 Dissect Via header
svn path=/trunk/; revision=19364
2006-09-29 17:35:23 +00:00
Martin Mathieson 473347e064 Dissect sequence number & method name of CSeq header.
svn path=/trunk/; revision=19336
2006-09-27 12:49:00 +00:00
Martin Mathieson 133e459384 Make Content-Length and Max-Forwards fields uints
svn path=/trunk/; revision=19259
2006-09-19 17:40:24 +00:00
Tomas Kukosa 539102ca60 - new function ssl_dissector_delete()
- register H.225.0 over TLS (configurable port 1300)
- register SIP over TLS (fixed port 5061)
- new function proto_tree_get_root()

svn path=/trunk/; revision=19059
2006-08-28 07:05:02 +00:00
Martin Mathieson 6a6a108f5d Add an expert item to indicate unrecognised SIP headers. Useful for finding:
- encoding problems or use of exotic extensions in equipment
- headers missing from the SIP dissector

svn path=/trunk/; revision=18829
2006-08-03 14:51:45 +00:00
Gerald Combs 8e5bdb964d Pass tvb_format_text() through a format string, in case it returns any
"%" characters.

svn path=/trunk/; revision=18600
2006-06-28 20:30:42 +00:00
Anders Broman 0bf4780bf2 From Martin Mathieson:
Fix Bug 976

Looking at frame 170 in the trace, it looks like 
tvb_get_ephemeral_text() struggles with the null character in the middle 
of the 4th parameter (in the WWW-Authenticate header) and returns NULL.  
The attached patch uses tvb_format_text() instead which also does a 
better job of showing the string.

svn path=/trunk/; revision=18589
2006-06-27 22:04:35 +00:00
Jaap Keuter 036661ed3d Somewhat improve heuristic when SIP is encapsulated in another protocol.
svn path=/trunk/; revision=18531
2006-06-21 17:57:10 +00:00
Anders Broman 581f2e92aa From Martin Mathieson:
This version of the patch won't look for the authentication scheme (it 
just skips that part for Authentication-Info headers).  I tested it 
using the enclosed file (pasted from the RFC and fed through 
od/text2pcap, then messed around with so I could test the other new 
parameters, even if they don't really belong in that header...).

svn path=/trunk/; revision=18244
2006-05-29 18:13:55 +00:00
Ronnie Sahlberg feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00