mirror of
https://github.com/ratspeak/rsReticulum
synced 2026-11-27 13:52:16 +00:00
management: refuse Resources on remote management Links, as Python does
This commit is contained in:
1 parent
08d246ed22
commit
cd091604d2
2 files changed
+3
No files matched your search
@@ -28,6 +28,7 @@
|
||||
- An interface counts a path request in its stats only once its tag passes the duplicate check, as in Python Reticulum 1.5.
|
||||
- A realtime Link packet dropped at a full transmit queue counts toward the interface's dropped bytes.
|
||||
- `rnpath -R` filters the remote path and rate tables as Python Reticulum compares them: a destination hash of another length matches nothing, and the hop limit compares as a number instead of wrapping above 255.
|
||||
- Remote management Links refuse Resources other than requests and responses, as Python Reticulum's do.
|
||||
|
||||
## 1.4.0 - 2026-10-12
|
||||
|
||||
|
||||
@@ -59,6 +59,8 @@ pub(crate) async fn start_remote_management_with_stats(
|
||||
app_name,
|
||||
Some(signing_key),
|
||||
);
|
||||
// Python's management Links take the Link default (Link.py:239).
|
||||
lm.set_resource_strategy(rns_link::link::ResourceStrategy::AcceptNone);
|
||||
|
||||
let status_hash: [u8; 16] = truncated_hash(STATUS_PATH.as_bytes());
|
||||
let paths_hash: [u8; 16] = truncated_hash(PATH_PATH.as_bytes());
|
||||
|
||||
Reference in new issue
Block a user