Commit Graph

203 Commits (580b2bd7d8acf073baaf241382bcbaa9ce5e62dd)

Author SHA1 Message Date
Terrtia c3492bc5a4
chg: [server] add buffer
todo: cleaning + do more tests (one and multiple clients)
2019-01-02 17:00:43 +01:00
Terrtia 2001e86c2a
chg: [Server] unpack header 2018-12-21 15:27:51 +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
Terrtia 48fc60edeb
chg: [server] use redis stream 2018-12-13 16:03:05 +01:00
Terrtia 7a2d04cfe1
chg: [server] verify input data, save data to disk by uuid, cleaning
todo: redis server
2018-12-13 10:55:27 +01:00
Terrtia 9ee0cf0306
chg: [server] unpack header, verify header, get hmac
solve endian issues
test headers type and value
test if uuid is uuid v4
test if hmac match
2018-12-12 15:27:00 +01:00
Terrtia 5431f085d0
chg: [server] unpack header 2018-12-05 17:05:46 +01:00
Terrtia f25192cb64
Merge branch 'master' of https://github.com/D4-project/d4-core 2018-12-05 16:24:43 +01:00
Terrtia dd68f7472d
chg: [server] twisted, get socat data 2018-12-05 16:24:10 +01:00
Gerard Wagener ceac7f7f05 Merge branch 'master' of github.com:D4-project/d4-core 2018-12-05 10:40:00 +01:00
Gerard Wagener d22893ae00 updated help 2018-12-05 10:39:51 +01:00
Alexandre Dulaunoy 2d3fc3e5ca
add: [doc] first version of the README 2018-12-05 10:37:20 +01:00
Alexandre Dulaunoy faff2bd8b8
Merge branch 'master' of github.com:D4-project/d4-core 2018-12-05 09:53:38 +01:00
Alexandre Dulaunoy fcd76685fe
chg: [dept] hmac submodule added 2018-12-05 09:53:16 +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 1c7b8174ba Merge branch 'master' of github.com:D4-project/d4-core 2018-12-03 09:14:14 +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
Terrtia 4ddca99f93
chg: [server] unpack d4 header 2018-11-28 11:00:15 +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