1029 Commits

Author SHA1 Message Date
Alin Moldovean ea1911c4a1 Update UA NodeSets and generated code with the latest fixes for V1.04 (#637) 2019-02-05 16:00:12 +02:00
Alin Moldovean 612b50694c Bugfix for NodeState.UserWriteMask getter (#631) 2019-01-23 11:27:01 +02:00
Michi 69025001ab EventFilter now considers BrowseName, NodeClass and NodeId of Variables when filtering an event (#619) 2019-01-15 15:45:35 +02:00
Alin Moldovean b8d911c569 Updates for V1.04 attributes in Client and Server (#614)
* Update for 1.04 attributes in ClientSession.ReadNode()

* Fix in ClientSession.ReadNode()

* Updates for 1.04 Attributes in server.

* Discard inner value for attributes with bad status codes in ClientSession.ReadNode().

* Remove unused attribute from AttributeWriteMask
2018-12-17 12:53:19 +02:00
Robin Mattheussen 94e2a74dc8 Added OnReferenceAdded and OnReferenceRemoved handlers to NodeState 2018-11-12 19:31:05 +01:00
Martin Regen 7deec9d782 Update Bouncy Castle to 1.8.4 (#583) 2018-11-09 09:42:58 +01:00
Martin Regen d007a41d15 Add Aes profile support (#574)
* add the Aes128 and Aes256 profiles
* Aes profies were tested on IoP workshop against Ascolab, Softing, Matrikon, Milo, ProSys and others
* Pss padding is not supported on all platforms, so autodetect if it is supported and filter out Aes256 if not
* not a breaking change: not specifying the SecurityProfileUri in the config xml will automatically add all supported profiles but not deprecated profiles (e.g. Basic256Sha256, Aes128, Aes256). Aes256 is only added if the platform supports Pss padding. This will simplify the maintenance of config xml, since automatically all supported and secure profiles are exposed.
2018-10-29 09:58:45 +01:00
Marc Schier a3810831ef Introduce interface between listener and channel and make channel ext… (#572)
* Introduce interface between listener and channel and make channel extendable

* Fix build

* Code review feedback

* Code review feedback
2018-10-26 21:09:21 -07:00
Michael Wiarda f12e537606 Update Stack/Opc.Ua.Core/Types/Encoders/JsonEncoder.cs
Corrected EncodingType for JsonEncoder
2018-10-21 19:11:08 +02:00
AlinMoldovean 31a8235007 Added DecimalDataType node in ReferenceServer.
Predefined nodes updated to include DecimalDataType structure.
2018-10-12 16:00:40 +03:00
AlinMoldovean 5f91c46a0c Fixes #540. Update in Utils.Clone() method. 2018-09-24 18:41:39 +03:00
Alin Moldovean a4443db382 Merge pull request #516 from OPCFoundation/jsonencoderqnfix
Write qualified name strings with quotation marks
2018-09-13 17:55:57 +03:00
Marc Schier a61ee3591f Write qualified name strings with quotation marks 2018-08-07 19:22:26 +02:00
AlinMoldovean 036320221b Create custom configuration settings and validators for user certificates. #383 2018-08-06 17:13:49 +03:00
Martin Regen 6ef3b7bbc5 follow guidance of CVE-2018-8356 and Microsoft Security Advisory 4021279 2018-07-31 14:51:20 +02:00
Martin Regen ced33e1957 Improvements for cloud based Gds and V1.04 nodes (#508)
- all changes for cloud based GDS
 - build version of .net standard libs is now set in version.props, it may require updates for the official builds.
  - add new stuff for v1.04 nodeset, e.g. QueryApplications Api
  - gds.client/gds.server common dll changes to support a cloud based GDS.
2018-07-31 13:32:21 +02:00
Alin Moldovean 85f77cdab4 Fix for Mantis #4317. Limit recursion level in ExtensionObject. (#496) 2018-07-09 17:33:56 +03:00
Alin Moldovean 0d08d40180 Update NodeSets and generated code with latest fixes for V1.04 (#487)
Update NodeSets and generated code with latest fixes for V1.04 Errata
2018-06-26 09:29:36 +03:00
AlinMoldovean 51e416da34 Fix for prevent downloading DTD references when decoding an XmlDocument. 2018-05-30 15:53:24 +03:00
Martin Regen da2afd82c2 catch an exception which may occur in rare cases (#439) 2018-05-05 09:28:50 +02:00
AlinMoldovean 8b72de7cae Fixes #231 - TraceOutput.StdOutAndFile removed since not supported 2018-05-03 17:26:52 +03:00
AlinMoldovean 49fb32fdce Assembly version set to 1.04.353 2018-05-03 15:11:48 +03:00
Alin Moldovean eb5d0b2ee9 Merge pull request #415 from OPCFoundation/v1.03
Integrate V1.03 to master
2018-03-30 13:28:38 +03:00
AlinMoldovean 27ff681320 Assembly version set to 1.03.352 2018-03-29 16:23:01 +03:00
Martin Regen 3c1159ec71 add v1.04 caps (#406) 2018-03-26 10:39:46 +02:00
Martin Regen fb8a3884d9 nonce should be compared without revealing timing information. (#407) 2018-03-26 09:08:25 +02:00
AlinMoldovean 3cdfe56f32 NodeSets and generated code updated to include UserCredentialCertificateType 2018-03-19 12:35:09 +02:00
Martin Regen ec5cdd5ab6 Merge pull request #403 from OPCFoundation/v1.03
reverse integrate V1.03 to master (v1.04)
2018-03-16 19:35:08 +01:00
Martin Regen e2a4020984 Fix V103 nohttps build (#401)
- Fix the NO_HTTPS build to reduce publish size if HTTPS is not needed
e.g. `dotnet build /p:NoHttps=true`
- Limit language Version to C#6 for VS 2015 compat
- add travis & appveyor cases for nohttps build
- enable GDS Https transport
- update nuspec
2018-03-16 10:21:32 +01:00
AlinMoldovean c2fbfaa0e6 "XmlAnyAttributeAttribute" attributes removed from OPCBinarySchema - generates issues for Xamarin 2018-03-15 13:55:25 +02:00
AlinMoldovean 3d41b8fc32 "XmlAnyAttributeAttribute" attributes removed from OPCBinarySchema - generates issues for Xamarin 2018-03-14 15:51:02 +02:00
Marc Schier 694cbeab91 Merge fix from master (#393) 2018-03-12 13:28:40 +01:00
Marc Schier 467acc5d13 Fix nesting level overflows when value is null (#392) 2018-03-12 11:31:40 +01:00
Martin Regen bc78cded47 Merge pull request #387 from OPCFoundation/v1.03
reverse integrate V1.03 to master
2018-03-08 20:53:35 +01:00
Martin Regen b068633b24 Fix https server start in quickstart apps (#386)
- add helper batch files to start / stop all apps
- distribute ports to be able to run all apps at the same time
- fix config files
- fix csproj to include libuv.dll for kestrel servers
- fix race condition in https listener
2018-03-08 20:50:04 +01:00
AlinMoldovean 6ba20ba31a fix tabs in ApplicationConfiguration.xsd 2018-03-07 18:53:36 +02:00
AlinMoldovean 17dc14bcc5 Implement #362 - Certificate chain support. 2018-03-07 18:44:00 +02:00
Martin Regen 21cc6cb178 Merge pull request #377 from OPCFoundation/v1.03
V1.03 reverse integrate to master
2018-03-02 14:28:39 +01:00
Martin Regen 23f0e3abd7 add App Uri to csr / test app uri in signing request. Use domain names in signing request. 2018-02-28 11:49:37 +01:00
AlinMoldovean dfd9c717b6 #363 - Optional program control methods removed from ProgramStateMachineState 2018-02-22 18:37:08 +02:00
AlinMoldovean 0894364ca9 #363 - Generated code and NodeSets for V1.04 OPC UA Specifications 2018-02-22 13:41:30 +02:00
Martin Regen 75d8b2ca3c Fix .Net 4.6 Https client and server (#359)
- best possible fix for #189 to reenable https servers 
- `UA Sample Client` and `UA Sample Server` expose https server. libuv.dll is by default for x64. Change 
```
<PropertyGroup>
   <RuntimeIdentifier>win7-x64</RuntimeIdentifier>
   <BaseNuGetRuntimeIdentifier>win7-x64</BaseNuGetRuntimeIdentifier>
</PropertyGroup>
```
to win7-x86 if required.
- fix exception in https client when setting the Timeout
- fix travis build script for linux. kestrel server on ubuntu doesn't respond on ipv6Any ipaddress.
- fix a timing problem in the travis script.
2018-02-20 11:27:00 +01:00
Martin Regen 4d05093462 Clean up nuget dependencies (#353)
- remove dependency on System.Private.ServiceModel, it should not be used directly
- remove packages.config, VS2017 doesn't need it
- use ref to .Net instead of nuget to reduce number of packages used
2018-02-16 19:14:12 +01:00
Martin Regen e21f99eaf6 Fixes for https client and server (#346)
* Fixes for https client and server (#38)

HTTPS server fixes:
- Kestrel 2.0 in netcoreapp 2.0 server samples: only responds to some clients, not to UA samples at all. Fix configuration (listen to all ip addresses) 

HTTPS client fixes:

- bug: client gets stuck if subscription is active by nesting too many calls (use async callback)
- https client needs server cert in a trusted store or it refuses connection (auto accept server certs, but fix is not supported on all platforms, e.g. UWP apps still require a cert in the trusted store)
- runtime issues with .Net 4.6. apps (cannot find diagnostics dll) --> workaround is to manually add nuget package of System.Net.http 4.3.3

- Add https connection to travis test script (only .Net Core)

* fix shell script exe

* also listen on ipv6 port

* do not use auto validation on OSX
2018-02-08 13:58:07 +01:00
Martin Regen 9792df49eb IOP workshop fixes for reference server (#341)
* DataValue cannot contain a DataValue by spec
* default to Basic256Sha256
* default DataValue should return null
2018-02-05 14:54:55 +01:00
Martin Regen dbef06aa82 Fix ip address parser, domain name check and reconnect (#333)
* bug fix in cert parser: return normalized ipaddress string instead of hex byte array string
* connect with domain cert check,
* fix ip address compares,
* add dialog to connect anyway if cert domain check fails
* fix reconnect case when cert domain check fails
2018-01-25 08:55:26 -07:00
Martin Regen 7bf9c79ba6 Fix icons in .Net apps (#332)
* fix windows form apps, when icon on the taskbar disappears but is still running
* use exceptiondlg where it was missing
* change GetAssemblyTimestamp, pe header is not containing a timestamp in .net core assemblies
2018-01-25 08:36:15 -07:00
Martin Regen 30d8414472 add travis build for mono 2018-01-09 17:17:40 +01:00
Martin Regen 9f8affb05f Determine RSA dispose at runtime 2018-01-09 15:38:38 +01:00
Martin Regen 1f444a5186 Revert "keep readable store open"
This reverts commit 217f03099b.
2018-01-09 13:58:32 +01:00