Commit graph

13340 commits

Author SHA1 Message Date
Anders Broman
906d2aecbb Enhance error information.
svn path=/trunk/; revision=40361
2012-01-03 22:06:42 +00:00
Anders Broman
56188e9d27 From Mike Morrin:
GSM ENHANCED MEASUREMENT REPORT PDUs were not
dissected when present as L3_INFO in RSL MEAS_RES PDUs.

It seems that the RSL L3_INFO needs to be handled by a different dissector
depending on whether it contains a DTAP, SACCH or CCCH PDU, which fortunately
can be deduced from the RSL PDU type.  packet-rsl.c is updated to implement
this.

In packet-gsm_a_rr.c the dissection of PDUs with RR Short PD format is
improved, and also some items are renamed to make clearer the difference
between SACCH PDUs (which cna be normal or Short PD format) and RR Short PD
format PDUs (which can occur on SACCH, CCCH, or DCH).

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

svn path=/trunk/; revision=40357
2012-01-01 19:57:47 +00:00
Bill Meier
eea1de5489 Fix 'encoding-arg' for ptvcursor_add_with_subtree(): TRUE=>ENC_LITTLE_ENDIAN, etc
svn path=/trunk/; revision=40346
2011-12-30 15:30:32 +00:00
Bill Meier
484b58f622 Regenerated packet-h245.c (should have been included in SVN #40311: add_new_data_source() needed in several places).
svn path=/trunk/; revision=40345
2011-12-30 15:28:04 +00:00
Alexis La Goutte
b524ad6f88 From Fred Fierling via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6698
Updates for newest profile identifier database, ZigBee 053298r19

Corrects error in Samsung manufacturer code in r18.

svn path=/trunk/; revision=40344
2011-12-30 11:07:04 +00:00
Bill Meier
dddb66178b AFAIKT sys/stat.h, sys/types.h, sys/socket.h, winsock2.h, inet_v6_defs.h #includes aren't needed.
also: Add #include <epan/packet.h>  (altho included by one of the other includes).

svn path=/trunk/; revision=40329
2011-12-29 21:08:53 +00:00
Bill Meier
9beae6eb86 AFAIKT sys/types.h, sys/socket.h, winsock2.h, inet_v6_defs.h #includes aren't needed.
svn path=/trunk/; revision=40328
2011-12-29 20:44:19 +00:00
Bill Meier
ab5ead6bb0 Do whitespace cleanup; Reformat long lines;
Move proto_register...() to be near the end of the file.

svn path=/trunk/; revision=40327
2011-12-29 20:23:18 +00:00
Chris Maynard
b97844bcaa Fix LTP multiple bundle bug and allow LTP/DCCP. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5035
svn path=/trunk/; revision=40325
2011-12-29 16:22:02 +00:00
Stig Bjørlykke
5adae76d68 Fixed a typo: btyes -> bytes
svn path=/trunk/; revision=40323
2011-12-29 11:44:22 +00:00
Gerald Combs
cb9725ce2b Prepend the sita_phdr fields with "sita_" to make them less
collision-prone.

svn path=/trunk/; revision=40320
2011-12-28 23:39:14 +00:00
Chris Maynard
043f5f71d0 Fix Coverity CID 1342: UNUSED_VALUE
svn path=/trunk/; revision=40315
2011-12-28 17:02:43 +00:00
Chris Maynard
e7e36de7dd Add missing break; Fixes Coverity CID 1343.
svn path=/trunk/; revision=40314
2011-12-28 16:59:17 +00:00
Chris Maynard
ba47e1d521 min() -> MIN().
svn path=/trunk/; revision=40313
2011-12-28 16:53:50 +00:00
Chris Maynard
5debb5c5e3 Fix memory leaks involving tvb_get_string[z]().
svn path=/trunk/; revision=40312
2011-12-28 16:36:57 +00:00
Bill Meier
2a1eaf14e2 Remove a not really relevant comment.
svn path=/trunk/; revision=40308
2011-12-28 15:01:17 +00:00
Bill Meier
1870f750a1 Remove unneeded #includes;
Reformat some long lines;
Convert '4 space tabs' to spaces.

svn path=/trunk/; revision=40307
2011-12-28 14:57:43 +00:00
Chris Maynard
8fdfd98ad7 Fix a comment. Correct a few typos.
svn path=/trunk/; revision=40303
2011-12-27 17:46:25 +00:00
Chris Maynard
adf0b2f274 Corrected some obvious typos.
svn path=/trunk/; revision=40302
2011-12-27 17:34:01 +00:00
Chris Maynard
a4599ecdb7 Use tvb_get_ntoh48() instead of tvb_get_ntohs() || tvb_get_ntohl().
svn path=/trunk/; revision=40301
2011-12-27 17:08:33 +00:00
Chris Maynard
4b46562c50 Use tvb_ether_to_str() instead of ether_to_str(ep_tvb_memdup()). Add modelines.
svn path=/trunk/; revision=40300
2011-12-27 16:51:59 +00:00
Anders Broman
eb722fa0c1 Initialise variables.
svn path=/trunk/; revision=40299
2011-12-27 11:08:52 +00:00
Anders Broman
1cab431dc9 From Gaurav Tungatkar:
support extended ICMP for multi-part messages as specified by
RFC 4884. Additionally, it adds support for the Interface Information Object
extension to ICMP as specified by RFC 5837.
1. RFC 4884 - This redefines certain ICMP messages to support multi-part
messages with extensions. It adds a length field to the ICMP header and defines
an extension structure to define extension objects that can be appended to the
selected ICMP messages. It retains backward compatibility with messages that do
not support the extensions defined by this RFC. 
2. RFC 5837 - This defines an extension object to identify the interface and
next-hop information to selected ICMP messages.

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

svn path=/trunk/; revision=40298
2011-12-27 10:48:04 +00:00
Anders Broman
35e767e28a Dissect Service Option Profile.
svn path=/trunk/; revision=40297
2011-12-27 10:15:00 +00:00
Martin Mathieson
4dbf893401 Display the meaning of the special values of the Stop MTCH field.
From Pascal Quantin

svn path=/trunk/; revision=40296
2011-12-27 00:27:46 +00:00
Guy Harris
911a3120c6 That's the 3GPP spec for this protocol layer, right?
svn path=/trunk/; revision=40295
2011-12-26 23:00:33 +00:00
Alexis La Goutte
8edf55985b Update ICMPv6 to last IANA Parameters (2011-12-21)
* RFC3775 => RFC6275
* draft-ietf-6lowpan-nd-17 => draft-ietf-6lowpan-nd-18

svn path=/trunk/; revision=40294
2011-12-26 14:59:50 +00:00
Alexis La Goutte
333bbe5079 Update IKEv2 to last IANA Parameters (2011-12-19)
RFC-kivinen-ipsecme-secure-password-framework-03 => RFC6467

svn path=/trunk/; revision=40293
2011-12-26 14:00:22 +00:00
Anders Broman
fdef15ed5e Revisit the spec, value is 16 bits.
svn path=/trunk/; revision=40289
2011-12-25 11:48:31 +00:00
Anders Broman
c4a88586f3 Use packet-radius.c to dissect embedded AVP:s.
svn path=/trunk/; revision=40288
2011-12-25 11:25:39 +00:00
Chris Maynard
70397ecfb1 Use ENC_LITTLE_ENDIAN instead of TRUE as encoding argument to proto_tree_add_bitmask_text().
svn path=/trunk/; revision=40285
2011-12-23 14:31:24 +00:00
Anders Broman
295c3424c8 Use item lenght when dissecting Additional Session Info.
svn path=/trunk/; revision=40283
2011-12-22 22:31:26 +00:00
Chris Maynard
fe290f10f6 Appease the buildbots.
svn path=/trunk/; revision=40281
2011-12-22 19:41:13 +00:00
Chris Maynard
a856a7ec53 Revert some of the changes made as part of the patch from bug 6194 committed in r38326. Also, change the 3 separate reserved bit fields to a single 3-bit reserved field to more closely match the spec. Lastly, in accordance with NOTE 2 of Table 3-1 of the spec, display the connection id, whatever it is, rather than assuming it's zero just because the Com bit isn't set.
svn path=/trunk/; revision=40280
2011-12-22 19:22:43 +00:00
Martin Mathieson
ac8463ce5b Missed in last commit, define symbol for new RNTI type...
svn path=/trunk/; revision=40279
2011-12-22 18:45:15 +00:00
Bill Meier
70e4b3dab4 Add two missing calls to add_new_data_source().
svn path=/trunk/; revision=40277
2011-12-22 18:09:06 +00:00
Martin Mathieson
412385e6fd Support for MCH PDUs (introduced in R9 for MBMS).
From Pascal Quantin.

svn path=/trunk/; revision=40276
2011-12-22 18:05:48 +00:00
Chris Maynard
4b735ad5f3 What is the airspeed velocity of an unladen swallow?
aspell and my own spelling preferences do not always agree with the spelling variations used by folks across the pond.  Revert a couple of spelling changes.

svn path=/trunk/; revision=40275
2011-12-22 14:49:43 +00:00
Anders Broman
678711f488 From Naoyoshi Ueda:
Enable decryption of TLS 1.2.

 Add some cipher suites from RFC5246 and RFC5289.

Fixed a bug in the handling of stream cipher.
(The explicit IV field in the application record doesn't exist when stream ciphers are used. But the original code handles it as if one-byte IV exists.)

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

svn path=/trunk/; revision=40273
2011-12-22 07:03:42 +00:00
Anders Broman
55b05cb42b From Fred Fierling:
Update the ZigBee dissectors to the latest profile identifier database,
05-3298-18.

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

svn path=/trunk/; revision=40272
2011-12-22 06:55:31 +00:00
Chris Maynard
c4f4087a9a Use ENC_LITTLE_ENDIAN instead of TRUE as endian argument to proto_tree_add_bitmask_text().
svn path=/trunk/; revision=40271
2011-12-22 02:17:11 +00:00
Chris Maynard
b3ee0e1295 Set encoding to ENC_BIG_ENDIAN instead of the incorrect encoding of TRUE.
svn path=/trunk/; revision=40270
2011-12-22 01:57:20 +00:00
Chris Maynard
796847fdc7 Avoid a potential buffer overflow (and fix some typos). Resolves bug 6391: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6391
svn path=/trunk/; revision=40266
2011-12-21 21:34:37 +00:00
Alexis La Goutte
ff30e7df57 From jingzhang via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6590
Make wireshark to support SKINNY new version

Current wireshark version can not support the new skinny packets when the header version == "14 00 00 00". It should be the same handling process with "12 00 00 00"(CM7_MSG_TYPE_B), So we added the same function to support CM7_MSG_TYPE_C(we defined it by ourselves, just want to keep the consistency with CM7_MSG_TYPE_B).

From me :
Fix encoding attribut (via fix-encoding.args.pl)

svn path=/trunk/; revision=40263
2011-12-21 15:03:39 +00:00
Alexis La Goutte
c2dbdb6f42 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40262
2011-12-21 14:58:07 +00:00
Alexis La Goutte
86e2ba54d4 From Alexander Koeppe via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6689
Avoid string.h in packet-mpls.c

svn path=/trunk/; revision=40261
2011-12-21 14:28:51 +00:00
Alexis La Goutte
9746da77ee From Jelmer Vernooij via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6686
Dissector for the bzr smart server protocol

The attached patch adds basic support for dissecting the bzr smart server protocol ( http://wiki.wireshark.org/Bazaar ).

svn path=/trunk/; revision=40260
2011-12-21 14:21:17 +00:00
Alexis La Goutte
9c0692b343 From Jelmer Vernooij via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6686
Dissector for the bzr smart server protocol

The attached patch adds basic support for dissecting the bzr smart server protocol ( http://wiki.wireshark.org/Bazaar ).

svn path=/trunk/; revision=40259
2011-12-21 14:20:34 +00:00
Alexis La Goutte
0a8ea997e1 Fix indent and add modelines information
svn path=/trunk/; revision=40258
2011-12-21 14:18:28 +00:00
Bill Meier
dda0d791c9 Use correct reported_length for a tvb_new_subset() (not that it makes a difference in this case).
svn path=/trunk/; revision=40257
2011-12-21 03:44:23 +00:00
Anders Broman
0214486008 Avoid dupliacte entries in col_proto
svn path=/trunk/; revision=40255
2011-12-20 19:34:52 +00:00
Chris Maynard
6705890aa1 Add some additional links to more up to date specfications.
svn path=/trunk/; revision=40254
2011-12-20 18:18:08 +00:00
Chris Maynard
41d2fdaefc For a DNSSL lifetime of 0, add some useful text.
svn path=/trunk/; revision=40253
2011-12-20 18:15:52 +00:00
Chris Maynard
44a81d13b6 Checking scmUDID for NULL is pointless since the pointer has already been dereferenced. If g_byte_array_new() can return NULL, then the code should be modified to protect against deferencing the NULL pointer much sooner than this.
svn path=/trunk/; revision=40251
2011-12-20 17:59:51 +00:00
Chris Maynard
faf9175665 Add support for dissecting AT commands in USB URB_CONTROL packets. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6037
svn path=/trunk/; revision=40247
2011-12-19 23:44:01 +00:00
Chris Maynard
0a9fb81be6 Tighten up conversation port matching once the 2nd port is known. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5727
svn path=/trunk/; revision=40245
2011-12-19 17:59:34 +00:00
Anders Broman
6aef22ffd9 Updates from David Wei.
svn path=/trunk/; revision=40244
2011-12-19 16:57:17 +00:00
Bill Meier
a0731cfeb8 Create "Dehunked Entity Body" with O(N) rather than O(N^2) efffort.
[Actually 1 g_malloc() + N tvb_memcpy() instead of
~ N g_malloc()/g_free() + N*(N+1)/2 tvb_memcpy() where N = number of chunks].

svn path=/trunk/; revision=40242
2011-12-18 18:31:30 +00:00
Chris Maynard
ec24a7f89b Fix Coverity CID's 1339 and 1340: UNUSED_VALUE.
svn path=/trunk/; revision=40241
2011-12-18 16:38:31 +00:00
Alexis La Goutte
47de3fec68 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40237
2011-12-17 14:26:57 +00:00
Anders Broman
e919ece04c The author Holger Pfrommer preferes not to show the bits making up the port and length.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6082

svn path=/trunk/; revision=40236
2011-12-17 12:21:04 +00:00
Alexis La Goutte
ccb7bfd718 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40235
2011-12-17 10:06:38 +00:00
Alexis La Goutte
656679b5f6 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40234
2011-12-17 10:05:47 +00:00
Alexis La Goutte
99f11112f9 Update IKEv2 to last IANA Parameters (2011-11-09)
Add RFC-kivinen-ipsecme-secure-password-framework-03

svn path=/trunk/; revision=40233
2011-12-17 09:57:35 +00:00
Bill Meier
799be66d9f Add (what I think are) missing add_new_data_source() calls;
svn path=/trunk/; revision=40231
2011-12-16 19:15:17 +00:00
Bill Meier
4756f41771 Fix tvb memory leak; Also: For a "packet-lifetime" tvb use ep_alloc'd (not se_alloc'd) memory.
svn path=/trunk/; revision=40230
2011-12-16 17:33:09 +00:00
Ronnie Sahlberg
4f052c3cd6 PAC: S4U update, decode the full S4U Delegation Info blob with correct names
svn path=/trunk/; revision=40227
2011-12-16 03:54:46 +00:00
Ronnie Sahlberg
bd83ae6dbb DCE/RPC: When printing counted strings to the tree, we divided the number of bytes by 2 and thus truncating the string in half for the presentation.
svn path=/trunk/; revision=40226
2011-12-16 03:44:43 +00:00
Ronnie Sahlberg
d745d83b3c PAC: rename CONSTRAINED_DELEGATION to S4U_DELEGATION_INFO
svn path=/trunk/; revision=40225
2011-12-16 03:41:14 +00:00
Ronnie Sahlberg
90b7941dcd Kerberos: rename the pa type 129 to the correct name PA_FOR_USER and describe where this type is specified
svn path=/trunk/; revision=40224
2011-12-16 03:18:04 +00:00
Guy Harris
dad8d4ca55 Note why we need <stdio.h>.
svn path=/trunk/; revision=40223
2011-12-16 00:54:45 +00:00
Bill Meier
49e38170c5 Oops: #include <stdio.h> is really needed.
svn path=/trunk/; revision=40222
2011-12-16 00:50:47 +00:00
Bill Meier
8ea30b478a Fix tvb memory leak; Add missing call to add_new_data_source();
Also: remove unneeded #includes.

svn path=/trunk/; revision=40221
2011-12-16 00:33:03 +00:00
Bill Meier
ad769d824d Fix a typo
svn path=/trunk/; revision=40220
2011-12-15 21:30:51 +00:00
Guy Harris
33f6b348d1 #if 0 out a bunch of (currently?) unused routines.
svn path=/trunk/; revision=40219
2011-12-15 21:03:21 +00:00
Guy Harris
3d3c612706 Clean up indentation.
svn path=/trunk/; revision=40218
2011-12-15 21:00:15 +00:00
Guy Harris
3422b119f6 Null out opensafety_item if we're nulling out opensafety_tree.
Clean up indentation.

svn path=/trunk/; revision=40217
2011-12-15 20:59:44 +00:00
Anders Broman
8bbb6d5b2a #if 0 now unused variables.
svn path=/trunk/; revision=40216
2011-12-15 20:45:06 +00:00
Anders Broman
939ae71194 From Roland Knall:
- New Config option to configure the sequence of frames using UDP
- an Info will be added, if the SCM UDID is not configured or if it is wrongly
configured, so that the user can act on it.
- SCM UDID will only be printed if configured correctly, if not a warning will
be added to inform, that the first byte for the UDID will be assumed to be 00
- UDP dissection can enforce the number of sub-package the dissection should
assume
- SSDO: isRequest is determined by it's field not by the message id
- SSDO: Unused code for SNMT Reset Guarding SCM has been removed
- SNMT: error_group and error_code for SN_FAIL have not been dissected
correctly
- Sercos III: bug != instead of ==, is fixed
- dissect_opensafety_udp renamed to dissect_opensafety_udpdata, because of
future dissector called opensafety_udp which will handle transport of
openSAFETY data over UDP
- dissect_opensafety_udpdata enhanced to determine the index of the given frame
in the package. Needed for correct assembly of COL_INFO
- Added heuristic dissector hook for opensafety_udp dissector. The dissector
will be submitted to this list at a future point

- Enhanced description of the dissector to reflect it's capabilities
- Reworked the description for the config options to be more understandable

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

svn path=/trunk/; revision=40214
2011-12-15 20:34:45 +00:00
Anders Broman
a106a9047a Call the rohc dissector directly, the code will be cleaned up
in the next weeks or so.

svn path=/trunk/; revision=40213
2011-12-15 20:22:54 +00:00
Bill Meier
98ed218772 Conform indentation to that specified by the modeline; Reformat long lines.
svn path=/trunk/; revision=40212
2011-12-15 18:47:57 +00:00
Bill Meier
8fe471e0c3 Fix some tvb memory leaks; Fix a typo.
svn path=/trunk/; revision=40211
2011-12-15 18:13:21 +00:00
Anders Broman
b2678b43d1 From Per Liedberg:
RoHC dissection improvment.

svn path=/trunk/; revision=40210
2011-12-15 17:28:43 +00:00
Anders Broman
d3e76bdeb0 Use correct string length.
svn path=/trunk/; revision=40209
2011-12-15 17:14:56 +00:00
Bill Meier
6c809fc444 In certain cases, don't reference a tvb when displaying a hidden,generated field.
svn path=/trunk/; revision=40208
2011-12-15 16:01:25 +00:00
Stephen Fisher
e97991cdcc Fix moving nfs_fhandle_data from packet-nfs.h to packet-nfs.c as begun
in r40205.


svn path=/trunk/; revision=40206
2011-12-14 23:27:14 +00:00
Bill Meier
13f09ee27f Fix a tvb memory leak;
Essentially: generate tvbuffs as needed; don't save them for later reuse
               with the result they are never freed.

Also:
- move a struct from packet-nfs.h to packet-nfs.c since it's only used locally;
- reformat some long lines.

svn path=/trunk/; revision=40205
2011-12-14 22:01:38 +00:00
Bill Meier
586ea8d092 Add call to add_new_data_source() for a newly created REAL_DATA tvb.
svn path=/trunk/; revision=40203
2011-12-14 18:58:08 +00:00
Sake Blok
418863f88d Fix for bug 6032:
After changing the ssl_keys UAT, reparse the list and reload the keys.


svn path=/trunk/; revision=40200
2011-12-14 18:24:41 +00:00
Bill Meier
1460765248 Fix tvb memory leak.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3917

svn path=/trunk/; revision=40199
2011-12-14 17:35:22 +00:00
Bill Meier
13ad9f1071 Fix a tvbuff memory leak;
Also: Wireshark code change attributions are usually only in the svn log.

svn path=/trunk/; revision=40198
2011-12-14 15:19:14 +00:00
Bill Meier
d281828b06 Fix a (sort-of) memory leak: Use ep_alloc'd rather than se_alloc'd memory for a tvbuff;
svn path=/trunk/; revision=40197
2011-12-14 14:39:16 +00:00
Guy Harris
44b29ee2ef Put back the source MAC address, but do it right, in one column_add_fstr()
call, and using ep_address_to_str(), so it can handle any address type,
including AT_NONE if the source address isn't available.

svn path=/trunk/; revision=40196
2011-12-14 05:23:57 +00:00
Guy Harris
343e983384 Refer to a PID of 0x0002 as the PID for the HP Teaming heartbeat
protocol.

Point to an HP document o the protocol, and discuss the two ways to hook
up the dissector.

Don't bother checking the destination address - either the OUI/PID
suffices, or the MAC address is both necessary and, presumably,
sufficient and we need to introduce a heuristic dissector table for SNAP
frames.  What's more, there's no guarantee that the destination address
is a MAC address - it might be absent, e.g. because you're capturing on
the Linux "any" device and are getting the "Linux cooked" header, with
only a destination address.

Don't put the source address into the Info column - it's already in the
source column *if* it exists (which it might not, for packets captured
from the "any" device and sent by the machine doing the capturing).

svn path=/trunk/; revision=40195
2011-12-14 02:55:26 +00:00
Bill Meier
29c17df6a5 Fix [-Wunused-but-set-variable] gcc warning;
Use consistent indentation.

svn path=/trunk/; revision=40192
2011-12-14 00:06:16 +00:00
Bill Meier
63c71a7090 Use consistent indentation.
svn path=/trunk/; revision=40191
2011-12-13 23:47:47 +00:00
Bill Meier
44c3525d14 Fix memory leak.
svn path=/trunk/; revision=40190
2011-12-13 23:16:13 +00:00
Bill Meier
ececcf6811 Fix a memory leak.
svn path=/trunk/; revision=40189
2011-12-13 23:03:16 +00:00
Bill Meier
312f95f56c Convert "4 space tabs" to spaces; Minor reformatting.
svn path=/trunk/; revision=40188
2011-12-13 23:02:29 +00:00
Bill Meier
1311b2ab83 Fix tvb memory leak; Fix hex byte display for Unicode XML.
svn path=/trunk/; revision=40187
2011-12-13 22:49:59 +00:00
Bill Meier
1c3504bd6e Fix tvbuff memory leak.
svn path=/trunk/; revision=40186
2011-12-13 21:51:33 +00:00
Bill Meier
9c8a91f259 Use consistent indentation.
svn path=/trunk/; revision=40185
2011-12-13 21:03:57 +00:00
Bill Meier
ec42a2bd1d Move proto_reg_handoff...(0 to the end of the file as per Wireshark convention.
Minor whitespace cleanup.

svn path=/trunk/; revision=40183
2011-12-13 19:58:47 +00:00
Bill Meier
6d3f5ff143 Fix: Execution Tracing High-Detail field selection highlighting seemingly wrong bytes in hex view pane.
Actual problem:
  A REAL_DATA tvbuff wasn't being added to the "data_sources"
  for a frame. When displaying the frame, when a field referencing the tvb was selected
  for display there was no 'hex bytes' tab for the field and so bytes ended up being
  highlighted in the currently displayed hex bytes tab (thus highlighting bytes in a pane
  not related to the field).

  Consider: Add some code in field creation (proto_tree_add...) to at least warn if
            a field is being created using a tvb whose data_source is not in the
            data_sources list for the frame ?

svn path=/trunk/; revision=40182
2011-12-13 19:54:19 +00:00
Martin Mathieson
70e2a50ad1 Initialise 'sub_tree' to NULL, to avoid warnings about possibly using
uninitialised.  The warnings are bogus, but could have been avoided, as the test
to see if we're using a compression profile is redundant/will always be TRUE
in those functions...

Also removed some unnecessary braces from switch cases (no local variables were defined).

svn path=/trunk/; revision=40181
2011-12-13 19:46:24 +00:00
Guy Harris
9924dd3acf The last element of an h248_pkg_param_t should be a pointer.
svn path=/trunk/; revision=40180
2011-12-13 18:56:01 +00:00
Anders Broman
031da40d79 h248_e_implicit = FALSE;
svn path=/trunk/; revision=40179
2011-12-13 17:59:27 +00:00
Anders Broman
d47335b133 From Per Liedberg:
RoHC dissection improvment.

svn path=/trunk/; revision=40177
2011-12-13 17:13:50 +00:00
Bill Meier
4a976f1be7 Use tvb_new_child_real_data() instead of tvb_new_real_data() + tvb_set_child_real_data_tvbuff().
svn path=/trunk/; revision=40173
2011-12-13 04:01:33 +00:00
Bill Meier
199da73e21 Prevent memory leakage of uncompress tvb and associated data buffer (step 1).
(tvb memory leak will actually remain until a bug in tvbuff.c is also fixed).

svn path=/trunk/; revision=40171
2011-12-13 02:56:44 +00:00
Bill Meier
95977fcc8b Fix a memory leak of a tvb.
svn path=/trunk/; revision=40163
2011-12-13 00:02:30 +00:00
Chris Maynard
1153ff7b56 Fix incorrect "pos=0" pdml values. Resolves the issue reported in comment 4 of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2432 and closes the bug.
svn path=/trunk/; revision=40161
2011-12-12 18:35:49 +00:00
Jaap Keuter
b6872d0a3b From Roy Marples:
ICMPv6 DNSSL option can contain padding, which does not represent a malformed option.

svn path=/trunk/; revision=40159
2011-12-12 08:18:18 +00:00
Anders Broman
f5f746f54f From Mike Morrin:
eliminates the global variable for tracking which nibble is
to be decoded by taking advantage of the fact that half octet IEs always occur
in pairs, and thus a pair can be grouped together for decoding.

There was probably also some confusion caused by the macros UPPER_NIBBLE and
LOWER_NIBBLE because the GSM bit numbering is opposite to Wireshark internal
numbering, so I have changed these to be LEFT_NIBBLE and RIGHT_NIBBLE, which
corresponds to the display format in Wireshark.

The dissection order of half octet IEs has been adjusted where necessary to
align with the ordering shown in the GSM specifications.

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

svn path=/trunk/; revision=40157
2011-12-12 07:24:57 +00:00
Anders Broman
9d0fa5cfcb - Change the tree layout to mimic packet-pdcp-lte.c
- Add IPv6 static chain dissectoin
- Part of IPv6 dynamic chain dissectoin

svn path=/trunk/; revision=40156
2011-12-12 06:58:37 +00:00
Anders Broman
58221afc41 Fix a couple of warnings.
svn path=/trunk/; revision=40149
2011-12-10 13:18:45 +00:00
Anders Broman
86117b6a9f 607: warning: unused variable 'd'
svn path=/trunk/; revision=40148
2011-12-10 13:09:17 +00:00
Anders Broman
8f480def7c Dissect the whole IR dyn packet in packet-rohc.c
svn path=/trunk/; revision=40147
2011-12-10 12:50:05 +00:00
Sake Blok
8d4e40559d If we know there is a FCS present, don't hand it to the ethernet trailer dissectors, but dissect it on return
svn path=/trunk/; revision=40146
2011-12-10 12:28:28 +00:00
Guy Harris
baa8f66c73 Clarify some stuff in a comment.
Don't call any of the heuristic trailer dissectors if there's no trailer
to dissect.

svn path=/trunk/; revision=40143
2011-12-10 05:33:48 +00:00
Guy Harris
3fc0968b02 Clean up indentation.
Do more length checks, so we reject trailers that have nothing to
dissect.

Test for the trailer length being >= 8, rather than for having the 0x08
bit set (they amount to the same thing, as the trailer length is <= 14,
and >= 8 is what we really want if we're checking whether there's a
timestamp).

svn path=/trunk/; revision=40142
2011-12-10 05:29:09 +00:00
Jaap Keuter
d2f9204568 From Tilghman Lesher:
Some commands and IEs from the current release of Asterisk are missing from the
IAX protocol dissector.  This patch provides them.

svn path=/trunk/; revision=40141
2011-12-09 23:14:14 +00:00
Jaap Keuter
caa30d0c3d From Thomas Dreibholz:
ASCONF and ASCONF_ACK chunks have a "Sequence Number" field (RFC 5061, 4.1.1
and 4.1.2). The dissector wrongly calls it "Serial number". The attached patch
fixes this issue. 

svn path=/trunk/; revision=40140
2011-12-09 22:56:25 +00:00
Jaap Keuter
edcc7668ca From Nikitha Malgi:
Implementing extensions to Wireshark to support TRILL payloads.

svn path=/trunk/; revision=40139
2011-12-09 22:05:04 +00:00
Guy Harris
f70480894c Get rid of unused variable.
Fix a comparison.

svn path=/trunk/; revision=40137
2011-12-09 20:28:12 +00:00
Anders Broman
08ca01b2a4 Dissect the whole IR packet in packet-rohc.c
svn path=/trunk/; revision=40135
2011-12-09 18:58:26 +00:00
Anders Broman
d5ebe40eaf Update to 3GPP TS 36.413 V10.3.0 (2011-09)
svn path=/trunk/; revision=40134
2011-12-09 18:55:45 +00:00
Alexis La Goutte
da4a280a50 From report of Arasch Honarbacht via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6649
ZigBee ZCL Dissector reports invalid status

The status code 0x8d contained in an attriute status record in a configure reporting response frame is incorrectly displayed as "Write only" (where WRITE_ONLY = 0x8f). According to the ZigBee Cluster Library Specification, Document 075123r03ZB, April 26, 2010 a status of 0x8d should display as "INVALID_DATA_TYPE"

From me :
Fix this issue (Wrong value define) based on Specs available in ZigBee.org

svn path=/trunk/; revision=40133
2011-12-09 17:00:28 +00:00
Alexis La Goutte
9936838ce3 From beelzebutt via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6597
Mesh Peering Management reason code field interpreted as status code

The Mesh Peering Management tag displays a status code instead of a reason code

svn path=/trunk/; revision=40132
2011-12-09 16:49:06 +00:00
Alexis La Goutte
d5f64d59fb From Juha Takala via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6654
ELCOM dissector needs small fixes for some protocol sub-field texts

svn path=/trunk/; revision=40131
2011-12-09 16:39:18 +00:00
Jaap Keuter
db1ea8f80d From astramax57:
After r38723, some BGP AS_PATH packets were no longer dissected.

svn path=/trunk/; revision=40130
2011-12-09 16:34:02 +00:00
Graham Bloice
19895f31b5 Fixed wrong registration call causing compilation warnings.
svn path=/trunk/; revision=40129
2011-12-09 13:31:19 +00:00
Graham Bloice
9770256235 Added dissector registration for udp messages to permit use with a USER_DLT as per request from Chris Bontje
svn path=/trunk/; revision=40128
2011-12-09 13:08:50 +00:00
Graham Bloice
62ffea3b32 Added definition and handling for IIN Function Code Not Implemented bit.
svn path=/trunk/; revision=40127
2011-12-09 12:42:31 +00:00
Jaap Keuter
597058297e From Johannes Berg
It's tedious to parse the blockack bitmap by hand, showing it in wireshark
directly is much nicer. Attached patch does so, only for compressed BA for now.

From me: made it filterable.

svn path=/trunk/; revision=40126
2011-12-09 08:41:38 +00:00
Anders Broman
1372c03cf3 Use correct offset.
svn path=/trunk/; revision=40125
2011-12-09 06:16:07 +00:00
Guy Harris
40efa29acc Get rid of declarations of undefined routines and definitins of unused
routines.

svn path=/trunk/; revision=40124
2011-12-09 03:00:56 +00:00
Guy Harris
3f199f793a Move the definition of enum rohc_mode into packet-rohc.h.
Have packet-pdcp-lte.h include packet-rohc.h to pick up that definition.

Get rid of now-no-longer-necessary includes.

svn path=/trunk/; revision=40123
2011-12-09 02:34:53 +00:00
Guy Harris
9242ce10c3 packet-pdcp-lte.h defines "enum rohc_mode", and packet-rohc.h uses it,
so include packet-pdcp-lte.h first.

Get rid of extra definition of "enum rohc_mode".

svn path=/trunk/; revision=40122
2011-12-09 00:59:47 +00:00
Guy Harris
f2f48a2b7e packet-pdcp-lte.h defines "enum rohc_mode", and packet-rohc.h uses it,
so include packet-pdcp-lte.h first.

No extra tokens after #endif, please.

Fix indentation.

svn path=/trunk/; revision=40121
2011-12-09 00:56:48 +00:00
Anders Broman
f6dbd0863e Start using functions from packet-rohc.c
svn path=/trunk/; revision=40120
2011-12-08 21:45:35 +00:00
Anders Broman
27f95726b3 Try to get the container stuff right...
svn path=/trunk/; revision=40119
2011-12-08 21:17:03 +00:00
Anders Broman
443fe1e7f8 Use to display ESP SPI BASE_HEX_DEC as it is in decimal in SIP.
svn path=/trunk/; revision=40118
2011-12-08 19:34:04 +00:00
Anders Broman
0b3c639c79 Properly dissect Source-ToTarget-TransparentContainer.
svn path=/trunk/; revision=40117
2011-12-08 19:32:51 +00:00
Martin Mathieson
61d252a42b Skip correct number of bytes.
svn path=/trunk/; revision=40115
2011-12-08 11:15:31 +00:00
Anders Broman
dd48ee3af3 Add a dissector table for private extensions.
svn path=/trunk/; revision=40114
2011-12-07 19:04:13 +00:00
Bill Meier
918f314c12 Fix [-Wunused-but-set-variable] GCC warnings;
Remove some trailing blanks;
#include <stdio.h> not needed.

svn path=/trunk/; revision=40113
2011-12-07 14:47:27 +00:00
Martin Mathieson
a64e6e5e59 Fix for bug 6650: IP-ID is 2 bytes.
Note that I'm still aiming to change PDCP to use packet-rohc rather than its own, separate implementation...

svn path=/trunk/; revision=40111
2011-12-07 12:19:59 +00:00
Anders Broman
e3f5247fde RatingGroup -> RatingGroupId
svn path=/trunk/; revision=40110
2011-12-07 06:29:31 +00:00
Sake Blok
8b6db469de Make windows buildbots happy...
svn path=/trunk/; revision=40109
2011-12-06 23:52:01 +00:00