Commit Graph

32 Commits

Author SHA1 Message Date
parazyd
d7c994b679 chore: Update crate dependencies. 2023-07-13 19:22:32 +02:00
parazyd
33ed6921e7 darkirc: Port to crypto_box 0.9 and use chacha20 instead of salsa. 2023-07-10 15:46:22 +02:00
parazyd
cf307669aa chore: Update crate dependencies. 2023-07-10 15:19:41 +02:00
parazyd
98ef7c834e chore: Update project dependencies. 2023-07-08 20:17:47 +02:00
parazyd
3b9c016ef6 bin: Update daemon methods for dnet. 2023-07-08 16:40:53 +02:00
parazyd
e9debbe12e Replace bundled-sqlcipher with bundled-sqlcipher-vendored-openssl 2023-07-04 21:59:39 +02:00
aggstam
997f6015cf repo: updated all bins to use new signals handling 2023-07-04 16:21:25 +03:00
Dastan-glitch
389ac27501 bin/darkirc: [taubot] fix plus sign issue in skipping tag 2023-07-04 02:16:56 +03:00
Dastan-glitch
ef27e9932b bin/darkirc: add bots code to script/ 2023-06-30 14:42:36 +03:00
parazyd
55ee919906 net: Perform full p2p code cleanup and improve certain pieces.
Notable changes:

* Rewritten transport protocols into Dialer and Listener (Nym is TODO)

  This simplifies using the transports a lot, as can be seen for example
  in src/rpc, and generally around the p2p library. It also defines features
  for each transport (all of which are enabled by default). We drop the
  socks client for Tor and Nym and use first-class support with the Arti Tor
  library, and nym-sphinx/nym-websockets (to be used with nym-client).

* Outbound session healing

  The outbound session will now poll and try to fill all the requested
  slots more efficiently, and if needed, will activate peer discovery to
  find more peers if we can't connect to any known ones. Also if we're
  unable to connect to any, we shall drop them from our set.

  Additionally, transport mixing is enabled by default, so when we're
  allowing transport mixing, and we use Tor, we will also be able to connect
  to other transports that Tor can connect to (e.g. tcp://).

* Unix socket transport dropped

  We haven't been using this, and it seems we're not going down this path,
  so the code has been obsoleted and removed.

* TLS session verification

  We fully verify server and client TLS certificates upon connection so
  we're able to perform TLS1.3 with forward secrecy.

* lilith pruning

  lilith now periodically prunes known peers from its sets if it's unable
  to connect to them.
2023-06-29 13:13:15 +02:00
Dastan-glitch
64f3978280 bin/darkirc: minor test script rename contact 2023-06-27 04:24:02 +03:00
aggstam
dd45787d8d chore: clippy 2023-06-23 16:19:25 +03:00
Dastan-glitch
e106c49390 bin/darkirc: log actual messages as debug instead of info 2023-06-21 16:39:40 +03:00
parazyd
9a9d78df1d darkirc: Make padding more efficient and add test unit. 2023-06-20 08:08:42 +02:00
Dastan-glitch
af306673f3 bin/darkirc: pad/unpad nickname and target on encrypt/decrypt 2023-06-20 02:33:45 +03:00
Dastan-glitch
f60d259039 bin/darkirc: add contacts in tmux test script to test DMs 2023-06-14 22:59:53 +03:00
Dastan-glitch
6df3b5d339 bin/darkirc: remove unused commented code 2023-06-14 22:58:56 +03:00
Dastan-glitch
6c3c761fdd bin/darkirc: support no-history capability 2023-06-14 04:46:56 +03:00
Dastan-glitch
86d4080061 bin/darkirc: resetting root every 24hrs at 00:00AM UTC 2023-06-13 04:03:13 +03:00
parazyd
48ce9fd7c5 chore: Update crate dependencies 2023-06-12 14:31:20 +02:00
parazyd
bfc99c79ea chore: Update crate dependencies. 2023-06-06 14:06:36 +02:00
Dastan-glitch
bfa6fd9bd9 bin/darkirc: test script use seed and private channel 2023-06-05 02:04:37 +03:00
Dastan-glitch
1be4c6f4c3 bin/darkirc: test script with tcp 2023-06-04 03:55:49 +03:00
Dastan-glitch
40b8a71d7b bin/darkirc: added support for private channels and DMs 2023-05-26 19:45:25 +03:00
Dastan-glitch
de9ad09e5b event_graph: remove read_confirms and unread_events 2023-05-23 23:49:37 +03:00
Dastan-glitch
658e3ad90b bin/darkirc: add tmux script for testing 2023-05-23 23:47:45 +03:00
Dastan-glitch
dafd51a846 bin/darkirc: handle signals failures gracefully 2023-05-11 16:58:11 +03:00
parazyd
3cb6051fa2 chore: Update dependency versions 2023-05-11 10:08:51 +02:00
Dastan-glitch
c3766408cd bin/darkirc: implement signal handling using signal-hook 2023-05-11 04:04:11 +03:00
parazyd
9b31940dfe chore: Update project dependencies 2023-05-09 10:42:35 +02:00
Dastan-glitch
4e9071a08a src/event_graph: use Timestamp struct as events timestamp 2023-05-06 00:59:28 +03:00
Dastan-glitch
32c0671eca rename ircd2 to darkirc 2023-04-25 00:22:44 +03:00