Commit graph

15863 commits

Author SHA1 Message Date
Anders Broman
1c9c62e1ca Mark length as U(nsused)
svn path=/trunk/; revision=38618
2011-08-19 12:15:54 +00:00
Anders Broman
e56f077015 Fix MM Context for E-UTRAN SRVCC elment lengths
svn path=/trunk/; revision=38617
2011-08-19 12:02:49 +00:00
Stig Bjørlykke
9c7e12c572 Introduce NSTime Lua object to handle nstime_t.
This object can be used to retreive other absolute and relative time fields,
create and modify nstime_t values and put generated time values in the tree.

Also added ProtoField.absolute_time and ProtoField.relative_time.

svn path=/trunk/; revision=38616
2011-08-19 08:36:02 +00:00
Gerald Combs
d644c6fc57 Add "WPA" to the 802.11 decryption key preference text.
svn path=/trunk/; revision=38608
2011-08-18 21:46:28 +00:00
Alexis La Goutte
cd3e81d97c From Ryan Hoffman via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6122
Malformed Packet in decode for BGP-AD (autodiscovery) update (RFC6074)

From me:
Add support of RFC6074 (BGP-AD) in BGP dissector.
Both BGP-AD and VPLS-BGP (RFC4761) use the same AFI/SAFI, The NLRI length must be used as a demultiplexer. (See RFC6074  Section 7 : BGP-AD and VPLS-BGP Interoperability)

svn path=/trunk/; revision=38601
2011-08-18 13:43:24 +00:00
Alexis La Goutte
21e7a7a277 Enhance support of RD Type 2 (FORMAT_AS4_LOC) (RFC4364)
svn path=/trunk/; revision=38600
2011-08-18 12:51:30 +00:00
Alexis La Goutte
2c649f7b78 From Sergey V. Lobanov via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6128
Wireshark doesn't decode BGP.MP_REACH_NLRI.NLRI when RD type is 2(defined in
RFC4364:4.2)

From me:
 Add RD type 2 (FORMAT_AS4_LOC) (not tested... based only on RFC spec..)

svn path=/trunk/; revision=38589
2011-08-17 18:09:27 +00:00
Stig Bjørlykke
6c6c045e3a Initialize trunc.
Fix CID 1229.

svn path=/trunk/; revision=38572
2011-08-16 19:25:29 +00:00
Chris Maynard
02ae47f0e8 From Jakub Ruzicka via bug 6240: Show data for trunked packets. Some typo fixes by me.
Reference: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6240

svn path=/trunk/; revision=38571
2011-08-16 19:20:25 +00:00
Guy Harris
464778ed69 More misspellings of "unknown", for bug 6244.
svn path=/trunk/; revision=38565
2011-08-16 16:26:50 +00:00
Chris Maynard
5959387e7d Use col_append_sep_str() to comma-separate info column text. Fixes bug 6186.
Reference: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6186

svn path=/trunk/; revision=38564
2011-08-16 14:54:59 +00:00
Jeff Morriss
339136d1d0 Based on patch from Denis Ovsienko via
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6244 :

Fix typo: s/unkown/unknown/

svn path=/trunk/; revision=38561
2011-08-16 13:16:33 +00:00
Graeme Lunt
a8d3a3ea8c Allow the dissection of BER/DER carried over a TCP transport using
"Decode As..."


svn path=/trunk/; revision=38560
2011-08-16 12:28:17 +00:00
Guy Harris
d7fe82f5cf At least for the Provider Service Table items, they're part of 802.11,
so precede their field names with "wlan.".  Fix some of their long names
and descriptions (no need to spell out "Internet Protocol" or "Medium
Access Control", for example).

Give the "Number of Channels" field a more reasonable name (and one that
avoids the problem of spelling "unknown" incorrectly).

svn path=/trunk/; revision=38559
2011-08-16 11:11:17 +00:00
Graeme Lunt
b5cddc0336 An option to autoscroll the expanded item in the details view to a fixed
position (percentage) within the details view. 


svn path=/trunk/; revision=38558
2011-08-16 10:57:52 +00:00
Stig Bjørlykke
c25dd4b1ce Don't prefix description with imf.
svn path=/trunk/; revision=38553
2011-08-16 09:08:36 +00:00
Anders Broman
b5740c2288 From Jeremy Quirke:
misdecoding 3G Neighbour Cell Information Element in SI2quater message due to a coding typo

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

svn path=/trunk/; revision=38542
2011-08-15 04:39:30 +00:00
Stig Bjørlykke
a17cde69ec Check arguments to prefs_find_preference().
Fix CID 1259.

svn path=/trunk/; revision=38540
2011-08-14 20:31:16 +00:00
Gerald Combs
48166c84f4 [Automatic manuf, services and enterprise-numbers update for 2011-08-14]
svn path=/trunk/; revision=38532
2011-08-14 14:03:42 +00:00
Guy Harris
c6eb12cc5f Do more checking of the TLV length. Yes, the length can be zero or
negative in a malformed packet.  Should fix bug 6238.

svn path=/trunk/; revision=38521
2011-08-13 22:33:14 +00:00
Stig Bjørlykke
0eefc553b2 From Edwin Groothuis via bug 6179:
Added Time Shift functionality.

From me:
Renamed to use "Time Shift" everywhere + some other minor cleanups.

svn path=/trunk/; revision=38510
2011-08-13 17:39:38 +00:00
Stig Bjørlykke
154b9b9ee9 From Edwin Groothuis via bug 6179:
Add nstime_copy.

svn path=/trunk/; revision=38509
2011-08-13 17:39:25 +00:00
Jeff Morriss
f8034556e5 From Anish Bhatt via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6113 :
The standard iscsi dissector only recognizes iscsi traffic to and from port
3260 as specified. However, it doesn't understand traffic in MPIO/MCS
connections where the iscsi target runs on a range of ports (3260-3270 for
eg.); or rather it will ignore all iscsi traffic not on the specified port.

Attached patch adds ability to recognize iscsi traffic over a range of ports.
Default range is set to 3260-3260, so it behaves exactly like the current
dissector.


From me:

Don't surround a bunch of code in proto_register_iscsi() with braces just to
allow a new variable to be declared (without incurring the wrath of
non-C99-compliant compilers): just declare the variable at the top of the
function.

svn path=/trunk/; revision=38492
2011-08-11 21:59:02 +00:00
Guy Harris
bda2c7d6cf Leading white space in the field descriptive name is not allowed.
svn path=/trunk/; revision=38489
2011-08-11 17:46:02 +00:00
Gerald Combs
5e67ca6f69 From Dirk Jagdmann: Protect the RTS info column.
svn path=/trunk/; revision=38487
2011-08-11 16:38:45 +00:00
Anders Broman
8b1263c618 Check if the embedded text is xml, if it is call the xml dissector.
svn path=/trunk/; revision=38486
2011-08-11 15:51:41 +00:00
Jeff Morriss
23c5165169 Clarify that Tvb_reported_length_remaining may return -1
svn path=/trunk/; revision=38485
2011-08-11 13:45:42 +00:00
Anders Broman
41a4ccb657 from Joe McEachern:
patch for DHCPv6 DS-Lite AFTR Option RFC 6334

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

svn path=/trunk/; revision=38478
2011-08-11 09:25:37 +00:00
Ronnie Sahlberg
64d9e6a044 Regenerate a new updated FRSRPC dissector.
This dissectors now dissects a whole lot more of the FRS protocol.



svn path=/trunk/; revision=38476
2011-08-11 08:17:21 +00:00
Ronnie Sahlberg
b86507fa3f Generate the MISC definitions for dcerpc and include the header file in the build
svn path=/trunk/; revision=38475
2011-08-11 08:14:23 +00:00
Ronnie Sahlberg
427624780e From Matthieu Patou <mat@matws.net>
Add a new misc.idl interface to host some definiteions to share across 
multiple interfaces


svn path=/trunk/; revision=38474
2011-08-11 07:59:12 +00:00
Ronnie Sahlberg
db69883151 From Matthieu Patou <mat@matws.net>
Add significantly improved FRSRPC definition and CNF file
Do not compile/regenerate the dissector just yet. More patches needed first


svn path=/trunk/; revision=38473
2011-08-11 07:57:00 +00:00
Ronnie Sahlberg
788dc6230a From Matthieu Patou <mat@matws.net>
Add new helper function for DCE/RPC NDR data blobs


svn path=/trunk/; revision=38472
2011-08-11 07:48:02 +00:00
Ronnie Sahlberg
c667e67fb7 From Matthieu Patou <mat@matws.net>
Add two helper functions to dissect null terminated ascii and wchar strings in dcerpc



svn path=/trunk/; revision=38471
2011-08-11 07:42:25 +00:00
Bill Meier
37bab5e89d Replace use of deprecated g_strdown() by g_ascii_strdown();
Found when compiling with -DG_DISABLE_DEPRECATED

svn path=/trunk/; revision=38469
2011-08-11 03:10:11 +00:00
Jeff Morriss
fda7fc7ca6 Define plugins_dump_all() even when we do not HAVE_PLUGINS.
svn path=/trunk/; revision=38465
2011-08-11 01:11:37 +00:00
Jeff Morriss
fa4d32113c From Alexander Stein via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6175 :
The attached patch adds the method reported_length_remaining to tvb.

svn path=/trunk/; revision=38464
2011-08-11 00:49:43 +00:00
Jeff Morriss
4ee1d732fb Add a Tvb_reported_len Lua API; this may help satisfy bug 6175.
svn path=/trunk/; revision=38461
2011-08-10 21:45:53 +00:00
Jeff Morriss
c832e7a28e strlen returns a size_t
svn path=/trunk/; revision=38460
2011-08-10 21:27:55 +00:00
Jeff Morriss
ce701a90c6 From Shoichi Sakane via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5270 :
Update COAP dissector to the latest drafts:
- corresponded to coap-07, block-04, observe-02 and link-format-06.
- improved the option handler.

From me:
Update the comment to indicate that the port is now IANA-assigned.

There's no need to memset a string to initialize it; just set the first byte
to 0.

svn path=/trunk/; revision=38459
2011-08-10 20:54:44 +00:00
Jeff Morriss
f3039a3a97 From Johannes via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5440 :
Metadata Blocks in the bundle protocol (DTN) can contain EID references. These
are not considered by the current implementation and following blocks are
parsed wrong. The attached patch solves this bug and increment the offset as
much as needed to skip the EID references.

svn path=/trunk/; revision=38448
2011-08-10 15:52:52 +00:00
Anders Broman
a60d91018f Add a cast.
svn path=/trunk/; revision=38436
2011-08-09 20:42:06 +00:00
Alexis La Goutte
ed2036d942 From Allison via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6157
Add Dissector for HDFS Data

svn path=/trunk/; revision=38432
2011-08-09 16:38:15 +00:00
Alexis La Goutte
2179d3ddc1 From Allison via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6156
Add Dissector for HDFS

svn path=/trunk/; revision=38431
2011-08-09 16:34:04 +00:00
Jeff Morriss
0315937427 Fix the fuzz failure reported in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6139 :

Properly initialize the CSN_DESCR type before recursively calling
csnStreamDissector().

svn path=/trunk/; revision=38430
2011-08-09 15:43:42 +00:00
Alexis La Goutte
f53bdb659f From Martin Kaiser via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6220
DVB-CI dissector: fix buildbot warnings

svn path=/trunk/; revision=38428
2011-08-09 14:42:33 +00:00
Tomas Kukosa
733452afd7 Support for Extension Addition Group in PER encoding
Fix for bug 6196 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6199

svn path=/trunk/; revision=38421
2011-08-09 08:00:06 +00:00
Chris Maynard
5d2ba02113 From Andrew Feren via bug 6219: Offset calculated incorrectly for sFlow extended data.
svn path=/trunk/; revision=38419
2011-08-08 20:34:18 +00:00
Chris Maynard
87704160b7 Fix Coverity CID 1242: Pointer "ti" returned by proto_tree_add_uint64() is never used.
svn path=/trunk/; revision=38418
2011-08-08 20:16:45 +00:00
Chris Maynard
3037a852a8 No need to check that usb_trans_info is not NULL here. The only way it could have been NULL is if se_alloc0() returned NULL, but then it would have already been dereferenced before now. Fixes Coverity CID 612, "REVERSE INULL".
svn path=/trunk/; revision=38417
2011-08-08 20:08:24 +00:00