Commit graph

122 commits

Author SHA1 Message Date
Mark Qvist
7c71eb1df4 Cleanup 2025-11-24 22:02:30 +01:00
Mark Qvist
39e398be65 Fixed missing PN config unpack on incoming sync auto-peering 2025-11-13 17:48:10 +01:00
Mark Qvist
dca6cc2adc Ensure LXMF and RNS exit handlers are called on SIGINT and SIGTERM, since for some ungodly reason atexit events are not always called on some combinations of Python version and platforms, even though they have been registered. 2025-11-07 23:10:30 +01:00
Mark Qvist
fa2d78c351 Fixed message stamps getting overwritten if propagation stamp was also present 2025-11-03 22:19:20 +01:00
Mark Qvist
0b067914ea Adjusted default max peering cost 2025-11-02 20:41:03 +01:00
Mark Qvist
bc3f4ecff5 Handle client propagation transfer limits separately from PN peers 2025-11-02 18:35:15 +01:00
Mark Qvist
99830b6e8b Only index messages with stamp value set 2025-11-02 12:02:21 +01:00
Mark Qvist
1b5dc419b5 Merge messagestore check 2025-11-02 11:38:15 +01:00
Mark Qvist
9c5fa4a066 Take stamp value into account when cleaning message store 2025-11-02 11:35:12 +01:00
bus
e1905b85d7
Fix stored messages always getting deleted if config path has underscores 2025-11-02 14:12:33 +06:00
Mark Qvist
f383450b37 Implemented duplicate signalling on PN message download 2025-11-02 02:29:32 +01:00
Mark Qvist
747ddbddd5 Implemented duplicate signalling on PN message download 2025-11-02 02:27:57 +01:00
Mark Qvist
d0f3385f75 Added acceptance rate to lxmd stats output 2025-11-01 18:48:31 +01:00
Mark Qvist
401328fa16 Allow configuring max remote peering cost 2025-11-01 18:27:11 +01:00
Mark Qvist
4350a239e4 Cleanup 2025-11-01 17:35:36 +01:00
Mark Qvist
9dc998f149 Added peering break option to lxmd command line interface 2025-11-01 17:32:45 +01:00
Mark Qvist
fa9fd2ae01 Added remote status and control by allow-list for lxmd 2025-11-01 13:10:28 +01:00
Mark Qvist
b35b9213a6 Implemented throttling for naughty propagation node peers 2025-11-01 01:35:15 +01:00
Mark Qvist
df6271a026 Handle client message download for stamped propagation messages 2025-11-01 00:10:30 +01:00
Mark Qvist
0a5edb2895 Implemented propagation node name configuration and inclusion in announce metadata 2025-10-31 22:24:55 +01:00
Mark Qvist
704b37dc16 Implemented client-side propagation stamp generation and inclusion in outbound propagation messages 2025-10-31 21:45:40 +01:00
Mark Qvist
606a723e31 Implemented getting static peer configuration from network if unknown at launch 2025-10-31 17:11:17 +01:00
Mark Qvist
a44c1f368a Validate peering key on incoming sync offer 2025-10-31 17:02:34 +01:00
Mark Qvist
434267784d Implemented propagation node peering key generation and peering cost signalling 2025-10-31 13:53:59 +01:00
Mark Qvist
9c646aead7 Stamp validation on incoming propagation node transfers 2025-10-31 02:19:24 +01:00
Mark Qvist
ebc8bb33c2 Cleanup 2025-10-31 00:28:06 +01:00
Mark Qvist
60bf99d151 Cleanup 2025-10-31 00:25:46 +01:00
Mark Qvist
c84aea745a Improved auto-peering on inbound PN sync. Added support for persisting and loading transient message stamp status. Implemented getting transient message stamp value. 2025-10-30 21:19:38 +01:00
Mark Qvist
81a6d503a3 Automatic legacy PN de-peering 2025-10-30 16:55:44 +01:00
Mark Qvist
d8b25e092f Added metadate structure to propagation node announces 2025-10-30 16:43:26 +01:00
Mark Qvist
bd6fe9f9d1 Handle propagation node stamp cost peering signalling 2025-10-30 15:39:00 +01:00
Mark Qvist
9beeafb0c8 Propagation node stamp cost handling 2025-10-30 14:08:39 +01:00
Mark Qvist
e17263d25a Cleanup 2025-10-30 12:41:18 +01:00
Mark Qvist
98347d3ad9 Increased PN peer sync frequency 2025-10-29 23:25:15 +01:00
Mark Qvist
61b75526d2 Added separate propagation node per-message and sync transfer limits. Added persistent PN sync strategy. Added concurrent PN peer sync. 2025-10-29 23:24:45 +01:00
Mark Qvist
416ccf294f Retry path request on unexpectedly closed link 2025-07-13 13:24:46 +02:00
Mark Qvist
499fe4cc53 Use no_data_for instead of inactive_for for cleaning links 2025-05-15 20:27:19 +02:00
Mark Qvist
005d71707c Cleanup 2025-04-17 13:31:00 +02:00
Mark Qvist
1ef4665073 Cleanup 2025-02-18 20:05:19 +01:00
Mark Qvist
d5540b927f Added allow_duplicate option to message ingest API 2025-01-31 13:38:56 +01:00
Mark Qvist
c0a8f3be49 Cleanup 2025-01-30 15:04:21 +01:00
Mark Qvist
9eca747757 Updated peer rotation timing to align with distribution queue mapping 2025-01-30 10:46:31 +01:00
Mark Qvist
b7b6753640 Fixed potential division by zero. Fixes #25. 2025-01-30 00:37:50 +01:00
Mark Qvist
40d0b9a5de Added acceptance rate threshold to peer rotation 2025-01-29 21:21:51 +01:00
Mark Qvist
40fc75f559 Refined peer rotation algorithm 2025-01-29 14:24:09 +01:00
Mark Qvist
f1d060a92e Added peer rotation 2025-01-29 01:26:36 +01:00
Mark Qvist
962d9c90d1 Added wanted inbound peers to PN announce data 2025-01-24 13:50:56 +01:00
Mark Qvist
aa57b16cf5 Fixed #23 2025-01-24 00:09:36 +01:00
Mark Qvist
fb4bf9b0b9 Cleanup 2025-01-23 17:36:30 +01:00
Mark Qvist
fe59b265c5 Fixed fstrings not working on Python < 3.12 2025-01-23 16:54:12 +01:00