Commit graph

15 commits

Author SHA1 Message Date
Jaap Keuter
3126f22a14 From Owen Kirby:
This patch fixes a bug in the 6LoWPAN dissectors that corrupts addresses when
multicast address compression is used. Testing this fix also uncovered a bug in
the computation of the length of the extension headers. And some typos.

svn path=/trunk/; revision=31870
2010-02-12 22:10:53 +00:00
Jaap Keuter
3c702d064b From Owen Kirby:
This patch fixes a bug in the 6LoWPAN dissector where link-local addresses
created from an EUI-64 address do not correctly invert the universal/local bit
as recommended by section 4 of RFC2464.

svn path=/trunk/; revision=31843
2010-02-09 08:40:40 +00:00
Stig Bjørlykke
539b558f8c Renamed some reassembled data texts.
Removed some check_col().

svn path=/trunk/; revision=31809
2010-02-06 18:20:21 +00:00
Stig Bjørlykke
88b72356ad Introduce "Reassembled length" filter element for all protocols doing
reassembly.

svn path=/trunk/; revision=31767
2010-02-02 16:01:52 +00:00
Anders Broman
0a5a3c1158 From Didier Gautheron:
Fix a memory leak.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3917

svn path=/trunk/; revision=31511
2010-01-13 07:42:42 +00:00
Jaap Keuter
e1afd4d4f7 From Beth Tridium:
When a 6lowpan message has a compressed UDP length (i.e. the length must be
calculated, not read from the headers), the 6lowpan dissector correctly reports
that the UDP length is compressed, but it may try to read the length from the
headers anyway.

svn path=/trunk/; revision=31075
2009-11-25 19:46:08 +00:00
Stig Bjørlykke
68939c0d8d Removed an unused assignment.
svn path=/trunk/; revision=30895
2009-11-09 14:36:35 +00:00
Jaap Keuter
a1d82636c1 Add parentheses to satisfy the compiler.
svn path=/trunk/; revision=30842
2009-11-06 07:08:40 +00:00
Jaap Keuter
e2246d08cd From Owen Kirby:
We've discovered a number of bugs in the 6LoWPAN dissector, 
and have fixed them in the following patch. The fixed bugs include:
  - Incorrect UDP Checksum calculation.
  - Incorrect link-local prefix when decompressing IPHC headers.
  - Incorrect parsing of the UDP port numbers when not 8-byte aligned.
  - Overflow of the datagram offset field when reassembling fragmented packets.

svn path=/trunk/; revision=30840
2009-11-05 22:39:00 +00:00
Bill Meier
6645d6e47d Fix code so it actually pads a length to an 8 byte boundary.
svn path=/trunk/; revision=30406
2009-10-08 16:13:53 +00:00
Bill Meier
bb8fc20cd3 1. There doesn't seem to be a need for a separate .h file;
2. Move prototype declarations to after the struct declarations
   used by the prototypes.
3. Fix some typos.

svn path=/trunk/; revision=30310
2009-10-04 17:50:39 +00:00
Kovarththanan Rajaratnam
c7b5a98682 We don't use preferences so if (!init) not required
svn path=/trunk/; revision=30278
2009-10-04 06:53:05 +00:00
Jeff Morriss
50cec93579 Fix a couple (false) uninitialized variable warnings.
svn path=/trunk/; revision=30271
2009-10-03 22:47:41 +00:00
Michael Tüxen
923fbf0b98 Make gcc happy.
svn path=/trunk/; revision=30269
2009-10-03 10:52:15 +00:00
Jaap Keuter
07a1f3875e From Owen Kirby:
The attached patch adds a dissector for IPv6 over IEEE 802.15.4 (aka 6LoWPAN).
The protocol is specified in RFC 4944. This dissector also processes the
6LoWPAN draft header compression scheme in draft-ietf-6lowpan-hc-05.

svn path=/trunk/; revision=30268
2009-10-03 10:06:19 +00:00