wireshark/plugins/opcua
Hannes Mezger b2f03f1967 opcua: prefix all hf_register_info with opcua, unify naming
Change-Id: I575bd2f93202837b2ce15a39b1b0bd9b5c53f5bf
Reviewed-on: https://code.wireshark.org/review/4151
Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-09-17 23:20:16 +00:00
..
AUTHORS Add myself as author for the opcua dissector plugin 2014-06-17 17:11:24 +00:00
CMakeLists.txt Add .rc files to the sources to have them included in the build 2014-06-20 23:58:22 +00:00
COPYING Update FSF address - part II. 2012-06-28 23:18:38 +00:00
ChangeLog Continue to remove $Id$ from top of file 2014-03-31 16:00:04 +00:00
Doxyfile
Makefile.am Don't show the echo/python command lines when making plugin.c 2014-08-31 22:14:54 +00:00
Makefile.common Display text representation of status codes 2014-06-16 15:44:35 +00:00
Makefile.nmake Now that Python is mandatory on Windows, remove checks for it from nmakefiles 2014-08-09 20:23:39 +00:00
README Add myself as author for the opcua dissector plugin 2014-06-17 17:11:24 +00:00
moduleinfo.h Add our license header to plugin moduleinfo.h files. Cleans up a batch of 2013-07-06 13:31:31 +00:00
moduleinfo.nmake Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
opcua.c opcua: use BASE_NONE instead of 0 2014-09-17 23:16:40 +00:00
opcua_application_layer.c opcua: prefix all hf_register_info with opcua, unify naming 2014-09-17 23:20:16 +00:00
opcua_application_layer.h Continue to remove $Id$ from top of file 2014-03-31 18:50:19 +00:00
opcua_complextypeparser.c Create and register subtree identifiers for all opcua array types 2014-06-17 17:25:16 +00:00
opcua_complextypeparser.h Create and register subtree identifiers for all opcua array types 2014-06-17 17:25:16 +00:00
opcua_enumparser.c Create and register subtree identifiers for all opcua array types 2014-06-17 17:25:16 +00:00
opcua_enumparser.h Create and register subtree identifiers for all opcua array types 2014-06-17 17:25:16 +00:00
opcua_extensionobjectids.h Regenerate all sources using latest OPC UA specification 2014-06-11 13:57:26 +00:00
opcua_extensionobjecttable.c Regenerate all sources using latest OPC UA specification 2014-06-11 13:57:26 +00:00
opcua_hfindeces.c Remove unused array length fields 2014-06-11 13:57:49 +00:00
opcua_hfindeces.h Remove unused array length fields 2014-06-11 13:57:49 +00:00
opcua_identifiers.h Unify how opcua arrays are displayed 2014-06-17 17:12:21 +00:00
opcua_security_layer.c opcua: prefix all hf_register_info with opcua, unify naming 2014-09-17 23:20:16 +00:00
opcua_security_layer.h Continue to remove $Id$ from top of file 2014-03-31 18:50:19 +00:00
opcua_serviceids.h Regenerate all sources using latest OPC UA specification 2014-06-11 13:57:26 +00:00
opcua_serviceparser.c Create and register subtree identifiers for all opcua array types 2014-06-17 17:25:16 +00:00
opcua_serviceparser.h Create and register subtree identifiers for all opcua array types 2014-06-17 17:25:16 +00:00
opcua_servicetable.c Move ServiceFault from ComplexType- to ServiceParser 2014-06-11 12:59:08 +00:00
opcua_servicetable.h Continue to remove $Id$ from top of file 2014-03-31 18:50:19 +00:00
opcua_simpletypes.c opcua: prefix all hf_register_info with opcua, unify naming 2014-09-17 23:20:16 +00:00
opcua_simpletypes.h Create and register subtree identifiers for all opcua array types 2014-06-17 17:25:16 +00:00
opcua_statuscode.c Display text representation of status codes 2014-06-16 15:44:35 +00:00
opcua_statuscode.h Display text representation of status codes 2014-06-16 15:44:35 +00:00
opcua_transport_layer.c opcua: prefix all hf_register_info with opcua, unify naming 2014-09-17 23:20:16 +00:00
opcua_transport_layer.h Continue to remove $Id$ from top of file 2014-03-31 18:50:19 +00:00
plugin.rc.in Introduce end-of-line normalization 2014-02-05 22:28:01 +00:00

README

OpcUa Plugin:
=============

This plugin implements the dissection of the OpcUa Binary Protocol.
Authors: Gerhard Gappmeier & Hannes Mezger
         ascolab GmbH
         http://www.ascolab.com
	
Overview:
=========

OpcUa (OPC Unified Architecture) is a vendor and platform independent
protocol for automation technology. It is the successor of the
COM/DCOM based specifications OPC DA, OPC Alarm & Events, OPC HDA, etc.
It unifies all this technologies into a single protocol.

The specification describes abstract services that are independent
of the underlying protocol. For now there exist protocol mappings
to a Binary TCP based protocol and a SOAP based Webservice.
Also a hybrid version will be available where the Binary messages are transported
by a single webservice command called "Invoke".

More information about the technology you can find on
http://www.ascolab.com/index.php?file=ua&lang=en.

Protocol Mappings:
==================

Binary (TCP): The fastest and most flexible version (small footprint, no XML and SOAP necessary)
              can easily be tunneled (SSH, IPSEC, etc.), redirected, ...
SOAP version: Easy to implement with verious tools like .Net, JAVA, gSOAP, etc.
              Better to communicate through firewalls via HTTP.
SOAP with Binary Attchment: Combines the advantages of both.
              The messages are encoded as Binary, and transported via SOAP as binary
              attachment.

The OPC Foundation offers a free Opc Ua stack implementation in ANSI C
for all members. This stack implements the binary protocol as well
as the SOAP version. It's easily portable to different kinds of operating
systems from embedded devices to servers.
This makes it easy to implement Opc Ua applications based on this stack
and it is expected that the binary protocol will be the most used
protocol.
Nevertheless it's free to everbody to implement an own stack according
to the specification. An own implementation of the SOAP version 
should be easy with the various SOAP toolkits.

For more information see http://www.opcfoundation.org

Known limitations:
==================

* Only the security policy http://opcfoundation.org/UA/SecurityPolicy#None is
  supported, which means the encryption and signing is turned off.
  
Machine-generated dissector:
============================
Parts of the OpcUa dissector are machine generated.  Several of the files are
marked "DON'T MODIFY THIS FILE!" for this reason.

However, the code to create this dissector is not part of the Wireshark source
source code distribution.  This was discussed prior to the plugin's inclusion.
From http://www.wireshark.org/lists/wireshark-dev/200704/msg00025.html :

~~~
> a lot of the code seems to be autogenerated (as the comments suggest)
> It might make sense to include the sources and the build process instead 
> of the intermediate files (if the amount of code/tools to build the 
> files seems reasonable). The reason: When people start to hack your code 
> (e.g. to remove warnings on a compiler you don't even think about), 
> you'll might get into annoying trouble with merging code the next time 
> you've update the upcua files.
>
>   
I'm sorry, but I cannot give you the sources of the code generator,
because they are owned by the OPC Foundation.
I only extended the existing code generator to produce also wireshark code.
It's .Net based so I guess you don't want to have it anyway ;-)
~~~

So, if changes must be made to the machine-generated files, it just means the
upstream source will have to be modified before pushing any updates back to
Wireshark.

Of course it also means that care must be taken when applying patches from
upstream to ensure local changes aren't reversed.