241 Commits
Author SHA1 Message Date
Stasik0 390a69c6e8 fixing multithreaded version 2015-05-21 20:32:35 +02:00
Stasik0 93ba29d6a5 splitting server_run s.t. the server can run in one thread with other applications 2015-05-21 20:32:16 +02:00
Stasik0 3ab18e56b6 renew secure channel on a timely base automatically 2015-05-14 16:50:39 +02:00
Julius Pfrommer 256b60845c add UA_Client_renewSecureChannel, make the securechannel lifetime user-definable in the client config 2015-05-14 11:19:42 +02:00
Julius Pfrommer 9e51e84caa API freezing: add handling of ranges to data sources 2015-05-06 16:43:42 +02:00
Julius Pfrommer d953635ca2 move ua_config.h.in into the include dir 2015-05-06 12:29:04 +02:00
Stasik0 31dea3b36f fixing coverity issues except for ua_server_worker.c 2015-05-04 16:45:38 +02:00
Julius Pfrommer df860ef0c1 simplify logging 2015-05-04 14:25:43 +02:00
Stasik0 e9f4560205 cosmetics: renamed exampleServer into server, exampleClient into client, moved demonodes to userspace (server.c) 2015-05-04 09:40:44 +02:00
Julius Pfrommer a7482ed0a6 improve range handling 2015-04-30 11:37:27 +02:00
Julius Pfrommer d525bed725 small improvements 2015-04-29 20:06:32 +02:00
Julius Pfrommer bf6ffeda63 disable warnings on older gcc, small cosmetic cleanups 2015-04-29 01:32:07 +02:00
Julius Pfrommer cf33d08b7d changing some macros to reenable the library for c++ 2015-04-29 01:08:35 +02:00
Stasik0 ab4e2d882b added dynamically linked examples to the standard build, fixed the unexposed structs/functions, relates to #234 2015-04-28 11:01:11 +02:00
Julius Pfrommer 60d636db85 finalize improved handling of timed work 2015-04-26 01:21:49 +02:00
Julius Pfrommer 4f6063221d fix timed work, small cosmetic improvements
(cherry picked from commit 233c36ec1a)
2015-04-25 22:44:36 +02:00
Stasik0 a184ddf230 declaring diagnostics as disabled, applicaionname added to server config 2015-04-25 15:10:22 +02:00
Julius Pfrommer 776266e4e2 Do not use non-blocking sockets in the client (until we have an async API) 2015-04-21 16:29:58 +02:00
Julius Pfrommer f16fdd7466 securechannel and session cleanup (deactivated) 2015-04-21 00:20:33 +02:00
Julius Pfrommer 1d104f1668 Merge pull request #225 from acplt/server_config
Looks good!
2015-04-20 18:14:09 +02:00
Stasik0 469be85fed CCT test section of Security->Name Password passes 2015-04-20 16:32:39 +02:00
Julius Pfrommer 68cf0f8613 take message buffers from the connection layer 2015-04-20 16:16:54 +02:00
Stasik0 fa6ddc1e27 saving one malloc as proposed by @jpfr 2015-04-20 13:47:13 +02:00
Stasik0 35c0b99f47 Merge remote-tracking branch 'origin/master' into server_config
Conflicts:
	src/server/ua_server.c
2015-04-20 13:37:01 +02:00
Julius Pfrommer bb9076e188 Merge improved network layer
commit b219219c4e0ea9e5305602a05c09551832e7d48a
Merge: ba36eba 8065259
Author: Julius Pfrommer <julius.pfrommer@web.de>
Date:   Mon Apr 20 12:09:46 2015 +0200

    Merge branch 'master' into new_tcp

commit ba36eba3bc
Merge: e770929 59d9945
Author: Julius Pfrommer <julius.pfrommer@web.de>
Date:   Mon Apr 20 12:07:22 2015 +0200

    Merge branch 'master' into new_tcp

    Conflicts:
    	examples/networklayer_tcp.c
    	src/client/ua_client.c
    	src/ua_session.c

commit e7709296bf
Author: Julius Pfrommer <julius.pfrommer@web.de>
Date:   Thu Apr 16 19:18:38 2015 +0200

    small improvements, generate server information in ua_server.c

commit 1420f81106
Author: Julius Pfrommer <julius.pfrommer@web.de>
Date:   Thu Apr 16 16:13:34 2015 +0200

    independent memory management for the network layer

commit 0fc6e3490c
Author: Julius Pfrommer <julius.pfrommer@web.de>
Date:   Thu Apr 16 13:09:42 2015 +0200

    fix last unit test

commit 22e1cee835
Author: Julius Pfrommer <julius.pfrommer@web.de>
Date:   Thu Apr 16 12:50:38 2015 +0200

    Rewrite of the network layer. It became a lot easier to grasp.

    Squashed commit of the following:

    commit 5ca6fa80475efba8cf18e69d25b61ad3cf931916
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Thu Apr 16 12:45:13 2015 +0200

        fix windows build

    commit 4b595e7a64f80dd496fb0bfa40199e9c9b14a1b4
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Thu Apr 16 12:35:38 2015 +0200

        finish the improved network layer

    commit fe76dc159ae3f53a3556115916b83d10f4859410
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Wed Apr 15 19:34:19 2015 +0200

        untabify

    commit 76b8c31fb80d088aba2c0eb2555ef736b774dc04
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Wed Apr 15 19:28:36 2015 +0200

        make it work on linux

    commit 03414d2ba7dd41ba65bce66800d7f5e321302263
    Author: Julius Pfrommer <julius.pfrommer@kit.edu>
    Date:   Wed Apr 15 17:56:52 2015 +0200

        update

    commit 46576e2d7f195adc76d4174674a2f9d6bdd81da4
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Wed Apr 15 14:05:36 2015 +0200

        next step

    commit 55ffd789b4288dc98dab76d5c682d81d96cb65ec
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Wed Apr 15 13:29:27 2015 +0200

        small improvement

    commit 36b70ae501084f47865e6c3541f6c81237c8bd0e
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Wed Apr 15 13:24:36 2015 +0200

        new server networklayer
2015-04-20 12:10:20 +02:00
Stasik0 ec9af23975 username/pass logins work, did not looked into CTT yet 2015-04-20 09:03:36 +02:00
Stasik0 011f61bcb2 started to work on server config:
1) we can decide what logins types are enabled
2) applicationuri is set centrally

todo: list of usernames/passwords

@jpfr, you ok with that?
2015-04-19 17:33:36 +02:00
Julius Pfrommer 382f17459f enable build on MSVC 2015 (lesser MSVC fail due to missing C99 constructs) 2015-04-19 10:17:16 +02:00
Julius Pfrommer aabd4b22fc add the BrowseNext service 2015-04-18 20:18:25 +02:00
LEvertz 44995b5b49 added translateBrowsePathsToNodeIds to external NodeStore functions 2015-04-17 11:06:32 +02:00
Julius Pfrommer 3a029e8446 pass the client config by value 2015-04-14 11:13:44 +02:00
Julius Pfrommer d0c2c27cd8 a helper function to test if a variant contains a scalar value 2015-04-14 09:59:16 +02:00
Stasik0 099c697634 partial revert, and followed the propsal of @FlorianPalm, #212 2015-04-13 21:09:28 +02:00
Stasik0 774c7920be removing UA_Client_private forward def 2015-04-13 09:03:19 +02:00
Stasik0 e879b989b7 fix in the comment 2015-04-13 08:59:27 +02:00
Stasik0 03cd734988 definitive way to define client's properties, refers to #219 2015-04-13 08:44:24 +02:00
Stasik0 355898e313 adding timeout to client's config refers to #219
@jpfr any objections on such a way of setting config values? A dedicated function for the timeout would be more future-proof, but i would not like to export 1000000's of functions
2015-04-12 22:08:17 +02:00
Julius Pfrommer cf8db00bf5 enable variadic arguments for log messages 2015-04-12 12:47:11 +02:00
Julius Pfrommer 6423239137 let users add their custom namespaces 2015-04-11 14:43:37 +02:00
Julius Pfrommer ddb54aea43 move variant semantics to the right place 2015-04-08 15:29:18 +02:00
Julius Pfrommer 5f393b5309 fix udp, c++ server 2015-04-07 11:15:22 +02:00
Stasik0 56822bd591 Merge branch 'master' into hardening_client
Conflicts:
	examples/networklayer_tcp.c
2015-04-06 01:12:29 +02:00
Julius Pfrommer f7eff5571c differentiate between UA_STRING and UA_STRING_ALLOC 2015-04-05 16:59:37 +02:00
Julius Pfrommer efbf011556 support writing of numeric ranges (required for nano). no test cases in the ctt 2015-04-05 15:42:26 +02:00
Julius Pfrommer bb5e53dcf5 towards writing of ranges 2015-04-04 15:25:31 +02:00
Julius Pfrommer 2f1531bae6 store incompletely received messages in the connection 2015-04-03 01:24:46 +02:00
Julius Pfrommer b23216c694 simplify ua_string generation from chars 2015-04-02 15:30:49 +02:00
Julius Pfrommer 5a47e1dc46 clean up the client, improve the datavalue api 2015-04-01 12:07:28 +02:00
Julius Pfrommer 1dc86a56e8 added a testcase that replays client messages from a file
fixed the first round of bugs found by file-based fuzzing with afl
2015-03-31 22:53:15 +02:00
Stasik0 168fa087df final set of fixes for windows 2015-03-31 08:45:18 +02:00