Commit graph

375 commits

Author SHA1 Message Date
Mark Qvist
2b1b9589f1
Added medium bitrate based timeout calculation helpers and RPC functions and added dynamic timeout calculation to rngit, by Zenith 2026-08-21 22:16:10 +02:00
Mark Qvist
7b8923b61f
Added protocol violations 2026-08-21 20:35:52 +02:00
Mark Qvist
b3ef214e72
Added total announce/pr frequency stats 2026-08-21 18:25:59 +02:00
Mark Qvist
cab513fa31
Logging 2026-08-21 18:08:35 +02:00
Mark Qvist
60eb0509f2
Signal blackholed status in validate_announce 2026-08-21 17:40:12 +02:00
Mark Qvist
42f6d64b9c
Implemented per-interface protocol violation tracking 2026-08-21 16:48:05 +02:00
Mark Qvist
880db0a7b7
Added active links stat to rnstatus 2026-08-21 13:23:30 +02:00
Mark Qvist
5f2f4438d0
Added detailed announce and path request traffic stats 2026-08-21 13:06:48 +02:00
Mark Qvist
614e7bd834
Improved path request handling, batch same-destination PRs when existing in-flight path request exists 2026-08-21 00:54:08 +02:00
Mark Qvist
386ef1f370
Transport jobs optimizations 2026-08-20 22:08:06 +02:00
Mark Qvist
4ab0755d0a
Changed PR ingress accounting point 2026-08-20 17:16:01 +02:00
Mark Qvist
d478e380c9
Use sets for discovery pr tags 2026-08-20 17:08:22 +02:00
Mark Qvist
9ae3db169e
Fixed medium_timeout init 2026-08-20 08:38:09 +02:00
Mark Qvist
4b914fb9a4
Include extra timeout for discovery PRs when slow interfaces are online, thanks to Zenith 2026-08-19 21:07:50 +02:00
Mark Qvist
bde5611a0d
Fixed missing interface.bitrate validation in extra link proof timeout calculation, thanks to Zenith 2026-08-19 20:15:17 +02:00
Mark Qvist
49073fcca5
Fixed invalid interface basis for extra link proof timeout calculation, thanks to Zenith 2026-08-19 20:13:32 +02:00
Mark Qvist
6738db5437
Cleaned up deprecated logic block indent in relation to inbound processing refactor 2026-08-19 20:08:34 +02:00
Mark Qvist
db7daa4d94
Method naming 2026-08-19 14:22:36 +02:00
JRG
c95bb551ab Transport: handle exceptions in inbound() 2026-08-19 14:19:49 +02:00
JRG
6cd5be18ec Transport: slice discovery_pr_tags to the end
Keep the last element.
2026-08-19 13:33:40 +02:00
JRG
338173802d Transport: fix destination_hash check in pending_discovery_prs 2026-08-19 13:07:55 +02:00
Mark Qvist
40a862acbd
Break loop on existing entry in announce queue 2026-08-19 13:02:28 +02:00
JRG
d825e39379 Transport: fix updating announce_queue 2026-08-19 12:59:41 +02:00
JRG
731a63b01b Transport: update interface_hashes_updated_at timestamp 2026-08-19 12:54:49 +02:00
Mark Qvist
503bd6c87b
Improved PR ingress limiter 2026-08-18 13:17:34 +02:00
Mark Qvist
1a70bd3cd1
Added queue drop stats 2026-08-18 12:34:18 +02:00
Mark Qvist
636012bbe5
Cleanup 2026-08-18 12:17:14 +02:00
Mark Qvist
1809461a07
Early filtering note 2026-08-18 11:59:51 +02:00
Mark Qvist
01a78bee2a
Fixed typo 2026-08-18 11:55:58 +02:00
Mark Qvist
efb8c8500d
Made queue lengths configurable 2026-08-18 11:45:20 +02:00
Mark Qvist
f366dd9cf2
Cleanup 2026-08-18 10:34:41 +02:00
Mark Qvist
fc0f84f23e
Added prioritized inbound traffic processing 2026-08-17 20:51:46 +02:00
Mark Qvist
e46496032c
Contention comments 2026-08-17 01:37:22 +02:00
JRG
2d7f858a54 Transport: fix deadlock on receipts_lock when callback sends message
Deadlock on receipts_lock:

    inbound (Transport.py) <- holds receipts_lock
    validate_proof_packet (Packet.py)
    validate_link_proof (Packet.py)
    delivery_callback <- application callback, sends packet
    send (Packet.py)
    outbound (Transport.py)
    packet_sent (Transport.py) <- blocks on receipts_lock
2026-08-17 01:13:26 +02:00
JRG
e31c570d2b Transport: fix rebind of expires variable 2026-08-17 00:51:33 +02:00
JRG
90ac62620d Transport: fix pending_links items removal while being iterated 2026-08-17 00:38:28 +02:00
JRG
55755c6b3c Transport: fix check for r_stat_snr 2026-08-17 00:30:38 +02:00
Mark Qvist
4760103aa6
Ensure interface is online at time of recursive PR emission 2026-07-25 19:22:58 +02:00
Mark Qvist
b2188ce9a7
Adjusted gravity update loglevel
Some checks failed
Build Reticulum / test (push) Has been cancelled
Build Reticulum / package (push) Has been cancelled
Build Reticulum / release (push) Has been cancelled
2026-07-24 21:23:42 +02:00
Mark Qvist
4631d78bea
Adjusted re-balance loglevel 2026-07-24 20:55:44 +02:00
Mark Qvist
bce5f859da
Logging consistency 2026-07-23 19:05:45 +02:00
Mark Qvist
93526c17f5
Added rebalanced time to links 2026-07-23 17:52:45 +02:00
Mark Qvist
6d4523c27e
Added rebalanced time to links 2026-07-23 17:14:48 +02:00
Mark Qvist
c4297d318f
Cleanup 2026-07-23 14:43:51 +02:00
Mark Qvist
90e1dbb912
Link request path re-balancing 2026-07-23 14:37:13 +02:00
Mark Qvist
5577e781fb
Basic gravity processing for announces 2026-07-22 23:19:20 +02:00
Mark Qvist
1af173e8a5
Added announces_to_internal interface option 2026-07-22 19:01:34 +02:00
Mark Qvist
b051e76d00
Allow boundary -> boundary and boundary -> gateway path requests 2026-07-22 17:53:04 +02:00
Mark Qvist
6527423526
Run known destinations cleaning at background priority to avoid lock contention on CPU-constrained systems 2026-07-20 14:55:09 +02:00
Mark Qvist
cbba3502b7
Optimized transport data persistence to avoid CPU spikes on low-powered systems 2026-07-20 13:55:53 +02:00