Commit graph

13361 commits

Author SHA1 Message Date
Martin Mathieson
3751e782dd Check for DL HARQ retx before calling RLC dissector to avoid sequence
number analysis problems.

svn path=/trunk/; revision=40647
2012-01-22 02:52:50 +00:00
Chris Maynard
96f14a1946 Patch from DXDragon [AT] yandex.ru (using e-mail address instead of name because I don't know how to enter Cyrillic letters) to fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5687 - Some PGM options are not parsed correctly.
svn path=/trunk/; revision=40644
2012-01-22 01:59:00 +00:00
Anders Broman
fd9f182f4b Try to fix
packet-csn1.c:179: warning: 'pui8' may be used uninitialized in this function

svn path=/trunk/; revision=40635
2012-01-21 21:45:33 +00:00
Anders Broman
e8407dd6c1 Add the missing file from
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=40627

Patch was whining about csn1.h fixing that i must have missed that csn1.c did not get patched.

svn path=/trunk/; revision=40634
2012-01-21 20:26:46 +00:00
Chris Maynard
9105d0b0c9 Revert a recent spelling change back to its UK variant.
svn path=/trunk/; revision=40631
2012-01-21 16:09:08 +00:00
Anders Broman
37b1c97c13 From Martin Lutz:
Updated the GOOSE dissector ASN.1 file to be able to display data for UTC timestamps.

svn path=/trunk/; revision=40628
2012-01-21 12:21:29 +00:00
Anders Broman
00bf1ba8d3 From Mike Morrin:
a patch which improves several aspects of GSM RLS/MAC
dissection.

Generic improvements to the csn.1 dissector include:
•    Added a flag to the type descriptor structure so that any type can
(potentially) flagged as xxx_OR_NULL.  This was specifically needed for
UINT_OR_NULL for the ms capabilities struct.
•    Corrected the octet calculation in app of the proto_tree_add_text() and
proto_item_set_len() calls.
•    Changed the CSN_SERIALIZE so that the length of the length field can be
specified.
•    For CSN_NEXT_EXIST removed the requirement that the next type be CSN_END,
to allow truncation of multiple IEs.
•    For CSN_LEFT_ALIGNED_VAR_BITMAP corrected the handling of bit_offset.
•    Added a new type CSN_PADDING_BITS to make inspection of padding bits more
convenient.
•    Improved the CSN_RECURSIVE_TARRAY_1 to show the array index.

Improvements to the gsm_rlcmac dissector include:
•    Comment out a couple of unused hf variables.
•    Rework the definition of EGPRS Ack/Nack Description so that the length IE
(and absence thereof) is handled correctly.  This is the original issue for
which the bug was raised.
•    Added Padding Bits definitions to all PDUs
•    Change the Multislot_capability_t and Content_t definitions to allow
truncation at any IE
•    Added proto_tree_add_protocol_format() calls so that the protocol can be
added to a display filter
•    Append Protocol to the PROTOCOL column and PDU type to the INFO column.

From me get rid of C++ style comments.

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

svn path=/trunk/; revision=40627
2012-01-21 12:08:14 +00:00
Chris Maynard
e4862cf115 Fix a comment and some typos.
svn path=/trunk/; revision=40619
2012-01-21 02:39:59 +00:00
Chris Maynard
c2f5cf46de Avoid a potential infinite loop by stopping dissection when a message has no tlvblock. Patch from Martin Kaiser via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6687
svn path=/trunk/; revision=40616
2012-01-20 22:03:52 +00:00
Chris Maynard
d528b4b0f1 Fix some duplicate display filter names.
svn path=/trunk/; revision=40614
2012-01-20 20:20:40 +00:00
Chris Maynard
15be6540bd Change display filter name from "ldp.tlv...." to "ldp.msg.tlv...." to be like the rest.
svn path=/trunk/; revision=40613
2012-01-20 20:12:44 +00:00
Chris Maynard
40252924b4 Fix some duplicate display filter names.
svn path=/trunk/; revision=40612
2012-01-20 19:40:13 +00:00
Chris Maynard
fe7c04abf1 Fix some duplicate display filter names.
svn path=/trunk/; revision=40611
2012-01-20 19:18:41 +00:00
Chris Maynard
07ef77a875 Fix Coverity CID 1366: MISSING BREAK
svn path=/trunk/; revision=40610
2012-01-20 18:53:06 +00:00
Chris Maynard
b6a18e9b28 Fix Coverity CID 1369: UNUSED_VALUE by deleting duplicate and unecessary line of code.
svn path=/trunk/; revision=40609
2012-01-20 18:41:10 +00:00
Chris Maynard
0733183dc2 Fix Coverity CID 1370: UNREACHABLE by deleting erroneous break;
svn path=/trunk/; revision=40608
2012-01-20 18:35:56 +00:00
Jörg Mayer
dbf1be8944 As reported by hyphenated on #wireshark:
don't increase offset by 4 after two add_item(...,2 ,...) commands.
Increase by 2 after each add_item instead.

svn path=/trunk/; revision=40606
2012-01-20 16:12:24 +00:00
Jaap Keuter
72ebaa39e3 From Pascal Quantin:
Some test equipments can send weird Protocol Configuration Options IE in the
Attach Accept message with an empty protocol identifier content. Wireshark 
will trigger an assert when dissecting those messages because it does not 
check the tvb length before calling the sub dissector.
With checking the protocol identifier length before calling the sub dissector,
the PCO is decoded correctly.

svn path=/trunk/; revision=40604
2012-01-20 07:49:12 +00:00
Bill Meier
1311f29800 Fix Fix "bt-dht [..] NOT registered properly" as reported in Bug #6571.
"bt-dht [...] should also be common dissectors while not only heuristic
ones. So we can use them with 'Decode As...' command."

Essentially:
 -Register dissector handle so the dissector can be accessed via "decode-as".

From me:
   1. Given that the current heuristic is much too weak and
      causes 'false positives':
        Add a preference to allow enabling/disabling of heuristic dissection.

      The default is 'disabled' since the current heuristic is quite weak.
      (For example: The heuristic incorrectly dissects about 40
       files in menagerie/public as being the BT-DHT protocol).
      Note: only heuristic dissection is disabled; 'decode-as' remains
            enabled.

Also:

1. Fix some bugs wherein bytes in the hex pane were not highlighted
   when a field was selected in the details pane.
2. Do some minor re-formatting of the source code.


svn path=/trunk/; revision=40603
2012-01-20 03:24:05 +00:00
Balint Reczey
42e55d4533 Update generated headers changed by last commit
svn path=/trunk/; revision=40596
2012-01-19 22:55:46 +00:00
Balint Reczey
26503be7dc fix compile errors found by dumpabi target
svn path=/trunk/; revision=40595
2012-01-19 22:55:37 +00:00
Jörg Mayer
64ddaef37b Fix:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-rohc.c: In function ‘dissect_rohc_ir_rtp_profile_dynamic’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-rohc.c:775:21: error: variable ‘cc’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors



svn path=/trunk/; revision=40593
2012-01-19 22:18:06 +00:00
Chris Maynard
436b44b99e Fix some duplicate display filter names.
svn path=/trunk/; revision=40592
2012-01-19 21:57:24 +00:00
Chris Maynard
dea0a5d277 Fix some duplicate display filter names.
svn path=/trunk/; revision=40591
2012-01-19 21:01:52 +00:00
Chris Maynard
cb8805e543 Fix some duplicate display filter names.
svn path=/trunk/; revision=40590
2012-01-19 20:19:28 +00:00
Anders Broman
61b3c117a1 Update comments and dissection of comptessed lists
svn path=/trunk/; revision=40589
2012-01-19 19:43:02 +00:00
Chris Maynard
8fdfa92ecb Update a couple of asn1-generated dissectors.
svn path=/trunk/; revision=40588
2012-01-19 19:33:21 +00:00
Chris Maynard
efbb310223 Fix a duplicate display filter name.
svn path=/trunk/; revision=40587
2012-01-19 19:25:33 +00:00
Chris Maynard
c2208aa172 Fix some duplicate display filter names.
svn path=/trunk/; revision=40586
2012-01-19 19:15:13 +00:00
Bill Meier
8e4aab0ed8 Localize a global variable; Do minor reformatting.
svn path=/trunk/; revision=40585
2012-01-19 17:42:28 +00:00
Martin Mathieson
96d0f00b52 Comment out hf and ett - there is no need to register them while they
are empty.

svn path=/trunk/; revision=40582
2012-01-19 03:46:02 +00:00
Martin Mathieson
6e43645bb7 Add casts and don't initialise empty hf array.
svn path=/trunk/; revision=40581
2012-01-19 03:27:41 +00:00
Martin Mathieson
1b33c5f3f5 Add a dissector "mac-lte-framed" that uses the same framing format as
the existing "mac-lte" UDP heuristic dissector. It is hoped that it will be
possible to register a DLT for use with this format.

svn path=/trunk/; revision=40580
2012-01-19 02:58:53 +00:00
Alexis La Goutte
aa5439a783 From Yaniv Kaul via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6743
[PATCH] Enhance the Spice dissector to deal with mini headers

Spice recently gained the ability to use smaller packet headers.
This patch adds support to it, along with small other fixes/enhancements - none of which really interesting.

From me :
Fix a Clang Warning :
packet-spice.c:1303:5: warning: Value stored to 'offset' is never read

svn path=/trunk/; revision=40573
2012-01-18 21:44:21 +00:00
Chris Maynard
e799efeed9 Fix some duplicate display filter names.
svn path=/trunk/; revision=40568
2012-01-18 21:07:53 +00:00
Anders Broman
0299bdbc62 Add more to dissect_compressed_list()
svn path=/trunk/; revision=40560
2012-01-17 21:27:48 +00:00
Jörg Mayer
2428b75969 Fix warning about a variable that is written to only.
svn path=/trunk/; revision=40559
2012-01-17 18:27:01 +00:00
Martin Mathieson
914f06e618 Mark a couple of unused parameters as such.
svn path=/trunk/; revision=40558
2012-01-17 18:23:11 +00:00
Anders Broman
32c759745a Enhance dissection of compressed lists.
svn path=/trunk/; revision=40557
2012-01-17 17:57:52 +00:00
Anders Broman
a5f75115a6 Add packet-lpp.h
svn path=/trunk/; revision=40552
2012-01-16 21:45:02 +00:00
Anders Broman
0d7ba78d8c From Pascal Quantin:
Upgrade LTE RRC dissector to v10.4.0

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

Add missing files

svn path=/trunk/; revision=40550
2012-01-16 21:38:32 +00:00
Anders Broman
3624284ef0 From Pascal Quantin:
Upgrade LTE RRC dissector to v10.4.0

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

svn path=/trunk/; revision=40549
2012-01-16 21:25:20 +00:00
Guy Harris
6b50d94836 The frame number is an unsigned integer, so there's no guarantee that it
won't equal (guint32)-1.

Fortunately, frame numbers are 1-based, so there *is* a guarantee that
it won't equal 0.

svn path=/trunk/; revision=40545
2012-01-16 08:16:50 +00:00
Guy Harris
7e4c02ee18 The frame number is an unsigned integer, so there's no guarantee that it
won't equal (guint32)-1.

Fortunately, frame numbers are 1-based, so there *is* a guarantee that
it won't equal 0.

svn path=/trunk/; revision=40544
2012-01-16 08:10:49 +00:00
Guy Harris
cc0c99a01f The frame number is an unsigned integer, so there's no guarantee that it
won't equal (guint32)-1.

Fortunately, frame numbers are 1-based, so there *is* a guarantee that
it won't equal 0.

svn path=/trunk/; revision=40543
2012-01-16 08:01:58 +00:00
Jörg Mayer
de0bf160b9 The warning fix overdid things: It removed functionality.
Now I only remove the variable ft and everything looks good.

svn path=/trunk/; revision=40516
2012-01-15 17:07:55 +00:00
Jörg Mayer
2097912587 Rename crypt-xxx to xxx
svn path=/trunk/; revision=40511
2012-01-15 12:29:44 +00:00
Guy Harris
dfcec43973 Shuffle the ett[] array elements around a bit, and add blank lines, to
match their definitions; add two missing elements that turned up.  That
should fix bug 6736.

svn path=/trunk/; revision=40509
2012-01-15 09:07:54 +00:00
Bill Meier
439adbdbcc Remove obsolete comments referring to mem_chunks.
svn path=/trunk/; revision=40507
2012-01-14 20:14:43 +00:00
Bill Meier
ba04b5b113 Several minor changes:
- use consistent indentation;
- use tvb_reported_length_remaining() in one case;
- reformat a long line.

svn path=/trunk/; revision=40506
2012-01-14 17:18:26 +00:00