Commit Graph

20347 Commits

Author SHA1 Message Date
Bill Meier 33df8647d5 Reformat hf array entries slightly (to help checkdf)
svn path=/trunk/; revision=47301
2013-01-26 16:31:24 +00:00
Evan Huus fbf1970b06 Always call sub-dissectors with the top-level tree.
svn path=/trunk/; revision=47299
2013-01-26 15:41:35 +00:00
Evan Huus a18bdb19df From Tyson Key via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8246
Support for dissection of FeliCa payloads in PN532 InCommunicateThru packets.

svn path=/trunk/; revision=47297
2013-01-26 15:38:12 +00:00
Evan Huus 8444e23988 USB-CCID header is always 10 bytes and may contain payloads, so setting
it to run to the end of the packet was confusing and/or wrong.

svn path=/trunk/; revision=47296
2013-01-26 15:34:48 +00:00
Michael Mann c3651f0409 dcp-etsi dissector: new formula for rx_min
Bug 8231 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8231)

svn path=/trunk/; revision=47295
2013-01-26 15:07:25 +00:00
Evan Huus 0f5ea5487f Whitespace cleanup.
svn path=/trunk/; revision=47286
2013-01-25 22:04:59 +00:00
Evan Huus e55b8a1d38 From Florian Fainelli via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8259
Improve the dissection of the "Get Software Version" confirmation frame as well
as the "Read configuration Block" confirmation frame by properly dissecting the
fields previously marked as reserved in the Homeplug-AV dissector.

svn path=/trunk/; revision=47285
2013-01-25 21:54:18 +00:00
Bill Meier 520230116f Clean up:
- Remove hf & ett decls not used externally from .h
- For hf & ett vars not used externally:
   remove from .c if not used internally otherwise
   declare as static.

svn path=/trunk/; revision=47284
2013-01-25 21:48:38 +00:00
Pascal Quantin df466c5940 Remove duplicate include file
svn path=/trunk/; revision=47275
2013-01-25 18:37:00 +00:00
Pascal Quantin fd659d2b4a Fix dissection of ETWS/CMAS messages
svn path=/trunk/; revision=47274
2013-01-25 18:33:07 +00:00
Pascal Quantin eaf731ccad Remove non ASCII character
svn path=/trunk/; revision=47273
2013-01-25 16:50:05 +00:00
Anders Broman ce6025b059 Dissect Broadcast-Message-Content correctly.
svn path=/trunk/; revision=47272
2013-01-25 15:29:19 +00:00
Pascal Quantin 738dae7c3d From Florian Fainelli via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8258 :
HomePlugAV dissector: improve device ID decoding

svn path=/trunk/; revision=47271
2013-01-25 14:10:09 +00:00
Anders Broman 750c5a8401 Fix dissection of path ["/" session-id] is optional.
svn path=/trunk/; revision=47270
2013-01-25 09:08:24 +00:00
Michael Mann 4b3d76d426 Add new query types, options and message types for DHCPv6 Bulk Leasequery protocol. Also enforce message rules in RFC 5460 section 4 through expert_info
Part of bug 8172 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8172)

svn path=/trunk/; revision=47267
2013-01-25 03:40:53 +00:00
Evan Huus 471dde4a21 Use pinfo-scoped memory for mtp3 addresses.
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8247

svn path=/trunk/; revision=47266
2013-01-25 00:28:48 +00:00
Evan Huus d334115b4d From Florian Fainelli via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8166
properly dissect the 0x6048 and 0x6038 frames with HomePlug AV 1.1 

svn path=/trunk/; revision=47265
2013-01-25 00:18:10 +00:00
Gilbert Ramirez 10dd94fa0b Add support for HFI and infiniband interfaces in AIX iptrace files.
svn path=/trunk/; revision=47258
2013-01-24 18:08:25 +00:00
Evan Huus 9037ec60ed From Florian Fainelli via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8166
Fixes for decoding HPAV-1.1 Network Info Request/Confirmation

From me: minor whitespace cleanup.

svn path=/trunk/; revision=47257
2013-01-24 16:23:15 +00:00
Tomas Kukosa 5d3ff466da Fix H.460.9 numbers of parameters
svn path=/trunk/; revision=47256
2013-01-24 11:54:18 +00:00
Pascal Quantin 40efff2019 Fix warning: cast to pointer from integer of different size
While we are at it, restore the private data if no private extension dissector is not found (seems to be the right thing to do)

svn path=/trunk/; revision=47255
2013-01-24 10:36:51 +00:00
Pascal Quantin 1bf78b2ba6 Add missing newline at end of file
svn path=/trunk/; revision=47254
2013-01-24 10:14:37 +00:00
Tomas Kukosa d19cde439e Fix H.460.x calling from H.225 - content decoding
svn path=/trunk/; revision=47253
2013-01-24 10:11:02 +00:00
Anders Broman e2d3294617 From Katrina Zhang sligtly modified.
- Add dissection of Selected PLMN ID.
- Put enterpice id in the tree
- Filter for UTRAN Transparent Field.

svn path=/trunk/; revision=47252
2013-01-24 09:59:06 +00:00
Anders Broman 7140161402 From Katrina Zhang sligtly modified.
- Correct dissection of 8.50 Selected PLMN ID.
- Pass Instance to private extension dissectors.

svn path=/trunk/; revision=47251
2013-01-24 09:56:28 +00:00
Anders Broman 5bd9f6aa9d Add sGSNPLMNIDChange
svn path=/trunk/; revision=47250
2013-01-24 09:53:57 +00:00
Balint Reczey 335d6ca7e2 Prevent copying longer than expected NTLM SSP key
svn path=/trunk/; revision=47248
2013-01-24 09:34:54 +00:00
Bill Meier 42de9da8e3 From Manuel Hofer: Dissector for the OpenVPN Protocol
As part of a semster project in our 3rd semester of
 "secure information systems" at the university of
 applied sciences upper austria, we built a wireshark
 dissector for the OpenVPN protocol.

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

From me:
 Rework reassembly code and tree display of
  message fragments and reassembled messages.
 Fix various bugs and do some cleanup.

Also: Do minor whitespace changes in AUTHORS.

svn path=/trunk/; revision=47247
2013-01-24 04:26:46 +00:00
Jeff Morriss ce5adea80a Try making dataCodingScheme a guint32 to quiet the MacOS buildbots.
svn path=/trunk/; revision=47244
2013-01-24 02:28:12 +00:00
Chris Maynard 83fffcf258 Delete duplicated word, "you".
svn path=/trunk/; revision=47241
2013-01-24 01:39:59 +00:00
Gerald Combs 2dff8d7605 Add font and color preferences. Unfortunately Qt doesn't have a color
picker widget so we're back to popping up dialogs. Move the contents of
monospace_font.{cpp,h} to wireshark_application.{cpp,h}.

Pango and Qt use completely different string representations for fonts.
Add a separate gui.qt.font_name preference so that they don't clobber
each other.

svn path=/trunk/; revision=47240
2013-01-24 01:10:12 +00:00
Pascal Quantin 9cf7642d19 Allow dissection of several segmented warning messages in parallel
svn path=/trunk/; revision=47236
2013-01-23 21:55:07 +00:00
Pascal Quantin 59e4794390 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8216 :
Add basic dissection of UTF8String type in ASN.1 PER dissector

svn path=/trunk/; revision=47233
2013-01-23 20:50:18 +00:00
Anders Broman d59e9cf574 mm_context_used_cipher is 3 bits.
svn path=/trunk/; revision=47230
2013-01-23 15:56:29 +00:00
Anders Broman c94d02cf85 svn path=/trunk/; revision=47229 2013-01-23 15:40:32 +00:00
Jaap Keuter 260cafb04c Fix for CID 280286:
Take negative value into account, avoid all casting in the process.

svn path=/trunk/; revision=47223
2013-01-23 06:11:18 +00:00
Evan Huus 0cb2a257de Convert the strict allocator to use a hash table similarly to the simple
allocator, allowing it to implement realloc and free.

svn path=/trunk/; revision=47222
2013-01-23 02:31:04 +00:00
Evan Huus 681a3ad5a2 Handle NULL-pointers and 0-lengths in a much simpler allocator-agnostic way,
and document the fact that allocator authors don't have to care.

svn path=/trunk/; revision=47220
2013-01-23 01:11:36 +00:00
Evan Huus c25c5915c5 Add wrapper functions for realloc, free and gc, but don't expose them in the
header yet as not all allocators implement them.

svn path=/trunk/; revision=47219
2013-01-23 00:59:38 +00:00
Pascal Quantin ae61fe0158 Try to fix dissection of GSM protocol family broken by r47209.
Using val_to_str seemed to be a good idea, but most value_string arrays were not properly filled or were using hacks.
(I hope I got everything right...)


svn path=/trunk/; revision=47218
2013-01-22 23:25:44 +00:00
Jaap Keuter 6e1c54c8fd Fix for CID 761911-761984 and CID 761985-761994.
Try to convince Coverity that the passed in item pointer is appreciated,
but not used.
This time see if it pleases the Windows compiler too.

svn path=/trunk/; revision=47217
2013-01-22 22:07:44 +00:00
Bill Meier 1c7c18b725 Fix a typo in a comment;
Do some minor whitespace & etc cleanup.

svn path=/trunk/; revision=47216
2013-01-22 20:55:54 +00:00
Evan Huus 7ad70545cc More fixes for handling of NULL-pointers and 0-lengths in calls to
malloc/realloc/free.

svn path=/trunk/; revision=47215
2013-01-22 18:46:35 +00:00
Gerald Combs 6ef1fc5002 GTK+:
Get rid of user-hostile behavior. In the layout preferences pane 2 & 3
radio buttons overrode the user's selection if a duplicate item was
selected. Now we assume that the user knows what he or she is doing and
steal duplicate selections from the other panes.

Qt:

Match the new GTK+ behavior in the layout preferences. Add padding
around the layout images. Add toolbar style preferences to the
Appearance pane (instead of the layout pane).

All:

Remove the selection mode and scrollbar placement prefs and mark them
obsolete as recently discussed on -dev.

Adjust the layout images yet again after more Awful Monitor Testing.

svn path=/trunk/; revision=47214
2013-01-22 18:27:18 +00:00
Bill Meier df41b2aefa #include <epan/reassemble.h> not needed.
svn path=/trunk/; revision=47212
2013-01-22 15:55:59 +00:00
Bill Meier 9a636739ba Create/use extended value-string;
Add editor modelines;
Do minor whitespace, long lines, and etc cleanup.

svn path=/trunk/; revision=47211
2013-01-22 15:38:55 +00:00
Jaap Keuter 6a6aaf7409 Fix for CID 717414-717435.
Never ever access a string in a value string by its array index.
Use the proper access functions (val_to_str[_ext] and friends).

Also: make clean compile, so move out of dirty dissectors.

svn path=/trunk/; revision=47209
2013-01-22 07:18:20 +00:00
Anders Broman 332012288b Revert 47201 it does not compile on Windows.
svn path=/trunk/; revision=47208
2013-01-22 07:05:39 +00:00
Michael Mann 52b63d96a4 Update the FeliCa dissector to identify FeliCa Standard commands
From Tyson Key, bug 8243 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8243)

svn path=/trunk/; revision=47205
2013-01-22 04:29:37 +00:00
Chris Maynard 604fd1f1c5 Try to eliminate VS Code Analysis warning: warning C6385: Invalid data: accessing 'hf_packetbb_addr_value', the readable size is '16' bytes, but '4004' bytes might be read
svn path=/trunk/; revision=47204
2013-01-22 02:48:55 +00:00