Commit Graph
75 Commits
Author SHA1 Message Date
Martin Regen c23a112411 fix Kestrel https option for netstandard 2.0
tested with Ua Expert against standard and ref server
2017-09-11 14:20:48 +02:00
Martin Regen fa579dd599 fix networking for .Net Core 2.0:
SendAsync and ReceiveAsync now frequently return synchronously even if successful. These cases had not been properly handled yet, previous versions never hit these codepaths.
2017-08-24 18:15:42 +02:00
Martin Regen 26881aab7a Client discovery and cert check improvements (#213)
Client discovery and cert check improvements
2017-08-01 17:04:35 +02:00
Erich Barnstedt 56b32c8df2 Remove some legacy code which created trust between a server and an LDS "on the sly", fixed access permission in log file and fixed security level comparision. 2017-07-17 14:52:35 +02:00
Erich Barnstedt cfd82bd704 Fixed HTTPS for .NetCore and disabled it for .Net due to an issue with LibUV (see https://github.com/aspnet/Hosting/issues/1115) 2017-07-03 16:42:16 +02:00
Erich Barnstedt ef8fe340b6 1. Removed SecurityLevel from server config, it is now automatically calculated for each endpoint description.
2. Fixed spelling/grammar in a few places.
2017-05-08 12:29:57 +02:00
Martin Regen 732e7c7a42 issues found in testing 2017-05-02 13:32:41 +02:00
Martin Regen 52af9fdeab Merge branch 'martin_certs' of https://github.com/mregen/UA-.NetStandardLibrary.git 2017-04-29 08:22:10 +02:00
Martin Regen 8053c14468 clean up nonce calls 2017-04-29 08:22:03 +02:00
Martin Regen 86e9714d6c Fix hang1 (#15)
* correctly terminate when remote side closes

* Fix build issue
2017-04-29 08:19:18 +02:00
Martin Regen 3c52cf7761 - allow subjectnames with CN=xxx, O= etc.
- misc. bugfixes
- pen: set default security to highest
- pen: cert default lifetime 12 month
2017-04-27 14:21:47 +02:00
Marc Schier 2af2a4dd75 Add visual studio 2017 solution file to allow building .net Standard … (#150)
* Add visual studio 2017 solution file to allow building .net Standard stack and console samples

* Enable VS 2015 when VS 2017 is installed

* Update readme
2017-03-23 11:17:39 +01:00
Marc Schier 8b71b38268 Access to IMessageSocket from Session, plus fix for BeginConnect indefinite blocking (#139)
Access to IMessageSocket from Session, plus fix for BeginConnect indefinite blocking
2017-02-22 15:08:25 +00:00
Martin Regen cfd6cfa670 fix cr feedback, typos 2017-01-24 11:26:10 +01:00
Martin Regen 9a3c3531ee NullListener 2017-01-23 17:11:58 +01:00
Martin Regen 81abf02e97 UaSCBinary is now UaSCUaBinary according to UA-SC UA Binary in the spec 2017-01-23 17:10:49 +01:00
Martin Regen ddcaa9a63d TCPChannel is now UaSCBinary 2017-01-23 17:04:34 +01:00
Martin Regen 245324b7d7 TcpChannelToken is now ChannelToken 2017-01-23 16:59:33 +01:00
Martin Regen 06d9202eaf TcpChannelQuotas is now ChannelQuotas 2017-01-23 16:50:33 +01:00
Martin Regen 59bbf3feb0 TcpAsyncOperation is now ChannelAsyncOperation 2017-01-23 16:40:27 +01:00
Martin Regen b04df2b4d5 TcpClientChannel is now UaScBinaryClientChannel 2017-01-23 16:30:54 +01:00
Martin Regen 3622ea0fb0 eliminate MessageSocketError 2017-01-23 15:13:29 +01:00
Martin Regen d450ef96a8 make TransportChannel generic 2017-01-23 13:19:12 +01:00
Martin Regen dbc32544da refactoring the client channels. Works with Opc.Ua.Proxy. Allows to replace just the socket layer, so the channel, binary encoding and security can be reused. 2017-01-20 18:46:28 +01:00
Martin Regen f8876e2f35 reduce usage of Task.Run
build debugType portable
2017-01-12 11:24:16 +01:00
Erich Barnstedt 560063893a Merge pull request #100 from cristipogacean/master
Added support for LDS-ME (merged from https://github.com/cristipogacean/UA-.NET)
2016-12-19 15:47:32 +01:00
Martin Regen d2a35e93c9 custom transport channel needs a factory function to create a new instance per session 2016-12-19 13:51:53 +01:00
Cristian Pogacean 4773374018 Added support for LDS-ME.
RegisterServer2() is called as first option for LDS registration of the server.
The ClientControls was extended to use FindServersonNetwork() into the LDS-ME for discovering the OPC UA Servers announcing themselves using Bonjour services.
2016-12-18 20:37:57 +01:00
Erich Barnstedt d7c2faf9d9 Merge pull request #94 from mregen/proto_master
Create self signed certs in Opc.Ua.Core
2016-12-09 08:31:55 +01:00
Martin Regen 2148d65084 improve cert handling of sample apps
- create self signed cert on first start (kudos to bouncy castle)
- fix path handling in many areas,
- ./ or ../ is treated as rooted dir
- special %LocalFolder% for UWP apps to allow to write certs in app temp storage
- all batch helpers to create certs removed
2016-12-07 18:29:24 +01:00
Erich Barnstedt e50ea96da2 Merge pull request #92 from mregen/proto_master
- use latest generated and schema files from UA Nodeset (10/19/16) (h…
2016-12-05 21:26:00 +01:00
Martin Regen 29c5519dae - use latest generated and schema files from UA Nodeset (10/19/16) (https://github.com/OPCFoundation/UA-Nodeset)
- remove some yet unsupported functionality for GDS/Pubsub
2016-12-05 14:52:51 +01:00
Erich Barnstedt c4481965ad Merge pull request #91 from OPCFoundation/prototyping
Support for custom transport channel and modified sample app to show usage
2016-12-05 12:51:09 +01:00
Martin Regen a62d11c3fb Basic256Sha256 support 2016-12-02 22:35:00 +01:00
Erich Barnstedt 78973da178 Added support for custom transport channel. 2016-12-02 17:15:35 +01:00
Martin Regen 55810c6bf0 Pass CTT Security/Security User X509 test cases 2016-11-13 22:08:39 +01:00
Martin Regen 057912c825 - Fixes found during a CTT test pass. Many fixes also due to sync with .Net codebase.
- Sync codebase of Opc.Ua libraries to UA.Net 1.03.340 source on github.
-CTT stress failures and exceptions all fixed.
-Roughly 2 dozen CTT tests are still with red bubbles. Mainly very special cases.
2016-10-07 16:20:25 +02:00
Martin Regen 029c942a17 clean up the cleanup timer... 2016-09-19 14:13:33 +02:00
Martin Regen aa4225a5e4 BufferManager fixes:
i)single buffers were never returned
ii)ProcessCloseSecureChannelRequest duplicates call to ReturnBuffer and hit exception
2016-09-14 12:34:56 +02:00
Erich Barnstedt 5d565637dd Changes required for running UA applications on ASP.Net in the cloud. 2016-09-13 10:08:31 +02:00
Martin Regen 17d04a3399 fix a duplicate ReturnBuffer call, improve the BufferManager tracing. 2016-09-09 15:17:26 +02:00
Martin Regen 050b8add33 Supress the ServiceResultException during graceful shutdown of the TCP channel, as we don't expect an answer from the server. 2016-09-07 17:42:17 +02:00
Martin Regen 771fc5809a fix exception during teardown of tcp listener 2016-09-01 12:38:49 +02:00
Erich Barnstedt 5966fa7dc0 Fix trace file configuration. 2016-08-19 10:05:05 +02:00
Erich Barnstedt 32dfd746d2 Fixed a misleading exception in BufferManager and increased a timeout to make debugging easier. Also removed some dead code. 2016-08-18 17:06:53 +02:00
Recep Karabıçak b4c5f65286 set maximum buffer size properly when constructing a BufferManger
TakeBuffer method of the BufferManager before forwarding the call to the internal BufferManager increases the expected size
this causes it to be bigger than the maximum configured buffer size. At construction internal BufferManager should be configured properly.
2016-08-18 09:43:06 +03:00
Erich Barnstedt 4a0bc1429c Merge pull request #43 from mregen/standard
Got GDS compiling.
2016-08-04 06:18:36 -07:00
Erich Barnstedt f85f88d3b2 Got GDS compiling. 2016-08-04 15:08:56 +02:00
Erich Barnstedt 0c676ff278 Merge pull request #41 from mregen/standard
Got GDS common lib compiling.
2016-08-03 14:13:51 -07:00
Erich Barnstedt 95e17e632b Got GDS common lib compiling. 2016-08-03 23:10:24 +02:00