Commit Graph

65 Commits (b66444540cf9440c589cc0ba61b14563ce4a74ef)

Author SHA1 Message Date
Terrtia b66444540c
chg: [server] refractor stream worker + add uuid blacklist + handle pcap (type 2) 2019-01-11 13:54:01 +01:00
Terrtia 6472ba8a21
chg: [server] add blacklist + add ip-uuid stats 2019-01-08 16:29:44 +01:00
Terrtia 57981dd452
chg: [server] support binary, add time rotation 2019-01-08 10:09:57 +01:00
Terrtia 9fd028f17f
chg: [server] use redis stream + save file on disk + file rotation (max_size) 2019-01-07 16:11:04 +01:00
Terrtia 81044af438
chg: [server] add install script 2019-01-03 16:31:54 +01:00
Terrtia 64924db80a
fix: [server] buffer 2019-01-03 15:46:42 +01:00
Terrtia afa8edd08e
chg: [server] timeout buffers 2019-01-03 15:23:06 +01:00
Terrtia 1ab9deb777
chg: [server] test with multiple clients + cleaning
todo: - timeout buffers
      - handle multiple d4 on the same client (with tcp port number)
2019-01-03 14:53:53 +01:00
Terrtia e19e301038
fix: [server] fix buffer with incomplete header 2019-01-03 12:01:06 +01:00
Terrtia fef4513ecc Merge branch 'master' of https://github.com/D4-project/d4-core 2019-01-03 11:38:20 +01:00
Terrtia 3937486e7c fix: [client] fix sha256 hmac 2019-01-03 11:37:43 +01:00
Terrtia 236c8e99c8
fix: [server] fix buffer
todo: add timeout, fix hashmac check
2019-01-03 09:41:15 +01:00
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