Commit Graph

34 Commits

Author SHA1 Message Date
Dmitry Zuikov 613f26e418 moved to RPC2
New RPC works over a Unix socket and assumes synchronous
requests with callService.

A new protocol, 'ServiceProto,' is introduced.

New RPC operates over a Unix socket.

Note the setting: (rpc2 unix "/tmp/hbs2-rpc2.socket").

The default rpc2 socket is located at /tmp/hbs2-rpc2.socket.

In the future, TCP RPC may be introduced, requiring only:

1. Authorization/Authentication

This might be accomplished through another wrapped protocol, for instance.

"Dialog"-associated elements are commented out for now,
as they will likely require their own Unix socket.
2023-10-04 10:54:39 +03:00
Dmitry Zuikov 7572b3ffe9 symmetric, deterministic merkle-tree encryption
suckless-conf bumped
2023-09-26 18:19:33 +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 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
Dmitry Zuikov 8c9ea8408c wip, refchans+encryption, dev 2023-07-27 08:35:35 +03:00
Dmitry Zuikov 97f1bd2f8a added refchan-notify skeleton 2023-07-27 07:14:07 +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 e1725987c9 wip, log merging, debug-14 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 819cec6402 wip, refchanget proto skeleton, no log merge 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 3c10aad828 wip, hunting typeable-e-error 2023-07-25 12:27:43 +03:00
Dmitry Zuikov e4c759a49d feed-up-with-block-bytestring 2023-07-25 12:27:43 +03:00
Dmitry Zuikov e71ff57773 wip, tryin to fetch refchan head 2023-07-25 12:27:43 +03:00
Dmitry Zuikov 66d147e3f5 wip, refchans 2023-07-25 12:27:13 +03:00
Sergey Ivanov 9bad166566 Move types 2023-07-18 21:43:35 +04:00
Sergey Ivanov d1318c6fd1 Added encryptionHandshakeProto to PeerMain "all protos" thread 2023-07-04 23:46:52 +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 1c5a90984f fixing tcp pex 2023-06-30 13:43:53 +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 1c8f6b978b merged refactor-crypto-remove-l4-protocol-dependency 2023-04-06 09:22:45 +03:00
Dmitry Zuikov f27cfbfabb rtt 2023-04-01 10:36:56 +03:00
Dmitry Zuikov 6d7e587a24 hbs-git alpha 2023-03-23 20:48:44 +03:00
Dmitry Zuikov 179a0b49a3 smarter-block-download 2023-02-26 13:39:35 +03:00
Dmitry Zuikov 819ac05397 new download 2023-02-22 12:39:04 +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 9377bf14f0 testing 4MmfVifgBS 2023-02-13 11:37:58 +03:00
Dmitry Zuikov ec5a0fb10b fixed F7whmzJkZX busyloop-postponed
limited min. period of the same messages.

i.e. message flood is still possible for protocols
with nonces and so on.
2023-02-13 08:21:13 +03:00
Dmitry Zuikov 51c1c77151 block-download-fixed 2023-02-12 14:13:47 +03:00
Dmitry Zuikov 830bcf30a6 basic-keyring-maagement 2023-02-09 09:27:52 +03:00
Dmitry Zuikov 50775b4f91 frequency limit for requests
and some code moving
2023-02-07 08:13:46 +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 41da76483c peer announces and basic logging 2023-02-03 09:44:01 +03:00
Dmitry Zuikov 4851f4b0dd peer credentials 2023-02-02 15:05:06 +03:00