Wireshark-dev: [Wireshark-dev] New dissector for OpcUa protocol
From: Gerhard Gappmeier <[email protected]>
Date: Mon, 02 Apr 2007 11:22:15 +0200
Hello,

because I got no feedback on my last submit
I'm trying it again now.

I attached the new protocol dissector as follows:
1.) The patch for the makefile changes
2.) The new sources are in the attached zip file. (renamed to zip_ to
avoid mail filtering)
3.) A sample capture file to test the dissector.

Please take a look at sources if they are ok and add them to the repository.
Or give me some feedback if I need to change something.

regards,
Gerhard.

Attachment: testdata.cap
Description: Binary data

Index: configure.in
===================================================================
--- configure.in	(revision 21226)
+++ configure.in	(working copy)
@@ -1415,6 +1415,7 @@
   plugins/lwres/Makefile
   plugins/mate/Makefile
   plugins/mgcp/Makefile
+  plugins/opcua/Makefile
   plugins/opsi/Makefile
   plugins/pcli/Makefile
   plugins/profinet/Makefile
Index: Makefile.am
===================================================================
--- Makefile.am	(revision 21226)
+++ Makefile.am	(working copy)
@@ -228,6 +228,7 @@
 	-dlopen plugins/lwres/lwres.la \
 	-dlopen plugins/mate/mate.la \
 	-dlopen plugins/mgcp/mgcp.la \
+	-dlopen plugins/opcua/opcua.la \
 	-dlopen plugins/opsi/opsi.la \
 	-dlopen plugins/pcli/pcli.la \
 	-dlopen plugins/profinet/profinet.la \
Index: Makefile.nmake
===================================================================
--- Makefile.nmake	(revision 21226)
+++ Makefile.nmake	(working copy)
@@ -866,6 +866,7 @@
 	xcopy ".\plugins\lwres\lwres.dll" $(INSTALL_DIR)\plugins\$(VERSION) /d
 	xcopy ".\plugins\mate\mate.dll" $(INSTALL_DIR)\plugins\$(VERSION) /d
 	xcopy ".\plugins\mgcp\mgcp.dll" $(INSTALL_DIR)\plugins\$(VERSION) /d
+	xcopy ".\plugins\opcua\opcua.dll" $(INSTALL_DIR)\plugins\$(VERSION) /d
 	xcopy ".\plugins\opsi\opsi.dll" $(INSTALL_DIR)\plugins\$(VERSION) /d
 	xcopy ".\plugins\pcli\pcli.dll" $(INSTALL_DIR)\plugins\$(VERSION) /d
 	xcopy ".\plugins\profinet\profinet.dll" $(INSTALL_DIR)\plugins\$(VERSION) /d
Index: plugins/Makefile.am
===================================================================
--- plugins/Makefile.am	(revision 21226)
+++ plugins/Makefile.am	(working copy)
@@ -35,6 +35,7 @@
 	lwres \
 	mate \
 	mgcp \
+	opcua \
 	opsi \
 	pcli \
 	profinet \
Index: plugins/Makefile.nmake
===================================================================
--- plugins/Makefile.nmake	(revision 21226)
+++ plugins/Makefile.nmake	(working copy)
@@ -21,6 +21,7 @@
 	lwres \
 	mate \
 	mgcp \
+	opcua \
 	opsi \
 	pcli \
 	profinet \
@@ -99,6 +100,12 @@
 	cd mgcp
 	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
 	cd .. 
+
+opcua::
+	cd opcua
+	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
+	cd ..
+
 opsi::
 	cd opsi
 	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
@@ -185,6 +192,9 @@
 	cd mgcp
 	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
 	cd ..
+	cd opcua
+	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
+	cd ..
 	cd opsi
 	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
 	cd ..
@@ -254,6 +264,9 @@
 	cd mgcp
 	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
 	cd ..
+	cd opcua
+	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
+	cd ..
 	cd opsi
 	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
 	cd ..
@@ -323,6 +336,9 @@
 	cd mgcp
 	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean
 	cd ..
+	cd opcua
+	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean
+	cd ..
 	cd opsi
 	$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean
 	cd ..
@@ -371,6 +387,7 @@
 	xcopy lwres\*.dll $(VERSION) /d
 	xcopy mate\*.dll $(VERSION) /d
 	xcopy mgcp\*.dll $(VERSION) /d
+	xcopy opcua\*.dll $(VERSION) /d
 	xcopy opsi\*.dll $(VERSION) /d
 	xcopy pcli\*.dll $(VERSION) /d
 	xcopy profinet\*.dll $(VERSION) /d

Attachment: opcua.zip_
Description: Binary data