Commit Graph

10810 Commits

Author SHA1 Message Date
Bill Meier df3c52dc2a Whitespace cleanup;
Add some braces;

svn path=/trunk/; revision=35018
2010-11-24 03:43:09 +00:00
Bill Meier 96510d9b38 Tighten up code dissecting message header.
This corrects the specific issue reported in Bug #3317
wherein the dissector decided there was a valid but unknown
header when dissecting a binary (non text) message with a ":"
as the last byte.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3317

Note that a larger issue remains: the IMF dissector
presumably shouldn't really even try to dissect a
binary payload (which is proably encrypted text).

svn path=/trunk/; revision=35017
2010-11-24 02:11:43 +00:00
Anders Broman 01eae27dc1 Remove Supported Channels lenght check fixes
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5430

svn path=/trunk/; revision=35016
2010-11-23 19:42:11 +00:00
Jeff Morriss cce1bef672 Based on https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5391#c11 : put some DISSECTOR_ASSERTs and THROW's back in.
svn path=/trunk/; revision=35014
2010-11-23 15:27:18 +00:00
Martin Mathieson e1689f4ad4 Check the DDI while dissecting the header.
svn path=/trunk/; revision=35013
2010-11-23 11:01:48 +00:00
Stig Bjørlykke f7c394dfd0 Initialize no_assoc.app_info=0.
svn path=/trunk/; revision=35011
2010-11-22 21:05:49 +00:00
Anders Broman 8bc65842e0 From Mike Morrin:
In bssmap, track L3 handover target (GSM or UMTS) between PDUs
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5294

svn path=/trunk/; revision=35009
2010-11-22 20:24:12 +00:00
Jeff Morriss 1b04b1b765 From Emil Wojak via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5391 :
I'd like to share my enhancements to the TDS dissector with everyone.
The list of improvements follows:
- nearly complete dissection of RPC calls,
- detection and dissection of the ALL_HEADERS rule,
- corrected some existing proto_tree fields to support filters,
- other minor fixes where the interpretation of data conflicted with the
  official documentation from MS.

I tested the new code on a variety of different TDS captures with many diverse
RPC calls. The code compiles and works on 32-bit Linux, I didn't check those
changes on other platforms though.

From me:

- terminate all value_strings
- change ++*offset to *offset += 1 (I think that's more readable)
- replace all the dissector assertions which could be caused by malformed
  packets with expert infos
- Don't throw ReportedBoundsError when the packets have unexpected data in
  them, just report an expert info and continue on

svn path=/trunk/; revision=35007
2010-11-22 18:48:54 +00:00
Jeff Morriss 1f4cdf5a9d From Stephane Bryant via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5358 :
This is a dissector for reload framed message:
ReLOAD packets can be inserted in frame message, as described in
draft-ietf-p2psip-base-10

From me: remove some unnecessary includes.

svn path=/trunk/; revision=35005
2010-11-22 16:19:39 +00:00
Anders Broman 6224708d6c Remove faulty return, probably forgotten during test.
Fixing dissection on Via header.

svn path=/trunk/; revision=35004
2010-11-22 15:02:06 +00:00
Martin Mathieson c018054581 Add another (unsupported) channel type identifier.
svn path=/trunk/; revision=35001
2010-11-22 13:37:13 +00:00
Martin Mathieson 74a74645b1 Add sequence analysis for PDCP, based upon RLC/UM.
For now, only enable it for logged PDCP frames, i.e. not for PDCP found inside RLC (that won't work properly until RLC re-assembly is implemented).

svn path=/trunk/; revision=35000
2010-11-22 13:28:49 +00:00
Chris Maynard 37f3870cac Display priority and protocol, even in the case of WCCP2_SERVICE_STANDARD, but
indicate that these fields are unused in this case and must be zero.
Furthermore, if the value is non-zero, add an expert info warning about it.
Fixes bug 3631.

svn path=/trunk/; revision=34998
2010-11-22 05:09:57 +00:00
Jaap Keuter 0a9a603814 Fix for bug 5425:
Add support for dissecting SLL type 0x0C frames.

svn path=/trunk/; revision=34991
2010-11-21 12:36:24 +00:00
Stig Bjørlykke 3bfd25c34e Removed unused route_preference.
svn path=/trunk/; revision=34990
2010-11-21 11:28:42 +00:00
Anders Broman ebac83d6a3 From Alexis La Goutte:
ICMPv6 Enhancements : make ICMP option filterable.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5424

svn path=/trunk/; revision=34988
2010-11-21 10:30:35 +00:00
Jaap Keuter ba2d64102c Fix for bug 5422:
Add support for dissecting SLL type 0x03 frames.

svn path=/trunk/; revision=34987
2010-11-20 18:14:30 +00:00
Guy Harris f54beaed87 Clean up blurbs a bit. Not much we can do about "Description" - what is
it a description *of*?

svn path=/trunk/; revision=34978
2010-11-19 19:02:08 +00:00
Jeff Morriss f424256889 Verify the number of rectangles, sub-rectangles, the number of bytes of cut
text, etc. are "sane" before:
1) requesting enough bytes (from reassembly) to dissect them all
2) (and) attempting to add them all to the tree

Request all the bytes we'll need to dissect all those rectangles/sub-rectangles
before starting dissection rather than checking before dissecting each
rectangle/sub-rectangle.

Use tvb_get_ephemeral_string().

Use _U_ to mark unused arguments.

Fix up some indentation.

Get rid of one more DISSECTOR_ASSERT.

svn path=/trunk/; revision=34977
2010-11-19 18:54:19 +00:00
Jeff Morriss 8f642bdb5c From Yaniv Kaul via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5366 :
Several fixes that make Tight VNC negotiation properly parsed.
It was not parsed correctly previously, for multiple reasons.

svn path=/trunk/; revision=34976
2010-11-19 18:53:40 +00:00
Anders Broman abc2a1d690 Mark a parameter as unused.
svn path=/trunk/; revision=34974
2010-11-19 16:33:12 +00:00
Anders Broman 79939636d1 Pretify dissection of H.248 Annex C.11 SDP equivalents.
svn path=/trunk/; revision=34972
2010-11-19 15:43:35 +00:00
Bill Meier 5cb41c00b1 Remove a check_col();
Fix a typo;
Minor whitespace cleanup.

svn path=/trunk/; revision=34971
2010-11-19 15:26:27 +00:00
Bill Meier 19e7c7461f Use value_string_ext fcns to access certain value_string arrays.
svn path=/trunk/; revision=34970
2010-11-19 15:21:40 +00:00
Jeff Morriss c6b7cbd5dc Remove some unnecessary includes.
svn path=/trunk/; revision=34969
2010-11-19 13:35:24 +00:00
Martin Mathieson fe225663ee Reserve not-yet-supported channel type IDs.
svn path=/trunk/; revision=34967
2010-11-19 11:42:05 +00:00
Jeff Morriss 431eb6a7be From Stephane Bryant via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5412 :
Update ReLOAD dissector to reflect draft-ietf-p2psip-base-12

svn path=/trunk/; revision=34966
2010-11-19 02:32:42 +00:00
Jeff Morriss 075954f5a5 From Shoichi Sakane via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5270 :
Fix the dissection of the length of the option field.

svn path=/trunk/; revision=34965
2010-11-19 02:12:19 +00:00
Bill Meier ceb99a4bf0 Fix compilation errors: Use FT_DOUBLE and proto_tree_add_double for gdoubles.
svn path=/trunk/; revision=34963
2010-11-18 23:02:20 +00:00
Bill Meier 7d38abddaa Fix compilation errors: Use FT_DOUBLE and proto_tree_add_double for gdoubles.
svn path=/trunk/; revision=34962
2010-11-18 22:55:18 +00:00
Bill Meier f2030d7270 stats_tree_register() need be called only once (and not each time a port pref is changed);
(Minor) use tvb_reported_length_remaining() rather than tvb_length_remaining() in a number of places;
Add a comment to get_sametime_message_len() about the minimum length of the tvb when the fcn is called.

svn path=/trunk/; revision=34961
2010-11-18 21:56:25 +00:00
Stephen Fisher dbf10b1dc8 From Jon Ellch via bug #5175: Add PPI-GPS protocol dissector patch
Minor changes by me as detailed in the bug's comment #8.


svn path=/trunk/; revision=34956
2010-11-18 20:54:14 +00:00
Bill Meier 1d42ee3ebb Use value_string_ext fcns to access a number of value_string arrays;
Sort several value_arrays in ascending order by value;
Localize a global variable to proto_reg_handoff().

svn path=/trunk/; revision=34955
2010-11-18 19:37:22 +00:00
Bill Meier 13f264e34a Tighten up TLV processing a bit to prevent a potential loop.
svn path=/trunk/; revision=34954
2010-11-18 19:25:11 +00:00
Anders Broman a6f7c3a8bd Tweak the display of the header.
svn path=/trunk/; revision=34946
2010-11-18 16:01:39 +00:00
Anders Broman da383952df "Fill" value_strings.
svn path=/trunk/; revision=34935
2010-11-17 21:58:35 +00:00
Bill Meier 311cac0568 Use value-string_ext fcns to access value_string array;
Sort value_string_array in ascending order by value;
Reformat display of tag info to be more readable;
Rework TLV processing;
Remove unneeded variable;
Minor whitespace cleanup.

svn path=/trunk/; revision=34933
2010-11-17 21:40:21 +00:00
Anders Broman 3c998dadc2 value_string_ext fixes.
svn path=/trunk/; revision=34932
2010-11-17 16:56:51 +00:00
Jeff Morriss ea23d55aa5 Remove unneeded stuff from the Copyright notice. Use ENC_BIG_ENDIAN and ENC_NA.
svn path=/trunk/; revision=34931
2010-11-17 16:52:20 +00:00
Jeff Morriss 805d04fd15 From Toralf Foerster via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5376 :
A dissector for the SAMETIME protocol.

From me: no need to include gmodule.h, use only ASCII in the author's name.

svn path=/trunk/; revision=34930
2010-11-17 16:47:03 +00:00
Anders Broman b4098dfae9 - Update to 3GPP TS 25.413 V9.4.0 (2010-09).
- Fill the value_strings.

svn path=/trunk/; revision=34929
2010-11-17 16:23:10 +00:00
Anders Broman 3ffa66319e - Update to 3GPP TS 25.413 V9.4.0 (2010-09).
- Fill the value_strings.

svn path=/trunk/; revision=34928
2010-11-17 15:36:53 +00:00
Bill Meier e65f69766a User value_string_ext fcns to access several value_string arrays;
Minor reformatting and whitespace cleanup.

svn path=/trunk/; revision=34927
2010-11-17 14:59:08 +00:00
Anders Broman 263db68ab6 - Update to 3GPP TS 25.413 V9.4.0 (2010-09).
- Fill the value_strings.

svn path=/trunk/; revision=34925
2010-11-17 11:48:17 +00:00
Anders Broman 1913b3dd3e - Use SABP:s SCTP ppid.
- Use value_string_ext.

svn path=/trunk/; revision=34924
2010-11-17 08:18:30 +00:00
Jaap Keuter 62067368a0 Separate out/update comment block.
Update IANA assignments.
Use available checksum routines.
Some cleanup and use of convenience macros.

svn path=/trunk/; revision=34922
2010-11-17 07:42:32 +00:00
Jeff Morriss 37d4ccff56 From Slava via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5335 :
This patch adds to Wireshark the ability to dissect Infiniband SDP (Socket
Direct Protocol) and CM MADs traffic.

It also contains various other bug-fixes and enhancements. SDP traffic can be
identified automatically (analyzing SDP CM MADs) or manually.

SDP, or Sockets Direct Protocol, is a protocol developed by the Infiniband
Trade Association which enables existing socket-based applications to
transparently utilize the Infiniband capabilities. 

This patch is submitted on behalf of Mellanox Technologies Ltd.

svn path=/trunk/; revision=34918
2010-11-17 02:57:22 +00:00
Anders Broman 2bb0b3fa19 The IPv6 "element" in PDN address information element is a 8 byte
IPv6 interface identifier.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5408

svn path=/trunk/; revision=34914
2010-11-16 20:46:21 +00:00
Anders Broman 838a24aaa0 value_string_ext fixes.
svn path=/trunk/; revision=34908
2010-11-16 17:31:29 +00:00
Bill Meier 491f05b16e Use value_string_ext fcns to access several value_string arrays;
Minor whitespace cleanup.

svn path=/trunk/; revision=34900
2010-11-16 15:20:33 +00:00