aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2011-02-02A bit of Windows makefiles rework and cleanup:Bill Meier19-42/+59
- Define macros for certain CFLAGS in config.nmake iso of having defs in each makefile; a. -DHAVE_CONFIG_H and -D_U_="" are now part of a macro named STANDARD_CFLAGS; b. -WX has been replaced by WARNINGS_ARE_ERRORS (defined as -WX in config.nmake) (This allows disabling "Warnings as Errors" by just changing config.nmake) c. CVARSDLL definitions (not usage) have been removed from the various makefiles. XXX: It appears the usage of CVARSDLL can also be removed (not yet done) since: -DWIN32 and -DNULL=0 do not appear to be needed (any more); -D_MT and _D_DLL are not needed since /MP causes these definitions. d. Define a macro WARNINGS_CFLAGS with additional specific compiler (level4) warnings to be enabled. E.G., 4295: array is too small to include a terminating null character - config.nmake: reformat some long lines for readability; - plugins\Makefile.nmake: clean-deps does nothing: remove it (and usage in top-level makefile); - dissectors/Makefile.nmake: test to enable packet-rrc.obj target needs to include MSVC2010 ... svn path=/trunk/; revision=35747
2011-01-30Whitespace cleanup (remove trailing blanks from lines).Bill Meier3-182/+182
svn path=/trunk/; revision=35711
2011-01-30Add a comment about some "unreachable code" indicating possible incorrect ↵Bill Meier1-230/+230
code someplace. Fix some spelling.. svn path=/trunk/; revision=35710
2011-01-21There's no need to pass the result of tvb_get_ptr() as the 'value' inJeff Morriss4-437/+432
proto_tree_add_*(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string(). svn path=/trunk/; revision=35603
2011-01-19Don't stop calling subdissectors when there's no tree.Jaap Keuter1-2/+0
svn path=/trunk/; revision=35591
2011-01-19Use Wireshark standard marking for unused parameters.Jaap Keuter7-55/+15
svn path=/trunk/; revision=35590
2011-01-16Do Windows compile with /WX flag: treat warnings as errors.Bill Meier1-1/+1
svn path=/trunk/; revision=35565
2011-01-02Fix some cut-and-pasteos and other typoes.Guy Harris1-7/+7
svn path=/trunk/; revision=35328
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris63-82/+82
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) svn path=/trunk/; revision=35224
2010-12-16There is no exceptions.h file here, remove it from DISSECTOR_INCLUDES.Jeff Morriss1-2/+1
svn path=/trunk/; revision=35201
2010-12-16From Guido Reismueller:Jaap Keuter14-7/+4192
packet-mdd.c - TLV 15 fixed packet-tlv.c - Added Support for DOCSIS 3.0 TLVs (38-66) Added Support for the following DOCSIS 3.0 MAC Management Messages - DBC-REQ (packet-dbcreq.c) - DBC-RSP (packet-dbcrsp.c) - DBC-ACK (packet-dbcack.c) - CM-CTRL-REQ (packet-cmctrlreq.c) - CM-CTRL-RSP (packet-cmctrlrsp.c) - DPV-REQ (packet-dpvreq.c) - DPV-RSP (packet-dpvrsp.c) svn path=/trunk/; revision=35193
2010-12-11Added opcua_extensionobjecttable.c from revision 34906.Stig Bjørlykke1-0/+1
svn path=/trunk/; revision=35177
2010-12-04From Gerhard Gappmeier via ↵Jeff Morriss3-15/+40
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5429 : Until now the info column only shows the OPC UA transport protocol type (Hello, Ack, Secure Conversion message). After connections establishment has finished this column shows only Secure Conversion message, because every service is sent over the secure channel. This patch adds the useful support of displaying the service type in the info column. This makes it easier to find specific service calls in huge capture files. svn path=/trunk/; revision=35119
2010-12-04From Gerhard Gappmeier via ↵Jeff Morriss2-4/+336
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5427 : This patch adds support for dissecting all Extension Objects types defined by the OPC Foundation. svn path=/trunk/; revision=35118
2010-12-02From Gerhard Gappmeier:Anders Broman1-12/+12
Fix mapping of datatype strings in opcua plugin https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5428 svn path=/trunk/; revision=35105
2010-11-28From Robert Groenenberg:Anders Broman1-3/+32
Assert when using ASN.1 dissector with loading a 'type table' https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5447 svn path=/trunk/; revision=35055
2010-11-25Fix for bug 5435:Jaap Keuter1-1/+3
Add support for dissecting SLL type 0x17 frames. svn path=/trunk/; revision=35029
2010-11-21Fix properties.Bill Meier1-1/+1
svn path=/trunk/; revision=34997
2010-11-17From David Katz via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5166 :Jeff Morriss3-176/+357
Add a configuration parameter of the NWG version for WiMAX ASN CP dissector. The format and meaning of TLVs, as well as function types and messages changed between the different NWG versions. Added support for the version number of TLVs in the dictionary xml, its parser, and of course in the packet itself. Added support for the version number of function-types and message-types by extending the value_string structure to contain also a "since" version number. Successfully tested with a live capture and capture file, containing WiMAX ASN packets (full Network entry). Also fuzzed 500 passes successfully. The XML doesn't contain all existing NWG versions, only selected ones. This is a little tedious work to go over all TLVs of each version, so I'll add some newer versions later on. can add a short how-to of adding a new version, for others to use, if needed. svn path=/trunk/; revision=34919
2010-11-16From Gerhard Gappmeier via ↵Jeff Morriss6-1/+158
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5410 : This patch adds support for displaying OPC UA ExtensionObjects. An ExtensionObject is a mechanism to transport user defined structures as serialized blobs. Some types of ExtensionObjects are already defined by the OPC Foundation's OPC UA Specifications. These types can be implemented by this dissector, because they are well-known. Real user-defined or vendor-defined types are unlikely to be implemented by a passive dissector, because this would require browsing of the UA server's address space to retrieve the type information. Currently only the following types are supported: * DataChangeNotification * EventNotification Others OPC defined types will follow. From me: fix warnings: "format not a string literal and no format arguments" svn path=/trunk/; revision=34906
2010-11-16From Gerhard Gappmeier via ↵Jeff Morriss1-8/+29
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5409 : This patch fixes displaying OPCUA Strings and ByteStrings. From me: fix warnings: "format not a string literal and no format arguments" svn path=/trunk/; revision=34905
2010-11-15From Gerhard Gappmeier via ↵Jeff Morriss1-33/+25
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5406 : I attached a patch which fixes some problems in the array handling of OPC UA data when the array length is zero or -1 which is a Null-Array. svn path=/trunk/; revision=34880
2010-11-05Simply use %c for printing char.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=34789
2010-11-05Fixed a printf modifier to remove a warning from clang.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=34784
2010-10-17Remove some unused hf entries.Stig Bjørlykke28-168/+0
svn path=/trunk/; revision=34549
2010-10-17Removed unused hf_pn_dcp and hf_pn_ptcp.Stig Bjørlykke2-7/+0
svn path=/trunk/; revision=34544
2010-10-17Removed unused hf_ecat_mailbox.Stig Bjørlykke1-6/+0
svn path=/trunk/; revision=34543
2010-10-15From ToddS via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5300 :Jeff Morriss1-0/+6
In the profinet plugin, the decoding of the MRP LinkUp and MRP LinkDown messages is missing the MRP_SA field which garbles the decode of the rest of the packet. This fix adds the decoding of the MRP_SA field to the MRP LinkUp and MRP LinkDown dissectors. svn path=/trunk/; revision=34524
2010-10-15From ToddS via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5299 :Jeff Morriss1-1/+1
In profinet plugin, there is a dissection based on whether the read data returned is expected to contain a single or multiple blocks. Currently, the I&M0FilterData case assumes only a single block is returned. Profinet specifies two optional additional blocks. This change moves I&M0FilterData to expect multiple blocks to correct decode the optional information. svn path=/trunk/; revision=34523
2010-10-04From Yu Zhang:Anders Broman1-1/+2
MRP packet is not correctly parsed in PROFINET multiple write record request. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5267 svn path=/trunk/; revision=34358
2010-09-24Plugins are not shared libraries, so:Guy Harris17-20/+0
1) don't set thei SOVERSION - run-time-loaded modules don't have an SOVERSION; 2) build them with link mode MODULE, not SHARED, on all platforms. (Fixing 1) also fixes the problem with building them as MODULE on OS X.) svn path=/trunk/; revision=34243
2010-09-24Track offset even when tree==NULL.Jaap Keuter1-0/+4
svn path=/trunk/; revision=34239
2010-09-24Replace blurbs that match the name (case insensitive) with NULL.Jeff Morriss1-1/+1
svn path=/trunk/; revision=34231
2010-09-23Replace blurbs that match the name (case insensitive) with NULL.Jeff Morriss3-13/+13
svn path=/trunk/; revision=34227
2010-09-23H. Sivank <hsivank@gmail.com>Jörg Mayer16-19/+19
I try to configure Wireshark with cmake on macosx 10.6. It fails with : set_target_properties called with incorrect number of arguments. Attached a patch to fix this issue. svn path=/trunk/; revision=34201
2010-09-22interlink type is decimalUwe Girlich1-2/+2
some keyword substitution added svn path=/trunk/; revision=34178
2010-09-21As suggested by Kovarththanan Rajaratnam in ↵Jeff Morriss1-5/+5
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3548 : Clean up hf fields some more: mostly removing leading and trailing spaces from names and blurbs. svn path=/trunk/; revision=34165
2010-09-17Use val_to_str_ext() & friends to access sminmpec_values[];Bill Meier1-1/+1
Also: packet-nhrp.c: #include sminmpec.h not req'd; svn path=/trunk/; revision=34143
2010-08-21prefs_register_string_preference() overwrites the given value pointer with a ↵Jeff Morriss1-1/+11
copy of the string. Since the string this dissector passes in is mallocated, keep a pointer to it and then free it after the pointer has been overwritten. svn path=/trunk/; revision=33872
2010-08-12(Trivial) Use consistent indentation; Whitespace cleanup.Bill Meier1-244/+244
svn path=/trunk/; revision=33788
2010-08-12Add new expansion.h file left out of the previous commit.Bill Meier1-0/+41
svn path=/trunk/; revision=33787
2010-08-12From Don Newton: Added dissection of Expansion Module (KEM,GEM) messages to ↵Bill Meier2-0/+124
Unistim plugin. From me: Add expansion.h to list of .h files in Makefile.common; #include <stdio.h> not required. svn path=/trunk/; revision=33786
2010-07-27From Don Newton:Jaap Keuter1-3/+3
Fails to decrement msg_len on 3 different message types which causes the dissector to attempt to decode an addition or misplaced unistim cmd. svn path=/trunk/; revision=33643
2010-07-09The only reason to escape "%" in a string is if you are, incorrectly,Guy Harris2-71/+23
passing a string directly to a routine that expects a format string. The correct way to handle that is to pass "%s" as the string. As long as you're escaping non-printable characters, just let tvb_format_string() handle that. For null-terminated strings, get the length of the string with tvb_strsize(), and then just put the string into the protocol tree as a regular item. svn path=/trunk/; revision=33482
2010-06-30Add Visual C++ project files to the distribution.Gerald Combs1-0/+1
svn path=/trunk/; revision=33386
2010-06-05Back out r33088 for now.Gerald Combs22-7930/+0
svn path=/trunk/; revision=33102
2010-06-04Add a checkapis target.Gerald Combs1-0/+3
svn path=/trunk/; revision=33092
2010-06-04From Matt Poduska via bug 1957 (with minor changes):Gerald Combs22-2/+7929
New dissector (plugin) to support decode of the EPCglobal Low-Level Reader protocol (see llrp.org for more information). This dissector has passed fuzz testing. svn path=/trunk/; revision=33088
2010-05-24Refer to the endianness arguments as "encoding" rather thanGuy Harris4-4/+4
"representation" - we already use "representation" to refer to the text representation of fields. Change some routines with an endianness argument to make it a representation argument instead; svn path=/trunk/; revision=32929
2010-05-20Fixed warning "Field width should have type 'int'".Stig Bjørlykke1-3/+3
svn path=/trunk/; revision=32909