Julius Pfrommer
6b64ca3519
feat(tests): Add a ConnectionManager that can replay PCAP network dumps
2025-02-19 11:27:27 +01:00
Julius Pfrommer
3bec159cb9
Merge remote-tracking branch 'origin/1.4' into merge_14_master_25
2025-01-25 19:06:56 +01:00
tomitkl
2076a9c87f
feat(plugin): Add filestore Windows implementation ( #7006 )
...
* feat(plugin): Add filestore Windows implementation
* Define UA_DT_REG and UA_DT_DIR
* Remove build flag and use __linux__ or UA_ARCHITECTURE_WIN32 in places which used to check only for __linux__
2025-01-10 14:28:37 +01:00
Noel Graf
34d957c561
fix(server): Consistency in the use of the Windows architecture flag
2025-01-09 15:00:38 +01:00
Noel Graf
5fa1cf643e
feat(plugin): Adding filestore backend security policies ( #6564 )
...
* feat(plugin): Add filestore backend security policies to support writing updated certificates back to the file system
* feat(tests): Add test cases for the filestore security policies and the updateCertificate function
---------
Co-authored-by: Julius Pfrommer <jpfr@users.noreply.github.com >
2024-07-23 14:41:48 +02:00
Julius Pfrommer
04fd16af13
Merge remote-tracking branch 'origin/1.4' into merge_14_master_15
2024-05-25 00:35:46 +02:00
Julius Pfrommer
20c50822ef
feat(client): Add tcp reuseaddr option in the client
2024-03-22 11:20:21 +01:00
Julius Pfrommer
7f81b5e547
refactor(arch): Remove UA_REUSEADDR option -- handle in the global test server constructor
2024-03-22 11:20:20 +01:00
Julius Pfrommer
cc806cb471
Merge pull request #6247 from open62541/1.4
...
Merge 1.4 to master
2024-01-26 16:20:42 +01:00
Johannes Kauffmann
1bda4f6083
fix(examples,tests): correct Windows define
...
Checking for WIN32 only works by virtue of CMake defining WIN32, by
itself. The _WIN32 define actually comes from the compiler, so use
that instead.
Since these are examples and tests, don't use UA_ARCHITECTURE_WIN32.
2024-01-20 09:52:19 +01:00
Julius Pfrommer
054420cf33
refactor(test): Use the fake clock also for non-monotonic time-source
...
The subscription tests depend on a deterministic clock.
2023-12-26 00:30:17 +01:00
Julius Pfrommer
58099d814c
refactor(plugin): Move the EventLoop to the plugins folder
2023-12-10 11:38:53 +01:00
Julius Pfrommer
dd300f3eff
refactor(tests): Set a custom "fake" clock in the EventLoop for unit tests
2023-10-04 10:56:26 +02:00
Jan Hermes
87798df129
feat: add new keyvaluemap structure + utilities
2022-10-31 13:21:21 +01:00
Julius Pfrommer
38ff117bce
refactor(core): The SecureChannel directly uses the EventLoop connection
2022-08-05 09:13:05 +02:00
Julius Pfrommer
d70f80d1e1
refactor(test): Remove unused UA_comboSleep
2022-07-25 23:37:06 +02:00
Julius Pfrommer
58e591b16e
fix(test): Remove a sign conversion error in testing_clock.c
2022-07-21 12:45:26 +02:00
Alexander Bluhm
3706b2705f
test(core): fix 32 bit sign-conversion compiler errors
...
When compiled with clang on 32 bit platforms, -Wsign-conversion
prevents implicit conversion from UA_UInt32 to long. Make sec and
ns UA_Int32 which is compatible with time_t and long in struct
timespec.
2022-06-13 20:17:54 +02:00
Julius Pfrommer
341d502c0b
refactor(core): Simplify the SecurityPolicy API to prepare PubSub encryption
2021-04-05 22:18:58 +02:00
Julius Pfrommer
0daf3b6fb1
refactor(core): Remove unneeded calls from the SecurityPolicy API
...
The local plaintext block size is not needed for asymmetric encryption.
And it is identical to the remote block size in the symmetric case.
2021-03-21 16:07:32 +01:00
Julius Pfrommer
4953ddd342
refactor(core): Simplify the SecurityPolicy API
...
When a ChannelContext is available, no pointer to the policy is
required.
2021-03-21 16:07:32 +01:00
Julius Pfrommer
f46a5e7e0a
refactor(tests): Add missing callbacks in testing_policy.c
2021-03-21 08:39:52 +01:00
Julius Pfrommer
fef532107b
fix(tests): Fix printf warnings in testing_policy.c
2021-02-15 12:31:50 +01:00
Julius Pfrommer
7c23332027
refactor(test): Use _clear instead of _deleteMembers
2020-10-18 15:21:40 +02:00
cochicde
1654d02101
fix(arch): Use UA_INVALID_SOCKET where needed ( #3851 )
2020-08-19 13:57:58 +02:00
Julius Pfrommer
8033f1596d
refactor(server): Fold server_config.h into server.h
2020-07-03 23:26:23 +02:00
Julius Pfrommer
7d1d21a88c
refactor(core): Simplify the malloc singleton option
2020-07-01 10:21:17 +02:00
Julius Pfrommer
5da1f5552a
refactor(core): Correct name of ConnectionState enum values
2020-05-05 09:33:57 +02:00
Christian von Arnim
28177296df
Fix: Mutex on win32
2020-04-29 10:38:44 +02:00
Julius Pfrommer
6a3cc6c8d0
refactor(core): Remove certificate verification from SecurityPolicy in favor of global plugin
2020-01-25 19:33:26 +01:00
Julius Pfrommer
a25bb75393
refactor(core): Move ConnectionConfig into SecureChannel
2020-01-18 21:15:08 +01:00
Julius Pfrommer
d332c9d40b
refactor(core): Assemble complete chunks in the SecureChannel
2020-01-18 21:15:08 +01:00
Julius Pfrommer
c6b6ed85b2
fix(build): Fix an undefined function warning for fuzzing
2019-10-30 14:07:57 +01:00
Julius Pfrommer
5856ceb003
refactor(server): Rename deleteMembers to clear in UA_SecurityPolicy
2019-10-03 15:14:24 +02:00
Ubuntu
cbf26d66ed
fix(multithreading): Fix tests for windows
2019-09-10 07:41:05 +02:00
Julius Pfrommer
1f686ae360
Tests: Fix thread_wrapper on MinGW
2019-06-06 02:32:09 +02:00
Stefan Profanter
63f3653ff1
Additional header cleanup and consistent name of ns generated files
2019-03-21 20:16:31 +01:00
Julius Pfrommer
c9c818868f
Move header files to a more unix-like structure
...
This commit drops the 'ua_' prefix and changes the public includes
to the form `#include <open62541/server.h>` instead of the old
`#include <ua_server.h>`
2019-03-21 20:16:31 +01:00
Jayanth Velusamy
53deb3585f
[FIX] Add non-zero timestamp for unit tests (client)
...
Signed-off-by: Jayanth Velusamy <jayanth.v@kalycito.com >
2019-03-20 09:55:59 +01:00
Stefan Profanter
c63abccb4d
Tests: only call ck_assert while test is running
...
ck_assert can only be called while a test is running.
See https://github.com/libcheck/check/issues/18 and https://github.com/libcheck/check/pull/123
There was a race condition where the server loop tried to lock the mutex
and assert the return value, although the tests already finished.
Fixes #2331
2019-01-03 20:24:53 +01:00
Stefan Profanter
a37c959ece
Architecture: Allow overriding memory allocation functions
2018-11-16 09:44:03 +01:00
Ari
23541ab109
Add mutex wrapper
2018-11-15 16:16:01 +01:00
Julius Pfrommer
94a16514f7
Connection: Simplify storage of incomplete chunks
...
Now the connection receive method preprends the last incomplete chunk
in the received buffer. This was made necessary by the new chunk
buffering in the SecureChannel.
2018-08-24 21:33:17 +02:00
Julius Pfrommer
f6eae36ebe
One ConnectionConfig per connection; Deduplicate HEL/ACK negotiation
2018-08-16 10:51:03 +02:00
Jose Cabral
ae149eb6d5
Merge branch 'master' into feature/architectures
2018-06-27 09:05:30 +02:00
Stefan Profanter
9fb454760d
Consistantly use UA_Boolean instead of bool
2018-06-26 11:52:52 +02:00
Stefan Profanter
0c3423036d
Only define UA_sleep_ms if not yet defined (align with master)
2018-04-16 13:13:08 +02:00
Stefan Profanter
a0d6e2b166
Further adaption to architecture folder
...
# Conflicts:
# plugins/ua_log_socket_error.h
2018-04-16 13:13:00 +02:00
Stefan Profanter
516865e606
Merge branch '0.3' into master
2018-04-12 13:20:08 +02:00
Stefan Profanter
880b5fb33c
Merge remote-tracking branch 'upstream/0.3' into feature/unit-tests/securechannel
2018-04-12 11:56:50 +02:00