Commit Graph

9683 Commits

Author SHA1 Message Date
darkfi
1db8dae9ee dchat: add accepted_transports to example configs 2025-02-06 11:04:29 +01:00
darkfi
6419c759eb dchat: add scripts to autorun a localnet deployment. useful for debugging net code. 2025-02-06 10:43:43 +01:00
parazyd
67456c5b27 chore: Fix CI 2025-02-05 18:38:05 +01:00
darkfi
234bf1260a net: when tcp://[::]:0 is set as the inbound, TcpListener will store the port which can be fetched using listener.endpoint() method. However currently this address is not auto-advertised. 2025-02-05 18:06:53 +01:00
skoupidi
53b2993f38 script/research/rlnd: daemon for RLN state management added 2025-02-05 17:43:38 +02:00
parazyd
868306637b darkirc: Add RLN proof verification on incoming events 2025-02-05 14:50:11 +01:00
parazyd
2492203bf5 darkirc: WIP RLNV2-DIFF 2025-02-05 13:24:44 +01:00
darkfi
345f9cbb2b app: settings manager wip 2025-02-05 10:14:21 +01:00
easye
bfda6fcd9e darkirc: fix connection password 2025-02-04 22:53:30 +00:00
parazyd
681a32cefc research/rlnv2: Implement RLN2-DIFF 2025-02-04 21:34:06 +01:00
darkfi
fc9be43188 doc: remove tracker page 2025-02-04 17:01:37 +01:00
darkfi
420e2219de doc: add page arch/net/tracker.md on P2P trackers 2025-02-04 16:03:58 +01:00
goodkidmaadcity
1318772638 doc/philosophy/meetings: Literature for Feb 05 has been added 2025-02-04 14:49:18 +00:00
darkfi
e7a7e0afe7 net: allow customizing the magic_bytes used in the p2p network. adds stronger distintinguishability between different net instances. 2025-02-04 15:14:55 +01:00
darkfi
66c87f09f6 typo in last commit: wrong section 2025-02-04 10:51:29 +01:00
darkfi
07fb504c10 doc: add section on hosting custom darkirc network instances 2025-02-04 10:50:22 +01:00
dasman
6a4bf914ac darkirc: rewrite telegram mirror bot to exit gracfully 2025-02-01 04:19:59 +03:00
dasman
54b891c905 darkirc: monitor network disconnection and resync accordingly 2025-02-01 04:16:30 +03:00
darkfi
bc74f89d56 doc: p2p resource manager/metric channel scoring explanation 0.1-alpha 2025-01-30 21:52:23 +01:00
darkfi
d9a819b72f app: use logo key on macos instead of ctrl/alt for the shortcuts 2025-01-28 17:17:49 +01:00
darkfi
2639ba2a4d app: hard mute sled and rustls! 2025-01-28 17:00:48 +01:00
darkfi
b746a24d4d app: cargo update 2025-01-28 16:26:38 +01:00
darkfi
2dd111c830 event_graph: make comment about calculating rate_limit times more clearer. illustrate using a table. 2025-01-28 14:27:08 +01:00
darkfi
7d9d0f809e event_graph: fix bug: add NanoTimestamp::from_secs() 2025-01-28 14:23:52 +01:00
darkfi
e345c651b3 event_graph: add comment explaining rate limit sleep calculation 2025-01-28 14:14:25 +01:00
darkfi
0e951fafed event_graph: rate limit message broadcast 2025-01-28 14:05:14 +01:00
darkfi
0410ccd1ed event_graph: ban channels who send > 200 msgs / 1 min 2025-01-28 12:58:07 +01:00
darkfi
ab8685d2dc net/channel: remove redundant Url from ban() function signature 2025-01-28 12:34:10 +01:00
darkfi
d7abfcf764 doc: fix misleading comment in net/session/outbound_session.rs 2025-01-28 12:11:30 +01:00
darkfi
9b3c4b33e8 net: fix race condition provoked by channel.ban()
If a node we are connected to as part of a refinery session sends
arbitrary messages, it could trigger a "ban", which would result in a
panic if the refinery was moving the peer to whitelist at the same time
we are sending the node to the blacklist.

Following this commit, we ignore messages without dispatchers if they
come from a refine session.
2025-01-28 12:06:14 +01:00
darkfi
14e60de065 doc: page on DDoS mitigation for the chat 2025-01-28 10:37:57 +01:00
darkfi
0133a33caf app: disable numbers in menu cos they look ugly 2025-01-25 13:23:07 +01:00
darkfi
6d9326034a app: reorder defaults emoji list. put good ones at the start 2025-01-25 09:39:44 +01:00
parazyd
604f443fd1 chore: Update license header year 2025-01-24 10:36:02 +01:00
darkfi
eeef6731e3 app: temp workaround for key repeat issue due to miniquad API issue: https://github.com/not-fl3/miniquad/issues/517 2025-01-24 09:29:56 +01:00
darkfi
30e52c5021 net: cleanup log levels for blacklist/ ban behavior 2025-01-23 12:03:24 +01:00
darkfi
154962509c dnet/README: rename main.py to dnet 2025-01-23 11:49:50 +01:00
dasman
461f5cda5a darkirc: fix a bug caused lines starting with whitespace not be parsed/sent 2025-01-22 20:42:06 +03:00
darkfi
60a65fe0cc app: show numbers next to channels on desktop (but not mobile) 2025-01-22 14:12:33 +01:00
darkfi
bb624ee677 app: fix broken build targets 2025-01-21 18:43:16 +01:00
darkfi
1b75a2a37f app: don't return from dag_sync loop 2025-01-21 17:28:00 +01:00
darkfi
d8516a474d app: darkirc sync_dag loop, show error when channel_sub is closed. 2025-01-21 16:22:53 +01:00
darkfi
32ab929da8 app: downgrade freetype-rs 0.38 -> 0.37, due to servo devs (harfbuzz-sys) being complete stupid retards. I have a custom patch waiting months and the losers don't even care about their stupid crate's broken freetype support. 2025-01-21 16:18:36 +01:00
darkfi
2f973f315a app: improve Makefile for platform builds 2025-01-21 16:14:44 +01:00
darkfi
b547cd6fad app: hide the Windows cmd.exe when launching the app (only enable for release builds). 2025-01-21 16:14:44 +01:00
parazyd
b5d7c52191 chore: Update crate dependencies 2025-01-21 14:21:32 +01:00
darkfi
695c0a497a app: move release/README.win32.md to release/win/README.md 2025-01-21 13:38:56 +01:00
darkfi
7477ab510f app/macos: add missing Info.plist 2025-01-21 12:46:02 +01:00
darkfi
f3e2fce9c1 app: enable-filelog feature flag 2025-01-21 12:40:00 +01:00
darkfi
73c21830cb app: add emoji.txt sample showing customizing the default emoji set 2025-01-21 11:47:43 +01:00