Commit Graph

499 Commits

Author SHA1 Message Date
voidlizard 2fff2a7203 not good 2024-12-04 13:42:58 +03:00
voidlizard 77dbdd0000 sort of work? 2024-12-04 13:42:58 +03:00
voidlizard 16d687ed51 work but poor 2024-12-04 13:42:58 +03:00
voidlizard b7906e6f55 does not work 2024-12-04 13:42:58 +03:00
voidlizard 81040cbc97 fucked 2024-12-04 13:42:58 +03:00
voidlizard f64b71c4be FUCKED 2024-12-04 13:42:58 +03:00
voidlizard 7de1415d7f wip 2024-12-04 13:42:58 +03:00
voidlizard e53273d3b6 wip 2024-12-04 13:42:58 +03:00
voidlizard 0828a6e01e wip 2024-12-04 13:42:58 +03:00
voidlizard 8ef0c2a6a4 wip 2024-12-04 13:42:58 +03:00
voidlizard ec9e7230cc wip 2024-12-04 13:42:58 +03:00
voidlizard c762b48bb8 wip 2024-12-04 13:42:58 +03:00
voidlizard b501dddb73 tune 2024-12-04 13:42:58 +03:00
voidlizard 415f345642 fix 2024-12-04 13:42:58 +03:00
voidlizard 3421a14c80 fix 2024-12-04 13:42:58 +03:00
voidlizard 44d6f72526 okay 2024-12-04 13:42:58 +03:00
voidlizard bcc973eb1a better 2024-12-04 13:42:58 +03:00
voidlizard 21b97f4661 better? 2024-12-04 13:42:58 +03:00
voidlizard 6762c7497d somehow works 2024-12-04 13:42:58 +03:00
voidlizard a3a954bed0 fixed wtf 2024-12-04 13:42:58 +03:00
voidlizard 85fe082868 fixed wtf 2024-12-04 13:42:58 +03:00
voidlizard 686c11a7ad wip 2024-12-04 13:42:58 +03:00
voidlizard 3c0e6af814 wip 2024-12-04 13:42:58 +03:00
voidlizard 058b3a9da1 todo 2024-12-04 13:42:58 +03:00
voidlizard 91333e6f13 wip 2024-12-04 13:42:58 +03:00
voidlizard 097f8bea21 wip 2024-12-04 13:42:58 +03:00
voidlizard 54a805ae6e wip 2024-12-04 13:42:58 +03:00
voidlizard 9c10655a0c fucked 2024-12-04 13:42:58 +03:00
voidlizard b6c97a254a fucked 2024-12-04 13:42:58 +03:00
voidlizard 3e737feb0c wip 2024-12-04 13:42:58 +03:00
voidlizard 0326f08392 wip, block download rework 2024-12-04 13:42:58 +03:00
voidlizard d07db60f74 cache block sizes 2024-12-04 13:42:58 +03:00
voidlizard 87d84b0531 wip 2024-12-04 13:42:58 +03:00
voidlizard 8e37ae86ce request-block-size 2024-12-04 13:42:58 +03:00
voidlizard 5239e39fbe wip, fix download 2024-12-04 13:42:58 +03:00
voidlizard 5b03bdd05b tune 2024-12-04 13:42:58 +03:00
voidlizard e1c071f86e tune 2024-12-04 13:42:58 +03:00
voidlizard 2c6d260895 wip, tcp 2024-12-04 13:42:58 +03:00
voidlizard dd61c4a09c wip 2024-12-04 13:42:58 +03:00
voidlizard 35b91e5a79 forced Cache cleanup 2024-12-04 13:42:58 +03:00
voidlizard 49c67a49dc wip 2024-12-04 13:42:58 +03:00
voidlizard 19ddaa9c18 HttpWorker exceptions 2024-12-04 13:42:58 +03:00
voidlizard 43eb9abb7e merged 2024-12-04 13:42:58 +03:00
voidlizard 11c1124994 reallyBusy counter 2024-12-04 13:42:58 +03:00
voidlizard b11f233a60 BlockDownload probe 2024-12-04 13:42:58 +03:00
voidlizard 4f1f1a0e7e BasicBrains probe 2024-12-04 13:42:58 +03:00
voidlizard 1b9a1f30df callRpcWaitRetry 2024-12-04 13:42:58 +03:00
voidlizard 795702000d monotonic time probe 2024-12-04 13:42:58 +03:00
voidlizard 03b638a571 bypass messaging probes 2024-12-04 13:42:58 +03:00
voidlizard c972edcc4a ghc metrics probe 2024-12-04 13:42:58 +03:00
Snail 5e997acc59 peermain probes 2024-12-04 13:42:58 +03:00
voidlizard 74782d00d2 gc params tuned for hbs2-peer 2024-12-04 13:42:58 +03:00
voidlizard 49a1791011 wip 2024-12-04 13:42:58 +03:00
voidlizard 251b9ce5c3 TCP probe 2024-12-04 13:42:58 +03:00
voidlizard 39e790ef32 storage w. AnyProbe 2024-12-04 13:42:58 +03:00
voidlizard 2c8ef85980 fixed-messaging-and-basic-probes 2024-12-04 13:42:58 +03:00
voidlizard 82b3106ca6 fixed-messaging-and-basic-probes 2024-12-04 13:42:58 +03:00
Snail 9d57701cf2 fsck 2024-11-20 11:00:51 +03:00
Yura Shelyag ed7a402fc3 Fixed die and SIGINT exit 2024-11-01 16:02:08 +03:00
voidlizard 954b2266ab download tuned for low MTU values, needs investigation 2024-10-18 10:27:28 +03:00
Snail e29b15f90c Test walkMerkle, walkMerkleV2, streamMerkle 2024-10-05 06:07:16 +03:00
Dmitry Zuikov 86fcde758b hbs2-git-dashboard updated; status - wip 2024-10-03 06:15:17 +03:00
Dmitry Zuikov 835c01bfaa ghc-9.6.6 + updated db-pipe 2024-09-25 11:28:17 +03:00
Dmitry Zuikov c240b8ad9e fixme-new 2024-09-25 11:19:41 +03:00
Dmitry Zuikov ff9ef2ddec merged refchan notifications and fixme-new (wip) 2024-09-15 10:20:14 +03:00
Dmitry Zuikov 58fecd442b indexed keys, hbs2-keyman and hbs2-sync updated 2024-08-27 09:16:10 +03:00
Dmitry Zuikov 975bb8cb12 wip 2024-08-08 11:32:01 +03:00
Dmitry Zuikov 2761af5d60 Revert "not-good"
This reverts commit 7e0305891b.
2024-08-08 05:26:47 +03:00
Dmitry Zuikov 7e0305891b not-good 2024-08-08 05:25:59 +03:00
Dmitry Zuikov 9bab121743 merged hbs2-cli ans hbs2-sync 2024-08-07 15:20:19 +03:00
Dmitry Zuikov 9aafab745d hbs2-peer reflog cat 2024-04-09 13:09:13 +03:00
Dmitry Zuikov 26a023d60d hbs2-peer refchan cat && hbs2-peer reflog cat 2024-04-09 12:04:13 +03:00
Dmitry Zuikov d2082de4bf patch 0.24.1.1 2024-04-02 06:39:50 +03:00
Dmitry Zuikov da6bb6bcb4 0.24.1 2024-03-20 08:17:22 +03:00
Dmitry Zuikov da42a1dc69 rolled back git-http-backend 2024-03-07 07:07:48 +03:00
Dmitry Zuikov e9c7c9dbae merged new download and some intermediate changes 2024-03-06 16:10:24 +03:00
Dmitry Zuikov ba25f0c564 refactored 2024-02-21 06:34:13 +03:00
Sergey Ivanov 69f612e5fc Add brains-db config parameter 2024-02-21 06:01:56 +03:00
Dmitry Zuikov cc7f2dd948 download fixes 2024-02-21 05:55:13 +03:00
Dmitry Zuikov 677d6f1fd8 tune 2024-02-14 13:17:00 +03:00
Dmitry Zuikov 83b4d8bff8 boosted download 2024-02-14 12:02:03 +03:00
Dmitry Zuikov 4e136aa08b tuning performance 2024-02-07 17:44:47 +03:00
Dmitry Zuikov 3550d8d624 threaded download 2024-02-07 13:08:01 +03:00
Dmitry Zuikov e6ae5fb593 version command
commit 9df07ae34a6d1c7f53cee3abe2304ff81eb0a26c
Author: Sergey Ivanov <ivanovs-4@yandex.ru>
Date:   Tue Oct 24 22:25:34 2023 +0400

    `version` command for hbs2, hbs2-peer, git-hbs2
2024-01-28 07:52:08 +03:00
Dmitry Zuikov 62eb5ca49f fixed UuoMCa4gxd 2024-01-28 06:49:18 +03:00
Dmitry Zuikov dc33ed75c5 default config/default tcp/default key 2024-01-24 12:40:25 +03:00
Dmitry Zuikov ed6a484f50 block fetch progress notification 2024-01-24 07:17:21 +03:00
Dmitry Zuikov 00a316b786 basic hbs2-share 2024-01-07 10:01:12 +03:00
Dmitry Zuikov 835a0322e0 refchan refactoring 2023-12-28 06:21:57 +03:00
Dmitry Zuikov 5820b808c5 refactor: removing Proxy in HasDeferred 2023-12-27 06:48:18 +03:00
Dmitry Zuikov f0d469766e small-encrypted-block wip 2023-12-26 07:34:23 +03:00
Dmitry Zuikov d65216cc76 fixed oopsie 2023-12-20 06:04:51 +03:00
Dmitry Zuikov 24272ad4d9 refchannotify log 2023-12-20 05:54:13 +03:00
Dmitry Zuikov 18bb821dfd timestamp-to-refchan-accept 2023-12-16 07:28:51 +03:00
Dmitry Zuikov 6ed1605841 refactor refchans, download dependencies 2023-11-15 04:51:17 +03:00
Dmitry Zuikov 63caa3b5b7 refactor refchans, async management 2023-11-14 07:52:47 +03:00
Dmitry Zuikov fc52fabbf9 maybe no-respawn on STM exception fixed 2023-11-14 05:38:34 +03:00
Dmitry Zuikov e107c318c3 emitNotify / RefChanNotify on RPC 2023-11-12 12:57:24 +03:00
Dmitry Zuikov acd36a513c polling-to-separate-module 2023-11-12 07:43:47 +03:00
Dmitry Zuikov 002ecf7b3e merged notify-proto-debug fixes 2023-11-06 08:56:10 +03:00
Dmitry Zuikov 35905b94bd Notify proto + wiping resource-t in Messaging/Unix 2023-11-03 16:49:29 +03:00
Dmitry Zuikov 408cfb2c51 simK affects download 2023-10-26 18:23:03 +03:00
Dmitry Zuikov 93a3be5a1f process-only-subscribed-reflogs 2023-10-26 10:30:29 +03:00
Dmitry Zuikov 58d0e9d256 experimental SOCKS5 support
- no authorization supported (bad for network-tcp-simple)
2023-10-26 09:10:41 +03:00
Dmitry Zuikov 0a55f1a732 optional messagings (TCP, UDP) + watchdog 2023-10-26 06:18:27 +03:00
Dmitry Zuikov 27fd382cc3 fixed respawn 2023-10-26 03:53:44 +03:00
Dmitry Zuikov e7460213d7 todo 2023-10-25 11:06:17 +03:00
Dmitry Zuikov 606a6b067a less debug messages 2023-10-25 10:48:35 +03:00
Dmitry Zuikov c44a6b997b new protocol encryption + minor tuning 2023-10-25 09:01:23 +03:00
Dmitry Zuikov 9edbe5f7c9 wip 2023-10-25 09:01:23 +03:00
Dmitry Zuikov 983f24ef78 fixed exit on http-port not set 2023-10-21 17:40:28 +03:00
Dmitry Zuikov eb6d755297 try less agressive download 2023-10-21 15:55:05 +03:00
Dmitry Zuikov 0f69757813 multiple PEX fixes 2023-10-21 08:58:31 +03:00
Dmitry Zuikov 66ce6a659d Revert "faster-download-start"
This reverts commit 351ac97d44.
2023-10-20 21:28:18 +03:00
Dmitry Zuikov 1623b5b1a4 fixed pexinfo fix 2023-10-20 19:48:24 +03:00
Dmitry Zuikov 4d756d6eaf fixed? tcp pex 2023-10-20 19:45:40 +03:00
Dmitry Zuikov 351ac97d44 faster-download-start 2023-10-20 15:53:37 +03:00
Dmitry Zuikov 4aeb91a4b2 removed http download 2023-10-20 13:14:50 +03:00
Dmitry Zuikov a035b2bf34 fixed download del behaviour 2023-10-20 12:36:26 +03:00
Dmitry Zuikov 98e589fe6f fixed-block-download-control 2023-10-20 11:16:11 +03:00
Dmitry Zuikov 44ada95e3f debug: sumultaneous-downloads-coeff 2023-10-20 06:59:41 +03:00
Dmitry Zuikov bac3f99588 fix exception in main loop thread 2023-10-18 19:47:58 +03:00
Dmitry Zuikov e061a2793a fix announces (maybe) 2023-10-18 15:53:29 +03:00
Dmitry Zuikov a1bbc634f4 QBLF regression fixed
Multi-client unix socket failure
2023-10-18 15:14:32 +03:00
Dmitry Zuikov 29fdd23602 fixed reflog sync bug 2023-10-18 10:16:11 +03:00
Dmitry Zuikov 246518cd34 ghc 9.4.6 2023-10-16 06:13:27 +03:00
Dmitry Zuikov d3c63ab8e4 accept reflogupdate only for subcribed refs or from friendly peers 2023-10-15 09:26:49 +03:00
Dmitry Zuikov 3bccfa2e98 minor refactoring 2023-10-15 09:01:45 +03:00
Dmitry Zuikov b1bb280751 minor fix 2023-10-15 05:25:28 +03:00
Dmitry Zuikov 64400a425e dynamic polling management 2023-10-13 10:06:17 +03:00
Dmitry Zuikov 24644ab1df bugfix 2023-10-12 18:39:45 +03:00
Dmitry Zuikov 155765038e removed obsolete file 2023-10-09 03:29:01 +03:00
Dmitry Zuikov ff9e82b8b6 fixme + minor fix 2023-10-07 16:29:08 +03:00
Dmitry Zuikov 8842843ffb hbs2-git-to-new-rpc 2023-10-07 14:29:40 +03:00
Dmitry Zuikov 850354c529 done expose-all-new-rpc 2023-10-06 05:48:17 +03:00
Dmitry Zuikov 5cd40a17dd StorageClient
... for RPC
2023-10-05 13:53:53 +03:00
Dmitry Zuikov 15d6a1d06f modular-rpc-api
1. Making the API modular
2. Running all via single socket, including storage
2023-10-05 11:54:36 +03:00
Dmitry Zuikov 2173f43bac fixed StorageAPI 2023-10-04 19:08:12 +03:00
Dmitry Zuikov 28163d0123 storage rpc 2023-10-04 16:52:25 +03:00
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 a3a5cf8f7f symm-group-encryption, schema changed
Accordingly to vulnerabilities review made by rblaze
2023-09-27 09:12:15 +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 a5628a19ed bundle-basic-implementation 2023-09-21 08:39:59 +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 80278834b8 minor-fix: extracted SignedBox and code sweeped 2023-09-15 10:59:54 +03:00
Dmitry Zuikov 93137d8f4c minor-fix: extracted SignedBox and code sweeped 2023-09-15 09:43:05 +03:00