Commit Graph

74 Commits

Author SHA1 Message Date
Vladimir Krutkin e411e29246 Add file logger 2023-10-12 12:54:56 +03:00
Dmitry Zuikov 8842843ffb hbs2-git-to-new-rpc 2023-10-07 14:29:40 +03:00
Dmitry Zuikov 3c545b01fa service-protocol-proof-of-concept 2023-10-02 17:03:48 +03:00
Dmitry Zuikov 7572b3ffe9 symmetric, deterministic merkle-tree encryption
suckless-conf bumped
2023-09-26 18:19:33 +03:00
Dmitry Zuikov 09e070e38f merged 2023-09-21 08:40:05 +03:00
Dmitry Zuikov a980569ce4 qblf merged
- Requires testing and bugfixing
- Needs high CPU usage investigation (polling/packet flood?)
- Bundles are downloading repeatedly, that is weird
2023-09-21 08:40:05 +03:00
Dmitry Zuikov 51597c58cb Revert "merged"
This reverts commit eeb2735c4dc10409ba996b37cf83ba2fb178d392.
2023-09-21 08:10:16 +03:00
Sergey Ivanov 08c95bc9a9 Typelevel dialog server spec 2023-09-15 20:18:15 +04:00
Sergey Ivanov b22dc35283 Move encryption keys to ProxyMessaging
Change key for encryption key map from PeerData to EncryptionKeyIDKey

Test for quasidistributiveness of the encodeFrames

Move Dialog to HBS2.Net

Fixes with hlint:   hbs2-peer/app/PeerMain/DialogCliCommand.hs
2023-09-15 18:43:21 +04:00
Dmitry Zuikov 93137d8f4c minor-fix: extracted SignedBox and code sweeped 2023-09-15 09:43:05 +03:00
Dmitry Zuikov ed279f1d34 HPoqtobDAT implement-create-bundle 2023-09-14 11:04:56 +03:00
Sergey Ivanov b7079c2915 Revert "PR CG2C18TK8v "account asyncs, respawn node on errors""
This reverts commit 8904704edc.
2023-08-16 16:50:16 +04:00
Dmitry Zuikov 8904704edc PR CG2C18TK8v "account asyncs, respawn node on errors" 2023-08-11 06:10:09 +03:00
Dmitry Zuikov 7274c6ceeb current refchan-notify and multiple fixes 2023-07-31 13:56:33 +03:00
Dmitry Zuikov 71e325f8bc PR 3nmxU5Ro8b dialog-proto 2023-07-28 15:36:50 +03:00
Sergey Ivanov 75f03b9c95 Merge iv/integrate-encryption-test-dev2 into refchan-merge-2 (using imerge) 2023-07-25 16:11:47 +04:00
Dmitry Zuikov 5b052e8a56 wip, minor refactoring 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 476ecddb6d wip 2023-07-25 12:27:43 +03:00
Dmitry Zuikov bcd24078b3 wip, refchans 2023-07-25 12:27:13 +03:00
Dmitry Zuikov 9c8c58766b PR CGPnKdSirc hbs2-suckless-conf-update 2023-07-25 10:49:44 +03:00
Sergey Ivanov 9bad166566 Move types 2023-07-18 21:43:35 +04:00
Sergey Ivanov 563377c855 emit PeerExpiredEventKey (PeerExpiredEvent @e p) 2023-07-18 19:37:02 +04:00
Sergey Ivanov 75232557f3 Extracted EncryptionHandshake from PeerHandshake 2023-07-04 22:47:26 +04:00
Dmitry Zuikov 01982d37c1 Squashed commit of the following:
commit cc3d5a357eee5c0e01f530808f8122f83b5103a2
Author: Dmitry Zuikov <dzuikov@gmail.com>
Date:   Tue Jul 4 15:29:09 2023 +0300

    fixme

commit abae50a7895fdfc70e3a9204288a1af1a00f1c77
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Mon Jul 3 20:05:08 2023 +0400

    encryption debug -> traces

commit e8cab85da295ad81896726bf41f118bc2eb6e79e
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Mon Jul 3 00:21:34 2023 +0400

    bus encryption fixed

commit cbb3e796b0d919d6d425a5d8c669cfce2ed02182
Merge: a740db8 55cdf97
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Sat Jul 1 23:17:52 2023 +0400

    Merge branch 'master' into iv/bus-crypt

commit a740db82351dcbc40604413df9af210212e1cbc1
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Jun 21 16:08:05 2023 +0400

    drop one traceShowId uasge

commit 82de8d8c675cf21e732dc8db9b64139c7c2407ad
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Jun 21 13:33:34 2023 +0400

    Edit README.md fix typo

commit ec4dc7733215f19009da9334b82fd568e16eb143
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Jun 21 13:32:54 2023 +0400

    Rename deserialiseTrace -> deserialiseCustom

commit 863394449798d8c534c58dc2d69add3e5a807e56
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Thu Jun 15 05:37:52 2023 +0400

    PR bus-crypt

commit 78dd65959906944935f99371ee973fc6c2c659b9
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Thu Jun 15 05:33:13 2023 +0400

    Drop unused lines

commit 9736077a96061c62e928b657e7c7558f9172636c
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Thu Jun 15 05:24:33 2023 +0400

    Encryption works

commit c69aede965242281b525c088e1f27708a6741651
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Jun 14 20:52:48 2023 +0400

    wip

commit 88fc2aac5b4fc1d452e74bf99213a57dad09b1c3
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Jun 14 15:52:32 2023 +0400

    Test roundtrip combineNonceBS/extractNonce

commit 2d2f6945f4c917347c8f30e195764e2b0837fb25
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Tue Jun 13 14:08:56 2023 +0400

    wip

commit 31466fd036d74d8c4b769c7ffb0fa9dfda03eb26
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Tue Jun 13 10:03:15 2023 +0400

    trace locked requests

commit 85eb68a6747fb307c07fb0fcf681118250b37fab
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Mon Jun 12 20:02:32 2023 +0400

    added Show instances

commit 74383bd7db9dd6838b4d026a3997c5c5b4799fa4
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Mon Jun 12 09:56:14 2023 +0400

    DEBUG

commit d62b30dbcdae6584f78cc2b6d8a801ff46cfdfa8
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Sun Jun 11 18:28:49 2023 +0400

    wip

commit 78b3f24ae1c4b632756f3a28873f4d03bbaa1330
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Sun Jun 11 08:45:58 2023 +0400

    trace encrypted receiveing

commit 93e2b9f7a7c2b579e5e46b6329a6509b8e5119de
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Sat Jun 10 16:57:59 2023 +0400

    wip

commit 4686274d0fb401b722fca10ec0c2dbee00a4c68a
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Fri Jun 9 23:38:56 2023 +0400

    Use PeerDataExt

commit 0c24c2702b47db262fa086efb6cff108b8ce28e8
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Thu Jun 8 03:04:39 2023 +0400

    Encrypted Handshake

commit 789536f20bc4f95320d2a4779a4a5b06d52b98f2
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Jun 7 00:56:34 2023 +0400

    Fixed fillPeerMeta timeout algorithm

commit d52ac19777ba1c47f1123c5452309da4391ca21f
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Fri Jun 2 01:50:17 2023 +0400

    wip

commit ea6833f812f9f137880229547622a3cf1ae55222
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Tue May 30 22:14:25 2023 +0400

    wip

commit 4ffdfc60ccc5c053da2d81ea16847f25f14c6220
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Sat May 27 21:42:01 2023 +0400

    Symmetrical encryption in ProxyMessaging

commit 7cd1214e9e00901fcd3d9e2966348dd800ab4119
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Fri May 26 15:03:43 2023 +0400

    pex monitor
2023-07-04 15:29:54 +03:00
Dmitry Zuikov 453b7fd822 introducing resourcet 2023-05-26 07:05:51 +03:00
Sergey Ivanov 829c7378fd wip 2023-05-26 07:05:50 +03:00
Dmitry Zuikov 4424466c84 tcp 2023-04-13 19:02:25 +03:00
Dmitry Zuikov 731f9c8209 merged CzgtqSWJQN
Squashed commit of the following:

commit f392c62836977b635f440437cf53859c891aa8c4
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Thu Apr 13 18:18:24 2023 +0400

    Fixes by review

commit 9a805fcb587071f88c68d85c3b85c81daa6ddeea
Author: Dmitry Zuikov <dzuikov@gmail.com>
Date:   Thu Apr 13 07:09:47 2023 +0300

    review

commit 8062035ceb1eb99f570df9c275aa875d5bf2a089
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Apr 12 17:51:21 2023 +0400

    Tune updatePeerHttpAddrs

commit cd5423d10be5359869b5399fec3470bc1902934d
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Apr 12 02:03:23 2023 +0400

    Update PR implement-http-block-download-worker

commit c1b32d9b7d4ad46f1924bf340374d64c29cefb67
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Wed Apr 12 01:58:45 2023 +0400

    Fixed blockHttpDownloadLoop

commit 8eaa3e3d84e2611f3781db471c59d8591ace9b68
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Mon Apr 3 01:42:01 2023 +0400

    http block download worker

commit 32f7ae80e15c1ff71f1a33359b34c0728b19b4ef
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Mon Mar 27 19:21:21 2023 +0400

    modified:   .fixme/log
2023-04-13 18:36:29 +03:00
Dmitry Zuikov 6d7e587a24 hbs-git alpha 2023-03-23 20:48:44 +03:00
Dmitry Zuikov 124ad73b1f fixed FHMMGPm8Kh hbs2-create-acb 2023-02-17 13:35:21 +03:00
Sergey Ivanov eb43510f23
Draft merkle wrapper for encryption (#1)
* Draft merkle wrapper for encryption

* wip encryption

* encryption to check

* Fixes by comments

* Drop keyring, pubkey opts from store command

* Fix wrong deserialise call

* Edit README.md. Add example of store encrypted file

* minor issues found

---------

Co-authored-by: Dmitry Zuikov <dzuikov@gmail.com>
2023-02-16 08:49:40 +03:00
Dmitry Zuikov 6fe20ab1a8 ghc 9.2.4 / latest nixpkgs 2023-02-09 11:44:43 +03:00
Dmitry Zuikov 1f36cc82a0 lesser memory footprint 2023-02-06 12:19:18 +03:00
Dmitry Zuikov 61a44eb544 basic PEX
has glitches; it's needed to determine when same
peer shows up under different address (like in case of
NAT)
2023-02-06 11:24:07 +03:00
Dmitry Zuikov a3fcd26ea1 logger fixed 2023-02-03 12:27:55 +03:00
Dmitry Zuikov 41da76483c peer announces and basic logging 2023-02-03 09:44:01 +03:00
Dmitry Zuikov 58622b6326 wip 2023-02-02 17:08:39 +03:00
Dmitry Zuikov 4851f4b0dd peer credentials 2023-02-02 15:05:06 +03:00
Dmitry Zuikov c50b91ff47 better, but wtf 2023-01-26 17:38:57 +03:00
Dmitry Zuikov b29d17aa4a wip 2023-01-25 13:07:22 +03:00
Dmitry Zuikov fe27c56c35 super slow 2023-01-23 07:16:09 +03:00
Dmitry Zuikov 762fc12de9 detecting data && deferred emit 2023-01-22 21:03:21 +03:00
Dmitry Zuikov 76e977327f proto block announces. it works! 2023-01-22 18:25:04 +03:00
Dmitry Zuikov f9748ed1fc wip 2023-01-22 09:20:47 +03:00
Dmitry Zuikov e0efd2ac1d wip 2023-01-22 06:06:26 +03:00
Dmitry Zuikov 881b60d6ea wip 2023-01-21 16:27:39 +03:00
Dmitry Zuikov 76579675b6 wip 2023-01-21 14:41:26 +03:00
Dmitry Zuikov f1d9513ad5 wip 2023-01-20 06:48:00 +03:00
Dmitry Zuikov e752075eed generarting some sort of cookie 2023-01-19 10:27:22 +03:00
Dmitry Zuikov d338c5c37a wip 2023-01-18 17:42:17 +03:00