Commit Graph

48 Commits (fb154877734ae27dec5ef846733ba80e39f62a19)

Author SHA1 Message Date
Gerard Wagener e0d101dc3a chg: [client] try to compile on openbsd 2019-04-05 15:59:02 +02:00
Gerard Wagener 88e22b3e62 chg: [client] getentropy is not available on old Linux distributions 2019-04-05 15:02:55 +02:00
Gerard Wagener 412232c2ef chg: [client] Remove last \n from config data 2019-01-18 16:32:18 +01:00
Gerard Wagener c1ea2c2e00 chg: [client] use alternative to getrandom as it is not available on openbsd 2019-01-17 17:28:32 +01:00
Gerard Wagener 27b8d2d974 chg: [client] use local uuid header file 2019-01-17 17:02:53 +01:00
Gerard Wagener b988939a59 chg: [client] fixed string parsing for source and destination 2019-01-17 15:22:27 +01:00
Gerard Wagener c879a22cf2 chg: [client] check if hmaczero could be allocated 2019-01-17 14:54:27 +01:00
Gerard Wagener 5086b37425 chg: [client] close file descriptor 2019-01-15 13:25:33 +01:00
Gerard Wagener d738a68312 chg: [client] embedded util-linux-2.31.1 2019-01-15 11:03:35 +01:00
Terrtia 3937486e7c fix: [client] fix sha256 hmac 2019-01-03 11:37:43 +01:00
Gerard Wagener 788aad117e chg: [client] Reset HMAC for each d4 packet 2018-12-20 14:55:49 +01:00
Gerard Wagener 081f3e027e chg: [client] Check if hmac context exists 2018-12-20 14:41:56 +01:00
Gerard Wagener d413cc68dc chg: [client] Fixed memory aligment artefacts 2018-12-20 10:56:13 +01:00
Gerard Wagener d22893ae00 updated help 2018-12-05 10:39:51 +01:00
Gerard Wagener b1b5628e18 Merge branch 'master' of github.com:D4-project/d4-core 2018-12-05 09:51:09 +01:00
Gerard Wagener 9ab257b6b1 add: [config] sample config added 2018-12-05 09:50:06 +01:00
Alexandre Dulaunoy 7f6222e940
chg: [makefile] D4/HMAC linking fixed 2018-12-05 09:48:16 +01:00
Alexandre Dulaunoy 40cafafaa9
add: [client] hmac implementation submodule 2018-12-05 09:40:37 +01:00
Gerard Wagener 04f84ccb96 removed print message 2018-12-05 09:25:14 +01:00
Gerard Wagener fe8ca6a9a7 update header before the write 2018-12-04 16:40:59 +01:00
Gerard Wagener 0978d5cc0f added hmac from the header and payload in the header 2018-12-04 16:22:09 +01:00
Gerard Wagener 8e00adae42 initialize hmac computations 2018-12-04 14:24:52 +01:00
Gerard Wagener 82c67a4b31 Store generated uuid only if it can be safed successfully 2018-12-03 15:35:08 +01:00
Gerard Wagener cded3187f1 put the parsed uuid in the header 2018-12-03 15:10:37 +01:00
Gerard Wagener 047b6c790f Fixed length of UUID in header 2018-12-03 14:30:03 +01:00
Gerard Wagener 34d74a7a23 put new uuid in configuartion array instead in the header 2018-12-03 14:26:37 +01:00
Gerard Wagener 6843c61ba0 Generate an UUID if no one was set 2018-12-03 12:00:34 +01:00
Gerard Wagener 423261613b set type of data that is delivered 2018-12-03 09:39:44 +01:00
Gerard Wagener 35c0c25b7a removed obsolete FIXME 2018-12-03 09:24:35 +01:00
Gerard Wagener 90a5690c7b Generate timestamp with gettimeofday function 2018-12-03 09:09:52 +01:00
Gerard Wagener a98f17b700 removed todo item 2018-11-28 18:24:42 +01:00
Gerard Wagener 4582aed7ed test version 2018-11-28 18:20:16 +01:00
Gerard Wagener fc39325368 avoid to encode for each packet version, type and uuid in each packet 2018-11-28 17:52:54 +01:00
Gerard Wagener 8e5b5cf46b rough and incomplete working processing program 2018-11-27 23:14:23 +01:00
Gerard Wagener 5d0c8e4f7f minimalistic checks for config 2018-11-27 22:37:44 +01:00
Gerard Wagener b7c5b8d5bb changed config parameters 2018-11-27 22:05:42 +01:00
Gerard Wagener 41e61f5c7b increase the stack pointerx 2018-11-27 17:35:31 +01:00
Gerard Wagener 233ac80f0f use macro for inserting errors 2018-11-27 17:27:52 +01:00
Gerard Wagener e1ba7834c4 added macro for inserting errors in the error stack 2018-11-27 17:24:45 +01:00
Gerard Wagener 741018cc2b start to insert errors at index 0 2018-11-27 16:41:26 +01:00
Gerard Wagener 94ef3750b5 fixed error handling 2018-11-27 16:39:48 +01:00
Gerard Wagener fb9a514ff8 Record failed read parameters 2018-11-27 16:31:19 +01:00
Gerard Wagener 6c827c86d5 added error stack 2018-11-27 15:30:58 +01:00
Gerard Wagener 9bfc03f5c6 Read config parameters 2018-11-27 15:19:40 +01:00
Gerard Wagener 5e1cbfff30 Datastructure for holding configuration values 2018-11-27 15:00:43 +01:00
Gerard Wagener baf500470e fixed initialization error 2018-11-27 14:48:09 +01:00
Gerard Wagener 1687f5310a iterated over config parameters 2018-11-27 14:42:35 +01:00
Gerard Wagener 1fdcbdf1a8 started to write a test d4 client 2018-11-27 12:47:18 +01:00